August 17, 2012 AT 8:00 am

Tutorial: Adafruit 16 Channel Servo Driver with Raspberry Pi #piday #raspberrypi @Raspberry_Pi

 Mg 0389 Resize

Adafruit 271

Adafruit 16 Channel Servo Driver with Raspberry Pi @ The Adafruit Learning System.

Servo motors are typically driven using the PWM outputs available on most embedded MCUs, but the Pi doesn’t have native HW support for PWM.  It does have HW I2C available, though, which we can use to communicate with a PWM driver like the PCA9685, used on Adafruit’s 16-channel 12-bit PWM/Servo Driver!

Using this breakout, you can easily drive up to 16 servo motors on your Raspberry Pi using our painless Python library and this tutorial. 

Learn more!


Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi.

Related

“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



1 Comment

  1. Actually, most people I know do not drive servos with PWM, they do it via other means that are easier to setup and extend to more servos. They usually involve the use of a single timer unless the frame rate gets too long, then multiple timers will be used.

Sorry, the comment form is closed at this time.