If you are not familiar with how to to do this, you should check our guide on the subject: How To Find Your Device’s Port. Now would be a good time to find out which port your device is on. Plug your ESP32 NodeMCU into your computer using a microUSB cable and launch Thonny. Download the latest MicroPython firmware for 'GENERIC' ESP32 microcontrollers with ESP-IDF v3.x. Take note of its location in your filesystem after downloading. The latest firmware should be at the very top. If the process fails, try running the same command again with elevated permissions (sudo).įrom the Micropython website, download the latest stable binary (.bin) file for ESP32 microcontrollers under the “Firmware with ESP-IDF v3.x” marked as “GENERIC”. Open a terminal and enter pip install thonny. On Windows and MacOSX I recommend installing Thonny through the download links on its website.ĭownload the Thonny installer from and run it. If you are using Linux, I recommend installing Thonny using pip. Thonny is a Python IDE that keeps the process of programming a microcontroller simple, which is great for beginners.Īfter Thonny is installed, we will go over getting Thonny setup for an ESP32 NodeMCU, flashing the MicroPython firmware, and writing a simple program for the ESP32 device using MicroPython. Through my journey, I found that the most streamlined and simple way of programming a microcontroller with MicroPython is through a program called Thonny. In the process of learning MicroPython for myself, I have used many different setups for programming microcontrollers. Computer running Windows, Linux, or MacOSX
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |