This application is designed for situations where the control voltage varies less than 0 - 5 volts but you want the servo to move full range. With this version in program mode, you vary the control input between it's maximum and minimum values (which must fall between 0 and 5v). When put in operate mode, the servo will move full swing between the two programmed voltages. The direction of movement is also reversible. The settings are saved in non volatile memory until you decide to change them. The newest code and circuit corrects earlier config bug caused by int osc and int mclr. /MCLR is now external.
|
 |