Go Down

Topic: Servo problem (Read 578 times) previous topic - next topic

draj

Hi!

I'm using a brand new rc servo (Turnigy-5180MG) and it is working almost fine (sometimes overrotating, then goes back or forth a half or full circle, but i can control it on the whole 180┬░section) when i'm powering it from the arduino.
But when I change the power wire to one, that comes from a 5V voltage regulator that gets power from a 9V battery, the servo just rotating over and over....
there is no phisycal blockage in it.
The ground is common. The voltage coming from the regulator is 5 volts. I don't even have a clue, what is wrong.
Please help.

Attila

zoomkat

Read the "How to use this forum - please read." at the top of the post. Post your code in code tags. A smoke detector 9v battery is really not adequate for powering servos. Below is a basic wiring setup for a servo.

Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

Erdin

This is the same question, http://arduino.cc/forum/index.php/topic,152501.msg1145977.html

draj

#3
Mar 08, 2013, 10:56 pm Last Edit: Mar 08, 2013, 10:58 pm by draj Reason: 1

Read the "How to use this forum - please read." at the top of the post. Post your code in code tags. A smoke detector 9v battery is really not adequate for powering servos. Below is a basic wiring setup for a servo.



I didn't post code, because I'm sure my code is is right (it's working from arduino, and I'd tried with your servo test code too :) ).
By the way, you were right with the battery. I've just hooked the servo to a 11.1v 5000mAh, 20C battery through a 7806 6V 1A regulator and two capacitors paralell, and it's working like a dream, so thank you for the help.


This is the same question, http://arduino.cc/forum/index.php/topic,152501.msg1145977.html

No, it's not exactly. I don't want the the arduino to power my servo.


zoomkat

Quote
I've just hooked the servo to a 11.1v 5000mAh, 20C battery through a 7806 6V 1A regulator and two capacitors paralell, and it's working like a dream, so thank you for the help.


Check on ebay for a UBEC voltage regulator. They are inexpensuve and much more efficient than the 7806 if you want the longest battery life.
Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

JimboZA

Hey zoomkat, you and I must be getting tired of making the same suggestion on every servo thread: "Has it got its own power supply? If so, it should..."
Arduino ethernet server here.... http://jimboza.gotdns.com:8085/

No PMs for help please

draj


Quote
I've just hooked the servo to a 11.1v 5000mAh, 20C battery through a 7806 6V 1A regulator and two capacitors paralell, and it's working like a dream, so thank you for the help.


Check on ebay for a UBEC voltage regulator. They are inexpensuve and much more efficient than the 7806 if you want the longest battery life.


Okay, thank you. I'm thinking on buying on or two, but a more compact ic-type design would be better for now. Is a switching mode voltage regulator IC like LM 2576 as good as an ubec?  Maybe I'll just use the servos on 5V with the integrated bec in the esc.

Go Up