Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
I am just starting to work with servo motors, so I am trying to work up to doing PWM on a PIC microcontroller.
I attached my servos, to a signal generator, where 1.5ms was suppose to correspond to the center position, then when I increasing the duty cycle the motor rotated clockwise, if I trying to reduce the duty cycle it would not move counter clockwise. It would just move along clockwise direction as duty cycle varied, but never move back from the furthest point it had moved.Is this because my frequency is out of wack or something else?
The function generator has a very simple command to set the pulse length, which I set to 1.5 ms, at a frequency of 20Hz,
then I just varied the duty cycle. I did not observe on oscilloscope but I have access to one. I'm sure I would see exactly a 1.5ms pulse if I observed with oscilloscope.