Giter VIP home page Giter VIP logo

Comments (6)

positron96 avatar positron96 commented on July 2, 2024 1

Ok, if I understand your question correctly, you might need to get a grip on how to use VS Code and PlatformIO within VS Code. The topic is extensive and I definitely can't cover it in the format of github discussion. I believe you'll find YouTube videos about this pretty informative and educating. Quick googling suggests this series of videos: https://www.youtube.com/watch?v=5edPOlQQKmo
Of course, there are hundreds of similar-themed videos that you might find more informative.

I can try to do a quick introduction: F1 opens command menu, select "PlatformIO: Upload" there. If that doesn't work, then you'll still need to study the PlatformIO workflow.

from esp32_cnc_pendant.

positron96 avatar positron96 commented on July 2, 2024 1

Yes, you are right, I totally forgot that. Will update that sometime soon.

from esp32_cnc_pendant.

positron96 avatar positron96 commented on July 2, 2024

Hi.

The device should be connected to Arduino with Grbl firmware via UART. My firmware just sends gcodes to grbl and reads back responses via UART. On ESP32 side you need to use Serial2 pins, i.e. GPIO16(RX) and GPIO17(TX).

Uploading firmware is done as usual, via USB cable. Your ESP32 board most probably has a USB port and a USB-UART converter. PlatformIO uploads the compiled binary automatically. If you have more than one esp8266/esp32 connected to your PC, consult PlatformIO docs on how to select where to upload the firmware.

As for UI files, there are none. A simplest HTML file is generated on-the-fly in the code (InetServer.cpp).

from esp32_cnc_pendant.

MohammadSalehi72 avatar MohammadSalehi72 commented on July 2, 2024

Hi,
I understand about the connection. But still I don't figure out how should I upload the code into esp32.
May I ask you please explain for me the process of uploading codes onto eap32?
Best regards

from esp32_cnc_pendant.

MohammadSalehi72 avatar MohammadSalehi72 commented on July 2, 2024

Hi, Thank you for the link. It was very useful. Regarding to your comment about the connection, you said "On ESP32 side you need to use Serial2 pins, i.e. GPIO16(RX) and GPIO17(TX)." but I don't see this connection in your schematic uploaded.

from esp32_cnc_pendant.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.