Hey, i have a Servomotor from TowerPro MG958 DIGI, and it won't work ,i tried many power supplies,12 volts-0.5amps/ 5 volts-2 amps, and i tried with 5v-4amps, The ground from power supply is attached with the ground of my arduino card, "it's not my first time using servo's", my code is like this :
I know of some Arduino Uno with an other than the DIP chip that do have 2 extra analog inputs.
They are only available for that and can't be used as an output or whatever other uses.
I'd use the serial monitor to see which values are read and the result of any calculations (map), just to be sure that's not the cause of your problem while you are trying to debug the servo.
wildbill:
Operating voltage for that servo is 4.8-6.6V. You may have damaged or destroyed it using a 12V supply.
Either of the 5V supplies should have worked, had you tried them first.
Which arduino are you using that has A6 available?
Have you tried the sweep example?
Hey there, yes brother i've tried lower voltages first, and i didn't recieved any response, just the vibrating noises, i have a NANO btw, and yes i've tried the sweep example but nothing
barhoma881:
"it's not my first time using servo's"
But it is a failure for this servo.
Since you are having problems, and since it works for small servos but fails for the high power servo, I simply must ask for a wiring diagram showing how you have the servo powered.
Pen, paper and a camera will do just fine.
A very large percentage of all servo problems on this forum are due to improper power for the servo.
The other possibility (as VinceHerman intimated) is that you're trying to power the servo through the Nano.
That can work for unloaded servos with a low power requirement, but not when the stall current is 1160mA.