So I recently got my first arduino, an Uno Rev 3, for one of my first project I had hoped to make a robotic arm. I bought a micro servo and a standard 4.8v-6.0v servo. I connected the standard servo to my arduino’s 9 pin with a 100 ohm resistor in between, and it was connected to an external power supply.
All of this so far I did through online tutorials.http://www.instructables.com/id/Serial-Servo-Controller-wAduino-Control-Up-To-1/
Now here is where my problems come in. My microservo works perfectly fine it is connected to the arduino’s 5v connection and still using the 100ohm resistor to 9pin. Using the code below I tried to step my servo from 0-160 degrees and the microservo handled this action perfectly fine. However the standard servo when the pos variable reached about 70-90 it would rotate back and forth from 0-160.
Am I doing something stupidly wrong or is this servo likely broken?
Could it be that the power is to high for the servo? since the supply i’m using is set up for 4?
I’d appreciate and constructive advice.
Servo_test.ino (637 Bytes)