PWM GENERATION using CCP mode
Vložit
- čas přidán 11. 10. 2023
- This video explains the generation of PWM using the CCP mode of the PIC microcontroller.
Microcontrollers Unit-4
PIC 18F Timers and Programming
• PIC 18F TIMERS AND PR...
PIC 18F Interrupt structure
• PIC 18 Microcontroller...
CCP Modes (PIC 18F)
• CCP MODES (PIC 18F)
PWM Generation Using CCP MODES
• PWM GENERATION using ...
ADC in PIC 18F
• ADC IN PIC 18F
@profbarapatestutorials
3 most imp university questions cleared in one video, Totally hats off to the teaching.
SPPU?
Glad to hear that
@@vaibhavanerao2686 Yup
Thank you very much sir.. 🙏🙏🙏
All the best
thnkuu sir😀just one pblm that sometimes student comes to learn only one topic n in the video u say that we have learned this in early videos ,so u can give there a reference for that video so that we can watch that early learned topics
Yes, you are right. You can also refer the playlist of that subject to access all previous videos. I will also provide the link in the description box.
Thank you so much sir 🙏🏻
All the best
Hi sir
I was understand your explained code but how can do use four switches and four different duty cycles using your explained code or any pwm mode
Sir iam calculating the pwm signal for 1hz pwm with 16. Prescaler and 33khz fosc. And getting PR2 value more than 255 sir is there any option to produce 1hz signal
Helpful ❤
I'm glad!
sir how ccp1con = 0x2c we have duty cycle %= 10 ,also if we select 10 then its value is 32 and 2c = 27
Hello sir, if you are asked to write a C18 program to generate a PWM frequency of 2.5 kHz and duty cycle are not given so what should be done..
You can assume duty cycle, for example 50 percent.
@@profbarapatestutorials
Ok sirr...
Thank uhh so much 😇
Hello Sir,
in calcy I'm getting PR2 = 155.25 for 1KHz and 10% duty cycle numerical . You're answer is 155 How?
0.25 is decimal part.
@@profbarapatestutorials Thank You sir 🙏❤
CCPR1L=15 Howw??
As duty cycle is 10% then we have to calculate the 10% of pr2 and pr2 is 155 then 10% is 15.5 and .50 is dc1b1 and dc1b0 and remaining is 15 which is ccpr1l is 15
@@omkarlamjane4355 how ccp1con = 0x2c we have duty cycle %= 10 ,also if we select 10 then its value is 32 and 2c = 27