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

APM81815 Step-Down Voltage Regulator Carrier, 5V Out
Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
Isolated DC-DC Power Module, UCC33420, 5V/5.5V, 300mA
JST PH-Style Cable with Female Pins for 0.1" Housings, 5-Pin, 30cm
ACS37100LMATR-025B3 TMR Current Sensor Large Carrier -25A to +25A, 3.3V
ACS37030LLZATR-040B3 Current Sensor Compact Carrier -40A to +40A, 3.3V
ISO6540F 4-Channel Digital Isolator Carrier, 4/0, Default Low, Functional Isolation
0.100″ (2.54 mm) Breakaway Male Header: 1×2-Pin, Straight, Black, 100-Pack
ACS37041KLHBLT-010B3 Current Sensor Compact Carrier -10A to +10A, 3.3V
APM81815 Step-Down Voltage Regulator Carrier, 5.35V Out
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