ESP32 Series of all right , Study 、 It is best to use the with expansion board in the test phase , You can also weld the core part by yourself .
What is used here is ESP32-C3 Series of modules , Anxinko's NodeMCU-ESP-C3-12F-Kit, You can find it by yourself
Software can choose Thonny platform , It's easy to use . You can also use common putty Tools ,MU Development tools, etc
https://thonny.org/
Here ESP32-S Screenshot of example
Firmware can be downloaded from MicroPython Official website Download , It is divided into ESP-IDF v3.x and ESP-IDF v4.x Two kinds of
Burning can use thonny perhaps esptools Burn
Burn successfully :
Tools — Set up — Interpreter Configure the device and serial port number
Select a good serial port , After burning , You can see that MicroPython The startup output information of
With NODEMCU-32( The core is ESP32-S) For example
LED Lamp mounted on IO2 On the mouth
from machine Load... In the library Pin function
Set up 2 Pin is output
Use .on .off Output high level and low level
Use time Library sleep Function to sleep
from machine import Pin
Led=Pin(2,Pin.OUT)
import time
while True:
time.sleep(0.5)
led.on()
time.sleep(0.5)
led.off()
Use Ctrl+c You can exit the running state
https://www.cnblogs.com/JunRoinxxX/p/13477188.html
https://www.liaoxuefeng.com/wiki/1016959663602400
1、 Hypergraph Python The Internet of things
2、 Super simple Python/MicroPython Internet of things applications