gregoff
Posts: 31
Joined: Fri Aug 22, 2014 7:07 am

Control and power servo from specific GPIO?

Sat Aug 30, 2014 12:40 pm

Hi all,

I'm using a raspberry pi b+ and a motor board shield on top. This means that I only have the four bottom pins available (the ones closest to the usb-port.

My question is, can I control AND power a small servo using these pins? I've read that ServoBlaster can use just about any pin for PWM, but I need to power it from specific pins as well.

In this case, I cannot add an external power source just for the servo.

Thanks in advance!

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Control and power servo from specific GPIO?

Sat Aug 30, 2014 1:14 pm

You can send the servo control signal from any gpio.

You can not power the servo from any gpio. If you try all you might do is damage a gpio or the Pi. You certainly won't move the servo.

If it's a small (micro) servo you may be able to power it from one of the two 5V pins on the expansion header.

gregoff
Posts: 31
Joined: Fri Aug 22, 2014 7:07 am

Re: Control and power servo from specific GPIO?

Sat Aug 30, 2014 1:45 pm

joan wrote:You can send the servo control signal from any gpio.

You can not power the servo from any gpio. If you try all you might do is damage a gpio or the Pi. You certainly won't move the servo.

If it's a small (micro) servo you may be able to power it from one of the two 5V pins on the expansion header.
So basically I'm out of options since the 5V pins are used by the motor shield. Seems like I'll have to use a second power supply.

Return to “HATs and other add-ons”