Hi,earlier,i msged this message
hi,i just want to enquire this,i bought this project and i just want to know how i can control the duty cycle of the pulses.For an example,if K=100% or K=70% ,what will be the results of the rpm .In this project im able to find the speed but i just want to know how to control the duty cycle for my results.Thank you
and my reply is this
Is being control by CCP1RL value. The sample program is using 8-bit PWM duty cycle, therefore the value is from 0-255. For 70% duty cycle, you should load 179 to CCP1RL. The RPM depends a lot on the motor itself and the gear, you will need to measure it yourself. If you have further inquiry, please discuss in our technical forum as this section is for short inquiry, thanks
My question:
The thing that i need to do is to have results for a 70% duty cycle and for an example 80% duty cycle..must i always reprogram the whole CCP1RL always to get a 80% or a 90% from my current duty cycle?Another question,what the current duty cycle now,with the stock program .just following the program given by cytron?thanks.