Showing posts with label Tower Pro. Show all posts
Showing posts with label Tower Pro. Show all posts

Tuesday, 5 July 2016

Raspberry Pi: servo motor control via PWM

Following a question raised in response to a recent post on PWM, I hooked up a small servo motor to a Pi.


The motor in question is a 3 wire jobbie that needs a short pulse to control its position.


This short post explains how to drive the servo motor using wiringPi with a touch of Gambas.