Untitled

Installing MicroPython via Thonny

You can use Thonny to install MicroPython onto the ESP32-C3 chip. This is the recommended way for beginners as it provides a graphical user interface (GUI) to make the process easier.

Install Thonny

For development, we are going to use Thonny IDE which has some built-in features for working with MicroPython and programming microcontrollers. If you have worked with Arduino IDE, it is a very similar tool.

Thonny, Python IDE for beginners

Download and install Thonny on your computer.

Flash Firmware

Navigate to the top menu and bring down the Tools menu, and select Options to bring up the Thonny options menu.

Screenshot 2024-03-10 at 5.24.50 AM.png

Select Interpreter

MicroPython (ESP32)

<aside> 🔥 If you have your ESP32 device plugged in, Thonny may automatically detect which kind of interpreter.

</aside>

Port

USB JTAG/serial debug unit @ /dev/cu.usbmodem1101

<aside> ⚠️ Your usb port (usbmodem1101) may have a different number. Look for the port that appears to be USB, you may have two depending on what is plugged into your computer. You can unplug, note the device that remains, and then plug the USB device back in to see which one appears. The one that appears is the USB port that the ESP32-C3 is connected to.

</aside>

Install MicroPython

Click on the link in the bottom right corner that says Install or update MicroPython (esptool) to bring up the install menu.

Screenshot 2024-03-10 at 5.31.51 AM.png