Hello, I wanted to use an Arduino Uno board with a Servo (Micro Servo - High Powered, High Torque Metal Gear ) for a cosplay, but for some reason I can't get the servo to run at all.
I attached the red wire to 5v, the yellow one to ~9 and the brown one to GND and opened the sweep example from the library and uploaded it to the board. But the servo won't move... am I missing something? can anybody help me? (also for some reason the "void loop" and "void setup" dont turn orange like they do in some videos I've watched.. they are blue and gray)
Running a servo with Arduino Uno
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88089
- Joined: Sat Feb 07, 2009 10:11 am
Re: Running a servo with Arduino Uno
Did the code upload successfully to the board? You would have see the leds on the board flickering and the upload would be confirmed in the message window at the bottom of the IDE.
- Ugetsu
- Posts: 3
- Joined: Fri Aug 11, 2017 9:12 am
Re: Running a servo with Arduino Uno
Thanks for the fast reply, yes the lights flickered and it confirmed the upload.
- adafruit_support_bill
- Posts: 88089
- Joined: Sat Feb 07, 2009 10:11 am
Re: Running a servo with Arduino Uno
Please post a photo showing how you have everything connected.
- Ugetsu
- Posts: 3
- Joined: Fri Aug 11, 2017 9:12 am
Re: Running a servo with Arduino Uno
Sorry, I dont know how but I got it to work after i reopened the sweep example and uploaded again. Everything is fine now thanks :'D
- adafruit_support_bill
- Posts: 88089
- Joined: Sat Feb 07, 2009 10:11 am
Re: Running a servo with Arduino Uno
Good to hear. Thanks for the follow-up.
Please be positive and constructive with your questions and comments.