Implementing interrupts on a PIC16
We are trying to build an RC interface to transform a PPM signal from the RC into a PWM signal for motor controls. The idea is to build a 2-channel robot that goes forward % back, right & left.
Right now we face the issue that the that we intend to use PIC16F628A to generate this signal, but this chip only has 1 CCP port. As I understand it, the CCP pin is how the PIC detects external interrupts.
So how do I implement the 2 interrupts needed? Do I grab another PIC or is there any way I can use some other pins to handle the required interrupts?
Any help much appreciated
We are trying to build an RC interface to transform a PPM signal from the RC into a PWM signal for motor controls. The idea is to build a 2-channel robot that goes forward % back, right & left.
Right now we face the issue that the that we intend to use PIC16F628A to generate this signal, but this chip only has 1 CCP port. As I understand it, the CCP pin is how the PIC detects external interrupts.
So how do I implement the 2 interrupts needed? Do I grab another PIC or is there any way I can use some other pins to handle the required interrupts?
Any help much appreciated
No comments:
Post a Comment