16 Servo's
GreenGiant83
Posts: 43
I am thinking about using my Basic Stamp 2 to run between 12 and 16 standard servo's.· I dont know the ratings right now, but they are roughly equivelant to the one that comes with the kit.· Is there any problem for me hook up them up straight to Vdd, Vss and one pin each?· I would be sending their PWM pulses consecutively :
PULSOUT 0, val0
PULSOUT 1, val1
PULSOUT 2, val2
...
PULSOUT 15, val15
I dont want to fry my chip. I am also wanting to use a wall converter to supply the 9volt to the chip, since I will be wanting to run these servo's more or less constantly for a few hours at a time.· I think I read somewhere they using those wall converter type things is sometimes a bad thing.
PULSOUT 0, val0
PULSOUT 1, val1
PULSOUT 2, val2
...
PULSOUT 15, val15
I dont want to fry my chip. I am also wanting to use a wall converter to supply the 9volt to the chip, since I will be wanting to run these servo's more or less constantly for a few hours at a time.· I think I read somewhere they using those wall converter type things is sometimes a bad thing.
Comments
1. The Servo signal is a 1 to 2 mSec pulse, repeated every 20 to 50 mSec. You CAN drive 16 servo's, give a 8 mSec pause, and drive them again. This can work.
2. A servo takes about 100 mA or more when it's 'moving'. 16 x 100 mA == 1.6 AMPS. 1.6 AMPS is a lot of current -- most wall-warts max out a 1 Amp (1000 mA). Most regulators max out at 1 amp, too, so trying to draw 1.6 amps through it will definitely cause it to over-heat and shutdown.
#2 above means you'll have to design some way of powering all these servo's -- two wall-warts, driving 8 servo's each would work. Make SURE you tie all power supply grounds together, as the Servo signal won't work otherwise. A stock BOE board only has one linear regulator, so can't supply all that current by itself.
If you do as you've show, you MUST have +5 or +6 volt "REGULATED" wall-wart power supplies. "UNREGULATED" is much more typical, but you'll have to add 2 7805 Regulators, with input and output capacitors for both, if you use UNREGULATED supplies.
And yes, the Parallax Servo Controller (PSC) is much better suited to this sort of thing.
Post Edited (allanlane5) : 9/7/2006 8:14:39 PM GMT