Controlling a Maestro in C using a Raspberry Pi

Posted by Brandon on 22 August 2013

Shahmir Javaid tweeted about a tutorial he wrote that describes how he used a Raspberry Pi to control a Maestro servo controller in C. His tutorial documents the steps he took, including setting up the Raspberry Pi for UART, wiring, and programming. The setup is simple, and the code is provided.

Featured link: http://shahmirj.com/blog/raspberry-pi-and-pololu-servo-controller-using-c

2 comments

This link doesn't work. Is there another resource that you suggest to control a mini-maestro from a raspberry pi?
Hello, Lesley B.

Another customer recently shared a blog post with us that contains a breakdown of the code from Shahmir Javaid's blog post. You can find the blog here.

There are also some customer-contributed examples in the "Related Resources" section of the Maestro user's guide with code for using a Raspberry Pi to control a Maestro that you might find helpful.

Post a comment

Using your Pololu account allows you to customize your avatar and manage your comments; you can also post anonymously.

New Products

12V, 500mA Step-Down Voltage Regulator D45V5F12
ACS37041KLHBLT-030B3 Current Sensor Micro Carrier -30A to +30A, 3.3V
JST SH-Style Cable, 4-Pin, Single-Ended Female, 12cm
QTRX-MD-01RC-S Reflectance Sensor: 1-Channel, 8mm Wide, RC Output, Low Current, Side-Entry Connector
Pololu G2 High-Power Motor Driver 24v30 CS
Glideforce GF01-121003-2-66 Micro Linear Actuator with Feedback Potentiometer: 12V, 4.3kgf, 17.6mm/s, 30mm Stroke
Glideforce GF01-121005-1-66 Micro Linear Actuator with Limit Switches: 12V, 4.3kgf, 17.6mm/s, 50mm Stroke
Pololu Distance Sensor v2 with Pulse Width Output, 50cm Max, Side-Entry Connector
5V, 500mA Step-Down Voltage Regulator D45V5F5
JST PH-Style Cable with Female Pins for 0.1" Housings, 3-Pin, 75cm
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors