Using PWM module of PIC16F877A, drive the dc motor for certain frequency of 5 kHz, with duty cycle of 0% - 100% . Display the frequency in kHz and the duty cycle in % on LCD.
Sir, I have one small dought. Let consider 1hz frequency and 50% duty means 0.5s On and 0.5s is off right 👍. Like wish 100% duty means 1s on and another 1s off (or) completely on.
Using PWM module of PIC16F877A, drive the dc motor for certain frequency of 5 kHz, with duty cycle of 0% - 100% . Display the frequency in kHz and the duty cycle in % on LCD.
Sir if 1000hz is 1 milliesecond time period
Then 50% of that is
0.00005 micro second ON
0.00005 micro second OFF
Ryt???
thank you sir
😊
Sir, I have one small dought.
Let consider 1hz frequency and 50% duty means 0.5s On and 0.5s is off right 👍.
Like wish 100% duty means 1s on and another 1s off (or) completely on.
no in 100% duty it will remain on only and not become off
well explained :-)
Thanks for your feedback @Siva
Can you do a timer counter PWM square wave generation video
Already done please watch the playlist page of my channel
For SAMD20 controler