Hi all. Newb here. I've been teaching myself 'pic' for a couple of weeks not and have done the whole make LEDs blink and such. Next on the learning curve is controlling a servo with the pic. I am using the Microchip 44 pin demo board that houses a 16f917. The 917 has two on board CCP modules, one of which I wanted to use to drive a servo.
In searching through this site, I've notice a few references suggesting that the PWM module is not well suited for driving a servo for a number of reasons. In addition, being new, I've been working hard to wrap my mind around the configuration and operation of the CCP for PWM mode. I would also like to use the other CCP to pulse a solenoid.
I would love to use the CCP as it would allow me to free up the pic for other tasks while allowing me to control all the peripherals from a single device. However if it's not well suited, I don't want to spend the learning time for this project.
Can someone give me a little insight on whether or not the PWM module is effective in servo control or should I build an entirely software based solution?
Thanks in advance!!
In searching through this site, I've notice a few references suggesting that the PWM module is not well suited for driving a servo for a number of reasons. In addition, being new, I've been working hard to wrap my mind around the configuration and operation of the CCP for PWM mode. I would also like to use the other CCP to pulse a solenoid.
I would love to use the CCP as it would allow me to free up the pic for other tasks while allowing me to control all the peripherals from a single device. However if it's not well suited, I don't want to spend the learning time for this project.
Can someone give me a little insight on whether or not the PWM module is effective in servo control or should I build an entirely software based solution?
Thanks in advance!!