006 - ESP32 MicroPython: How to control servo motor with MicroPython
CIRCUIT DIAGRAM Links to SG90 datasheet: http://www.ee.ic.ac.uk/pcheung/teaching/DE1_EE/stores/sg90_datasheet.pdf Links to Arduino map() function: https://www.arduino.cc/reference/en/language/functions/math/map/ Some formulas use freq = 1 / Period freq = 1 / 20ms freq = 50Hz 1ms / 20ms = 0.05 = 5% duty cycle 2ms / 20ms = 0.10 = 10% duty cycle To get the equivalent pwm duty values: 0.05 […]
Read more 006 - ESP32 MicroPython: How to control servo motor with MicroPython