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

Magnetic Encoder Pair Kit with Top-Entry Connector for Mini Plastic Gearmotor, 12 CPR, 2.7-18V
5V Step-Up/Step-Down Voltage Regulator S9V11E2F5
12V, 9A Step-Down Voltage Regulator D42V110F12
ACS37200LLXTR-100B5 Current Sensor Large Carrier -100A to +100A, 5V
ACS37100LMATR-050B3 TMR Current Sensor Large Carrier -50A to +50A, 3.3V
ACS37030LMYATR-025B3 Current Sensor Compact Carrier -25A to +25A, 3.3V
120:1 Mini Plastic Gearmotor HP, Offset 3mm D-Shaft Output, with 12 CPR Encoder, Back Connector
Glideforce GF01-121005-2-66 Micro Linear Actuator with Feedback Potentiometer: 12V, 4.3kgf, 17.6mm/s, 50mm Stroke
ACS37200LLXTR-100B3 Current Sensor Compact Carrier -100A to +100A, 3.3V
Motoron M3T453 Triple I²C Motor Controller with 0.1"-Pitch Through-Holes (No Headers)
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