Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: syastw on May 04, 2013, 12:24:05 PM
-
Hello,
I'm new to the forum, I'm not sure this is the right place to ask for help, but I'll give it a go.
I'm trying to build an arduino robot with servos and a range finder.
I ran into problems when connecting SRF08 rangefinder and HS-434BB servo motor to the arduino.
If the servo is connected when the arduino is booted, rangefinder cannot find its first range.
If the servo is not connected when arduino is booted rangefinder starts to find ranges and if servo is then connected both work fine at the same time for a while and then suddenly stop. Curious is that if I then boot the arduino, they often start working even though servo was connected.
As attachments there is a picture of the electronics and the source code.
Thanks for reading!
-
How much current does the servo draw and how much current can the Arduino regulated power supply provide?
-
Do not power a servo directly from the 5V out of the Arduino; it is not capable to provide enough current.
Tyipcally, you will power the servo directly from the input power of the Arduino (the Vin pin.) If that is higher than the servo can handle, then use a separate regulator to provide the right voltage to the servo..