Use python to build an ESP32 development environment

1. Development board preparation

Need an ESP32 development board
Insert image description here

2. Software environment used and related file preparation

1. This python development tool is called Thonny. The official download address is: https://thonny.org/

2. Enter the MicroPython official website and download the firmware required for the development board in the form of a bin file: The relevant firmware download address on the official website: https://micropython.org/download/

3. Start burning the MicroPython interpreter into the development board

1. Open Thonny, as shown below:
Insert image description here
2. Click Run to select the interpreter, as shown below:
Insert image description here
3. Click the arrow position in the above picture to install MicroPython to the development board:
Insert image description here
Click to install as shown in the picture!
Insert image description here
Done is displayed in the lower right corner to indicate successful download~

Note:
If an installation error occurs, press the boot button on the development board during installation.

4. The development environment is established

When the installation is complete, Thonny will display the boot.py file on the MicroPython device as shown below:

Insert image description here

Guess you like

Origin blog.csdn.net/qq_37952052/article/details/126331967