Hello,
I tried to control Hs-311 servo motor for position control, but it dosen't work.
The servo is applied by 50 Hz pulses(20 ms), every pulse contain on/off duty, the on duty determine the position of the servo and our servo is deal with ( 0.9ms - 2.1 ms ) on duty to cover the rang (0-180 degree). so i want to generate a train of pulses with 50Hz and 0.1 ms resolution at minimum, and i can control the duty by a knob and output at parallel port 0x378.
|0.9-2.1ms|
________ ________
| | | |
| | | |
___________| |______________| |____________
| 20ms |
That's what i want to out
i will attached to you my try.
please help.