hi.
i m currently working on RC-helicopter motor controller. So basically using PIC 16f887A to generate the PWM. At first i m using ADC or PCM transmitter to convert the data to digital n transmit it to the PIC.
the problem is i need strategies or ideas or suggestions how to vary the duty cycle. i would the program to be like for example the ADC or PCM transmitter transmit digital data 1001 and pic will received it. Then PIC will be executes of 50% duty cycle. If the data transmit 1010, PIC will executes 80% duty cycle. it sort like PIC is predetermined as code received. As we know varying the duty cycle will vary the speed of the motor in RC helicopter.
thank you and really appreciate if anyone can help me...
i m currently working on RC-helicopter motor controller. So basically using PIC 16f887A to generate the PWM. At first i m using ADC or PCM transmitter to convert the data to digital n transmit it to the PIC.
the problem is i need strategies or ideas or suggestions how to vary the duty cycle. i would the program to be like for example the ADC or PCM transmitter transmit digital data 1001 and pic will received it. Then PIC will be executes of 50% duty cycle. If the data transmit 1010, PIC will executes 80% duty cycle. it sort like PIC is predetermined as code received. As we know varying the duty cycle will vary the speed of the motor in RC helicopter.
thank you and really appreciate if anyone can help me...