Tutorial: PWM and Servos with Micropython for ESP32 and ESP8266
HTML-код
- Опубликовано: 11 сен 2024
- Tutorial: PWM and Servos with Micropython for ESP32 and ESP8266
Puls-Width-Modulation to control the brightness of an LED and to control a servo. Connecting a servo to the ESP32 and ESP8266 board and to an external power supply. Programming in Micropython.
PWM, Pin, freq(), duty()
Sketching with Hardware, LMU München
sketching-with...
Content
01:47 - PWM to control the brightness of an LED (ESP8266)
09:50 - Connecting a servo (ESP8266)
17:18 - Programming a servo with PWM
23:13 - Power stabilization and external power source
28:23 - Connecting a servo (ESP32 wifi kit)
37:46 - Background on PWM
41:40 - Datasheet of the servo SG90 explained
You are very good demonstrator
The servo is drawing so much current the circuit protection in the ESP is trying to protect itself from overload. That is why its rebooting. The capacitor should not be added as there is no problem.
Exclelent vídeo, how program in micropython to connect Bluetooth