I’m using a HSR-5995TG for my robot arm project. To send the control pulse I’m using a PIC16F877A microcontroller. I am sending the control signal to my servo via PWM. The servo doesn’t move a bit, but it seems to be locked in its position when connecting a 5v Vcc, so I guess that means to be working. Any suggestions are welcome.
you might need to give a little more information than that to get any useful help. to start, how do you know you are sending a valid pwm signal to the servo? have you looked at the pwm signal using an oscilloscope to verify it’s really a 20ms period with 0.5ms to 2.5ms pulses? you can also use the simulator in mplab with the stopwatch window to verify this as well if you don’t have access to a scope.
The 5995 being a digital servo, will “turn on” and apear to be “working” even if they never receive a single valid servo pulse. The range of pulses this servo can “see” is 900uS to 2100uS. Anything outside this range will be ignored.
Yes I realize that. The problem now is that one servo is moving great in the counter clockwise direction, For the clockwise it moves in steps, like the seconds arm of a clock. The other servo is moving in steps in both directions. don’t know whats that about.