Close

RC Hobby Servos

A project log for Various Micropython Libraries and Drivers

A collection of miscellaneous libraries and drivers for Micropython

dehipudeʃhipu 05/16/2016 at 10:550 Comments

This is a very simple library for controlling up to eight hobby servos with Micropython on ESP8266. The limitation of eight servos comes from the fact that only 8 pins have PWM supported currently, and this is just a simple wrapper over the PWM functionality. The code is at https://bitbucket.org/thesheep/micropython-servo/src/tip/servo.py

Note that to use pins gpio0, gpio2 and gpio15, you need to add appropriate pull-up or pull-down resistors, to make the board boot into the correct mode despite having the servos connected.

Discussions