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

MPQ6612A Single Brushed DC Motor Driver Carrier (Soldered Connectors)
ISO6540 4-Channel Digital Isolator Carrier, 4/0, Default High, Functional Isolation
Pololu Basic SPDT Relay Carrier for "Sugar Cube" Relays with JST SH-Style Top-Entry Connector
ISO6541F 4-Channel Digital Isolator Carrier, 3/1, Default Low, Functional Isolation
9V Step-Up/Step-Down Voltage Regulator S9V11E2F9
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
Glideforce GF01-120505-2-66 Micro Linear Actuator with Feedback Potentiometer: 12V, 2.2kgf, 28mm/s, 50mm Stroke
ISO6541 4-Channel Digital Isolator Carrier, 3/1, Default High, Functional Isolation
99:1 Metal Gearmotor 25Dx69L mm HP 24V with 48 CPR Encoder
QTRXL-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Long Range, Side-Entry Connector
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