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

0.100″ (2.54 mm) Breakaway Male Header: 1×2-Pin, Straight, Black, 100-Pack
JST SH-Style Cable, 4-Pin, Female-Female, 40cm
ACS37041KLHBLT-010B5 Current Sensor Compact Carrier -10A to +10A, 5V
RobustMotion RM-EGB Series 24VDC Compact Finger Gripper, 20D, Simple PNP Interface
ACS37800KMACTR-030B3-I2C Power Monitor Carrier with Secondary I²C Isolation
Breakout for JST SH-Style Connector, 5-Pin Male Side-Entry (2-Pack)
CT433-HSWF65DR TMR Current Sensor Large Carrier 0A to 65A, 3.3V
RobustMotion RM-EGB Series 24VDC Compact Finger Gripper, 16D, Simple PNP Interface
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
0.100″ (2.54 mm) Breakaway Male Header: 1×10-Pin, Straight, Black, 25-Pack
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