by DuaneM on Fri Sep 09, 2011 3:46 pm
You need to wire a pull-up resistor between the Aux output and a 5V supply on your dash. Use a 1k, 4k7, or 10k resistor. This will feed 5V to the servo which is pulled to ground by the Aux output, giving the required square wave.
Most RC servos work on a small pulse width between 1mS and 2mS in length for their full range of movement. The repetition rate (or frequency) is not critical, just the pulse width. You can set an Aux output to Duty Cycle Control at 50Hz , and use a look up table to generate the correct duty cycle.
Effectively you need a minimum duty cycle at 50Hz of 5% (ie 1mS) and a maximum duty cycle at 50Hz of 10% (ie 2mS) for the full range of movement, so a look up table will help ensure that you don't run outside of these duty cycle limits. Most RC servos drop out if the pulse width is wrong.