-
Problem with servos
Can anyone help me...:(
my problem is that, i have this tower pro 9g servo and as I connect it to the circuit which I made, It instantly started without putting the PIC microcontroller to its socket. I've already checked the circuit connections and there were no shorted... So, i really don't have an idea now...
Lots of thanks to those who will give help.. :)
-
Re: Problem with servos
when you say it "instantly started"... what do you mean? Did it just twitch? or did it change position?
typically... in order to control a servo you need to supply +5 volts to the red wire, gnd the black wire and supply a PWM (pulse width modulated) signal to the white wire. The pulse must be repeated approx every 20ms (see the article below). So you must use a timing loop, or an interrupt based on a timer, or some other method of making sure you are repeating the pulse at the proper rate. Is your servo Digital or Analog?
Here is a description of how servos work (both digital and analog servos)
http://www.acroname.com/robotics/inf...rvo/servo.html
-
Re: Problem with servos
It is pretty normal for R/C type servos to move as soon as they have power. Usually they just move to the smallest position.
-
Re: Problem with servos
it is digital... I haven't placed the microcontroller yet, still it moves.. Maybe its calibration has its problem.. Thanks for the reply.
-
Re: Problem with servos
Yes, it supposedly work that way, but it moves continuously... Maybe it's calibration has its problem. Thank you for the reply.
-
Re: Problem with servos
I'd suggest you check the wiring again; the color code can be confusing, I've had a servo with brown, red and orange wires! And for certain combination of incorrect wiring, the rotor does stutter.
Regards,
Anand
-
Re: Problem with servos