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

ACS37030LMYATR-065B3 Current Sensor Compact Carrier -65A to +65A, 3.3V
ISO6541 4-Channel Digital Isolator Carrier, 3/1, Default High, Functional Isolation
12V, 125mA Isolated Step-Up Voltage Regulator U5Z9F12
Motoron M3T453 Triple I²C Motor Controller with 0.1"-Pitch Through-Holes (No Headers)
120:1 Mini Plastic Gearmotor HP, Offset 3mm D-Shaft Output, with 12 CPR Encoder, Back Connector
Isolated DC-DC Power Module, UCC33420, 5V/5.5V, 300mA
20.4:1 Metal Gearmotor 25Dx65L mm HP 24V with 48 CPR Encoder
4.4:1 Metal Gearmotor 25Dx48L mm HP 24V
ISO6542F 4-Channel Digital Isolator Carrier, 2/2, Default Low, Functional Isolation
MPQ6612A Single Brushed DC Motor Driver Carrier (Soldered Connectors)
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