Go Down

Topic: problem with servo (Read 831 times) previous topic - next topic

dattasaurabh82

When I attached the servo as said in this tutorial:
http://playground.arduino.cc/Learning/SingleServoExample
,I encountered a problem. As soon as I connect the servo, either it keeps on rotating continuously or the Arduino gets disconnected from the computer.

Any help is welcome

zoomkat

Quote
As soon as I connect the servo, either it keeps on rotating continuously or the Arduino gets disconnected from the computer.


If the servo in the second picture is your servo, it probably requires more power than the arduino can supply to it. You probably need an external power supply for your servo.
Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

dattasaurabh82

I applied.
Connected the ground from the servo's GND to Arduino's GND & the GNd of my 9v cell.
The 9V cell's VCC goes to the servo's +ve terminal.
Still I have the illogical, serial data independent complete rotation problem. Though the Arduino doesn't get disconnected now.

zoomkat

Below is a typical servo power setup. All the 9v battery is doing is wasting your $$$. It may also damage your servo. Use 4 1.5v rechargable batterys to get ~6v or a wall powered 6v supply.

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

dattasaurabh82

Thanks; it worked with 6 volt :Ds. But why it was troubling with 9volts? I thought it have an internal pullup resistor in the circuit! :~

Go Up