problem with example sweep (with servo motor)

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
cedric
 
Posts: 6
Joined: Thu Apr 07, 2011 4:27 am

problem with example sweep (with servo motor)

Post by cedric »

Hello,

I have purchased the normal servo from your web (Tpro sg-5010) and I have try to simply implement the sweep example in Arduino. I got the connection ok, load the example properly, but then it is not working. The servo is rotating for few milliseconds upon connection of cables. Not after. Although I can hear activity within the case of the servo.
I use the USB of the computer as power supply.
I ordered 2 servos, and it's the same for both of them.

Any hints on why it does not work?

Thanks u.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: problem with example sweep (with servo motor)

Post by adafruit_support_bill »

The most common problems are wiring related. You should have black to ground, red to +5 and orange/yellow to pin 9 for the sweep sketch.

Other possible issues are due to power limitations. Standard servos can pull close to 1A for brief periods when starting to move. USB is generally limited to 500mA. You may have better luck running from a DC power supply or battery.

If you are going to hook up more than one servo, you will be better off with a separate supply for the servos.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”