Hello, I am trying to set up a servo limit switch. The servo is a standard hobby servo (used in R/C cars) modified for continuous rotation. It is being controlled by a basic wired servo driver (PWM).
Hobby servos are controlled by a pulse width range of 1.0ms - 2.0ms with 1.5ms being the "center". So for example when the servo driver knob is turned to the left (between 1.0ms and 1.5ms) the servo will turn to the left. When the driver knob is turned to the right (between 1.5ms and 2.0ms) the servo will turn to the right.
Basically what I want to happen is when the limit switch is tripped I want the servo to stop moving in that direction and only be able to work when the knob is turned in the opposite direction. So for example if the servo is moving left and the limit switch is tripped the servo will stop and the knob on the driver will only work when turned to the right.
I hope I made this simple to understand.
Oh, and I will be forever grateful to anyone who has any ideas on how to make this work.
Hobby servos are controlled by a pulse width range of 1.0ms - 2.0ms with 1.5ms being the "center". So for example when the servo driver knob is turned to the left (between 1.0ms and 1.5ms) the servo will turn to the left. When the driver knob is turned to the right (between 1.5ms and 2.0ms) the servo will turn to the right.
Basically what I want to happen is when the limit switch is tripped I want the servo to stop moving in that direction and only be able to work when the knob is turned in the opposite direction. So for example if the servo is moving left and the limit switch is tripped the servo will stop and the knob on the driver will only work when turned to the right.
I hope I made this simple to understand.