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

ACS37200LLXTR-100B5 Current Sensor Large Carrier -100A to +100A, 5V
QTR-MD-01A-S Reflectance Sensor: 1-Channel, 8mm Wide, Analog Output, Side-Entry Connector
Pololu G2 High-Power Motor Driver 24v30 CS
Pololu Basic SPDT Relay Carrier with 5VDC Relay, Terminal Blocks, and JST SH-Style Top-Entry Connector
Pololu Isolated Solid State Relay/Switch, SPST, 100V, 4.5A
ACS37200LLXTR-200B5 Current Sensor Large Carrier -200A to +200A, 5V
4.4:1 Metal Gearmotor 25Dx48L mm HP 24V
TPS2116 Power Multiplexer Carrier with USB Type-C Connector (USB priority)
12V, 125mA Isolated Step-Up Voltage Regulator U5Z9F12
ISO6521 2-Channel Digital Isolator Carrier, 1/1, Default High, Functional Isolation
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