You may not understand what I do… but it is still awesome.

Controlling Servos Using the Pi

Googled this topic quite thoroughly, and the bottom line is: it looks like it can’t be done effectively without additional hardware. Code already exists to set up a serial connection over usb on the Pi to an arduino. Then use the arduino to control the servos and the pi to send the commands and run the code. This solution seems a little flawed because between the lot of us, we only seem to have one arduino, and that is mine. Using the time module and time.sleep() is apparently just too unpredictable to produce the super accurate PWM to control servos. Possible but working fairly poorly(the youtube video demonstrates the very best this guy could get out of it).

Citations:  (Sorry but it is in spanish)  (using just the pi)

Any more thoughts?




4 thoughts on “Controlling Servos Using the Pi

Leave a Reply