Now ESP32 on-board led should blink after every 1 second.Similarly, you can write a python program for any application which works with ESP32. Thonny IDE does not have an option to flash MicroPython firmware on ESP32 but the uPyCraft IDE has inbuilt functionality to flash firmware, programming and uploading the code in ESP32 board. The uPyCraft is a very simple IDE for MicroPython development on the ESP32 and the ESP8266. There are two methods to install the firmware.
Visit this link: After downloading the firmware, we need to upload it to ESP32 Board using uPyCraft IDE. So in this tutorial, we will get to know about MicroPython, how it is different from Python and MicroPython is very similar to Python and it is specially designed for the embedded systems and microcontrollers. You are done! Some popular IDEs are The firmware for the ESP32 board is a .bin file which can be downloaded from If you are unable to find the COM port for your board then either USB cable is faulty or you need to install the drivers for ESP32/ESP8266.After a few seconds firmware will be flashed on ESP32.Now we are done with the firmware uploading part and will start writing the program for Blinking LED using After having the firmware flashed and board connected to the PC follow the below steps to The above Python code is simple and easy to understand. After 10 seconds, the ESP32 wakes up and runs the code from the start, similarly to when you press the EN/RST button. Then, it goes to sleep. Demonstration. If you want to program the ESP32 or ESP8266 board using the MicroPython firmware, we recommend using uPyCraft IDE. Please note that only Wi-Fi related functions are supported in this version. So first connect the ESP32 Board to your PC using Micro-USB Data Cable.Choose the following options shown in the image below. The complete pin description and detail about this board can be found here: MicroPython is an implementation of Python so we first need to After downloading Python 3.8.x, you need to install it.Once the installation is completed, you can close the installation window.There are only a few IDEs that support MicroPython like Now we need to flash firmware to ESP32 Board so that it can support MicroPython. This post is divided in two parts, read Part 1 … uPyCraft IDE runs in any major operating system. There are different firmwares that you can use to program the ESP32 and ESP8266 boards. BLE-related functions will be supported in future release.
Select the So the firmware will start uploading. You can follow Copy the following MicroPython Code and upload it to the ESP32 Board by clicking on the After code is successfully downloaded, you can see the ESP32 Board You can follow these projects using MicroPython with ESP32 Board:“How to Electronics” is an electronics engineering community built and run by passionate electronics engineers. There are standard libraries to access and interact with the low-level hardware like GPIOs, Wi-Fi, etc.MicroPython is a good starting point if you want to program ESP boards because it is very simple and easy to understand. We previously worked with  As MicroPython is an implementation of Python so we first need to install Python 3.7 or above.There are only a few IDEs that support MicroPython. It has inbuilt functionality to flash firmware, programming and uploading the code in ESP boards.

You will find a paper clip icon on uPyCraft IDE, it is for connecting the IDE to board. Editor for PC and MAC. With uPyCraft IDE installed in your computer, you can easily flash your ESP32 or ESP8266 boards with the MicroPython firmware. We share news, articles, projects, and circuits in various electronics domains such as Embedded, Power, Analog, Digital, Audio, IoT, etc thus helping our readers with their projects and work.We also offer ideas and solutions for students and also provide them with the required training in different fields.

But uPyCraft IDE is specially designed for ESP32/ESP8266 supported boards. In this tutorial, we will be using MicroPython on ESP32 Board using uPyCraft IDE.