I am trying to control a ECP 100 servo with my Arduino. The servo will spin continuously when connected to the Arduino. I would like it to move to certain positions like a typical SG90 servo does.
The servo is linked below. My code is code-tagged below. A photo of my schematic is below.
This is my first post so please pardon any formatting mistakes. Thank you community!
On reading "it spins continuously", my initial suspicion is that you've been sold a continuous rotation servo, and that's what it does. You can change the speed, but you can't move it to a particular position and hold it there. You need a standard servo for that.
Are you using a separate power supply to power the servo?
(Arduino is not a power supply)!!
And did you connect the GND of this power supply to the GND of the Arduino?