PIC16F877A interface TIP 122 NPN transistor for driving DC motor.

preview_player
Показать описание
Hello guys,
Welcome to Learning Microcontrollers youtube Channel,

Guys I have also compiled course on Udemy as well. Where you will learn under my direct supervision in a more supervised way.
Here is the links to the courses I have on Udemy, By taking any of these courses you will be supporting my channel aswell.
This will help me to make more videos with better hardware in the future. I hope you look forward to it.
Courses Links:

This video is about how to control loads requiring higher current or voltage which PIC's digital input output pins cannot provide using cheap transistors. This is also a very cheap alternative to using a L298N module.
it has a very high current and voltage rating depending upon the transistor being used. Incase, you want to increase the output power , just change the transistor.
For making robots we need alot of methods to control motors. One of the best method is to use transistors.
Programming software being used is MikroC for PIC.

Become a Patreon and support my channel using link below:

You can setup your PIC by following this video:

Code is as under:

void main() {
TRISB.F7 = 0 ;
PORTB.F7 = 0 ;
Delay_ms(100);

while(1)
{
PORTB.F7 = 1;
Delay_ms(3000);
PORTB.F7 = 0;
Delay_ms(1000);

}

}
Рекомендации по теме
Комментарии
Автор

First off, I really enjoy and like your hard work and videos. Now to the circuit. For the PIC to have any influence on that transistor shouldn't both the pic and transistor share the same ground also? Secondly, I am a bit puzzled concerning the transistor the configuration, it almost appears as though the transistor is now being used as an open collector; excellent. Lastly, is that diode intended to block any reverse current from destroying that transistor or is it to bias it or to insure that no high voltage can ever back feed into that PIC? I've seen and used diodes in similar cases while driving motors with mosfets paralleling the drains and source pins.Just curious 🤔.

Rev-
Автор

Can I use mosfet instead of transistor?

tejassubhedar