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

ACS72981KLRATR-150B5 Current Sensor Compact Carrier -150A to +150A, 5V
4.2-15V, 3.3A Fine-Adjust Step-Down Voltage Regulator w/ Adjustable Low-Voltage Cutoff D30V33MASCMA
5V, 100mA Step-Down Voltage Regulator D45V1E2F5
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 36" (90 cm)
4.2-15V, 3.3A Fine-Adjust Step-Down Voltage Regulator D30V33MAS
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Pololu Reverse Voltage Protector, 4-60V, 12A
CT433-HSWF20MR TMR Current Sensor Compact Carrier -20A to +20A, 3.3V
ACS37220LEZATR-200B5 Current Sensor Large Carrier -200A to +200A, 5V
ACS72981ELRATR-200B3 Current Sensor Compact Carrier -200A to +200A, 3.3V
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