Тёмный
No video :(

PIC16F877A’s PWM tutorial to control Brightness of an LED. MikroC for PIC coding & hardware demo. 

Learning Microcontrollers
Подписаться 2,9 тыс.
Просмотров 3,3 тыс.
50% 1

Hello guys,
In this video, I am gonna teach you one of the most precious, cheap and effective technique to generate frequency using PIC16F877A microcontrollers. Programming language used is MikroC for PIC.
PWM stands for Pulse Width Modulation, it finds its huge application in the field of robotics beacuse speed control of DC motors is very crucial in robotics. Thats why we use PWM in these type of projects. Apart from them it has great application in the field of manufacturing power supplies. Switching power supplies are very common nowadays and they all work using PWM techniques.
Become a Patreon and support my channel using link below:
patreon.com/us...
Note: In the description I cannot write divide sign so i am gonna write
divide in English there, you have to replace it with proper sign as shown in the video aswell.
MikroC for PIC code being used in the video is as under:
int count;
int read1;
int conv1;
void main() {
ADC_Init();
Delay_ms(500);
PWM1_Init(5000);
Delay_ms(500);
while(1)
{
read1 = ADC_Read(0);
delay_ms(100);
conv1 = read1 divide 4.1;
delay_ms(50);
PWM1_Start();
delay_ms(20);
PWM1_Set_Duty(conv1);
delay_ms(100);
}
}

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@electrowashyelect9715
@electrowashyelect9715 Месяц назад
Well done great expository !
@muheebawan18
@muheebawan18 Год назад
Sir you are serving great in this Field 🙌👏🏻
@learningmicrocontrollers3561
Thank you very much for your encouragment
@MuhammadSaleem-vv5nb
@MuhammadSaleem-vv5nb Год назад
Well done
@lunsingson8670
@lunsingson8670 Год назад
Sir You are an excellent in this particular field. Sir may you please make a video on multiple task like Automatic water pump, Automatica gate and Thieft detector using PIC 16F877A Microcontroller. As im doing Project on "Power Embeded Design for Power Monitoring and Optimization" I do really need more like this types of videos. Thankyou
@learningmicrocontrollers3561
Thanks your your suggestions and encouragment. Your videos are on my list now. You will see them soon.
@deepsingh0471
@deepsingh0471 5 месяцев назад
Can we generate pwm signal using 16f628a ? Great ❤❤❤
@learningmicrocontrollers3561
@learningmicrocontrollers3561 5 месяцев назад
Yes It has CCP1 pin which means it's a PWM1 pin Its Pin 9
@tirthpatel7989
@tirthpatel7989 Год назад
HOW DO I CONTROL LED USING SLIDER VARIABLE ?
@learningmicrocontrollers3561
Share Picture of sensor i make a video on it aswell At uneeb629@gmail.com
Далее
How to Programming IC and chip in electronics
20:55
Просмотров 19 тыс.
How to get source code onto a PIC microcontroller
11:21
PWM in Arduino-Pulse Width Modulation
4:47
Просмотров 204 тыс.