6.1 Resource compression package

The resource package contains code,libraries,firmware and Thonny software. You must have this resource to continue learning.

Resource-compression-package

6.2 get starter with Thonny


6.2.1 Open the Thonny Package

Please refer to the folder shown below:

image1


6.2.2 Thonny Interface

Open the Thonny

image2

Main interface functions:

image3

image4


6.2.3 Select ESP32 Development Environment

Click Python.exe,then select Configure interpreter

image5

Select MicroPython(ESP32) from the Interpreter interface

image6


6.2.4 Installing Firmware

Download link:\ https://micropython.org/download/esp32/

Choose to download version V1.17

image7

Of course, we also provide the downloaded firmware, as shown below.

image-20250408113209943

Burn MicroPython firmware

Connect the smart home to your computer with a USB.

Click Install or update firmware

image8

Select Port

image9

Click Browser to find the downloaded version V1.17 firmware

image10

image11

Click install

image12

Choose Port or WebREPL as the driver of ESP32 mainboard CH340(COM)

image13

image14

The ESP32 environment has been installed.

Thonny interface

image15