servo sweep - reset

Hi all,

I have a (stupid) question.

I want to use a Aduino mini to connect a servo and make it sweep.

When I looked at the aduino site I found the software to do this and a description for the connections I had to make. When I connected everything as described it worked fine but the aduino was still connected to my computer.

When I used a 9 volt battery and connected everything directly to the arduino mini the servo stills sweeps but stops after a short time. I suspect that this has something to do with the reset but I can't figure out what it is.

Can someone help me? Maybe with a picture of a arduino mini with a servo connected to it which does work?

Thanks!

Ruben

Most likely the problem is that a 9vdc battery just does not have the current capacity to power a Arduino and a servo, causing a voltage drop out which would cause a reset condition.

Servos have motors in them and can draw significant current depending on their size and what mechanical load they may be trying to move.

Lefty

Hi Lefty,

Thanks for your reply!
Do you think when I use two 9 volt batteries it helps? Or is that too much power for the arduino/servo.

Ruben

I don't think it's worth a try. 9vdc batteries are only intended to power low current loads and they are very expensive compared to their amp/hour capacity. Your better off using a 9vdc external wall power module. However even that can be problematic if your servo is under a heavy load or you try to operate more then one servo at the same time. There are tons of posting around here on powering servos so do some searching and read up on the subjet, it's good for you. :wink:

Lefty

The little regulator on the mini may not be able to cope with the current needed for the servo when fed with 9 volts. 3 alkaline AA cells (4.5 volts) connected to the 5v input (or 4 NiMH rechargeable AA cells as long as the battery voltage does not exceed 5.5 volts)

Sorry to get off topic, but can 4 AA batteries be used to power 2 servos (practically no load, just a pan and tilt with a small sensor), and 2 small (~500-1000mA) dc motors?

Hi all,

Thanks for the replys.
I tried a new 9 volt battery and it works!
In the future I will try to use AA batteries but the prototype I made is to small to do so.

Ruben