Let's Make Robots!

Continuous rotation servo broken.

abarax's picture

I thought i'd make this post to help any beginners that also run into this problem, i wasted a good hour and a half on this, so hopefully no one else has to.

Providing more power

abarax's picture

Ok, so i have my Arduino, 3 x servos and an ultrasonic range finder.  Running all these at once from the 5v that the arduino provides is not supplying enough current (i think). I can run at maximum any two of these components from the 5v.

So i guess my solution is that i need to supply the servo's with their own separate power source.

If i hook up some AA batteries to the + wires of the servos connect the gnd to the gnd and the PWM wire to the arduino, will this work? How have other people dealt with this problem?

Poor Man's H-Bridge

abarax's picture

So i've just started getting into electronics for the purposes of robots and the learning experience. 

 

Last night i manually built a H-Bridge using 4 transistors in a layout exactly like the one pictured here:

http://en.wikipedia.org/wiki/H-bridge

 

I then used the arduino to control the 4 transistors turning them on and off two at a time to redirect current through the motor different  directions.

I was just wondering what other things i should look out for in a real cicuit to do this, protection diodes ?