MOSFETs and Transistors with Arduino

  Рет қаралды 1,074,186

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Today we will learn how to use Transistors and MOSFETs to enable our Arduino to switch high-current DC loads, including a 12-volt RGB LED Strip Light.
Article at dronebotworkshop.com/transist...
More tutorials and projects at dronebotworkshop.com
Chat on the Forum at forum.dronebotworkshop.com
Join the newsletter - dronebotworkshop.com/subscribe/
Transistors are the basic building block of modern electronics. Just about everything uses transistors, including the Arduino itself.
Using a power transistor or MOSFET we can drive high-current devices using the logic-level outputs from our Arduino. Today we’ll learn to use both devices.
We will start with a simple transistor switch, you’ll see how easy it is to switch a high-current DC lamp using a popular power transistor.
Inductive loads like motors and relays present an additional challenge, as these devices generate a “back-EMF” that we need to deal with. We’ll use a diode to take care of the back-EMF and build a simple motor speed controller.
We will then turn our focus to MOSFETs. MOSFETs have a number of advantages over standard transistors. We will learn how to use popular MOSFET modules to control an RGB LED Strip in a simple but colorful experiment.
Here is what is in today's video:
00:00 - Introduction
02:49 - Transistors and MOSFETs
16:23 - Transistor Switching Demo
22:54 - Transistor Motor Control
29:52 - MOSFET RGB LED Strip Light Control
Please note that transistors and MOSFETs are great for controlling DC loads, but not AC. I’ll be showing you how to control AC loads in a future video.

Пікірлер: 657
@lwo7736
@lwo7736 10 ай бұрын
Every DBW video I see, I'm just blown away how well you break stuff down. You're the single reason I'm still doing electronics
@pirojfmifhghek566
@pirojfmifhghek566 4 жыл бұрын
Of all the damn arduino mosfet videos out there, this is THE BEST one out there for understanding the process from beginning to end. I am eternally in your debt.
@smileforworldmotivationcha7144
@smileforworldmotivationcha7144 2 жыл бұрын
I dont understand why such great channel has a few subscribers. Why on earth?
@bluehornet6752
@bluehornet6752 4 жыл бұрын
Definitely one of the most fantastic learning channels on KZfaq. Great learning for folks just getting into electronics--and even a great review for people who've not done this stuff for a while.
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@cloviscareca
@cloviscareca 3 жыл бұрын
this channel is GREAT. This guy captures exactly the possible doubts that could be in our mind, and answer they BEFORE we even ask it! That's a teacher!
@Doeff8
@Doeff8 3 жыл бұрын
Yes, together with bigclivedotcom they do a hell of a job on learning us a LOT.....
@NewYorkeez
@NewYorkeez 4 жыл бұрын
The man speaks with confidence, I call that Knowledge. Thanks
@scottmcclements7566
@scottmcclements7566 3 жыл бұрын
I call that a politician.
@englishrupe01
@englishrupe01 3 жыл бұрын
@@scottmcclements7566 No.....this man does not lie.
@sigitdwitanto6556
@sigitdwitanto6556 3 жыл бұрын
@@scottmcclements7566 L
@adaum79
@adaum79 4 жыл бұрын
Great. Your slow way of speaking makes learning much easier, even for those who don't speak English natively, like me. Congratulations!
@abshproelec4537
@abshproelec4537 3 жыл бұрын
Absolutely !
@tpobrienjr
@tpobrienjr 3 жыл бұрын
Thanks for wearing the static wrist strap. It demonstrates a good habit.
@doublestarsystem
@doublestarsystem 4 жыл бұрын
Spending 51' watching this video was a beautiful experience where i learnt a lot about automated systems...thank you brother
@hondaromio
@hondaromio 4 жыл бұрын
In love with your shop, absolutely amazing
@darrenstettner5381
@darrenstettner5381 4 жыл бұрын
I’m so jealous of this guys workspace. That is some magnificently ocd organization. Beautiful!
@vinayb5076
@vinayb5076 3 жыл бұрын
Same feeling bro
@rfdave3980
@rfdave3980 2 жыл бұрын
Yeah mine is so messy. I am slob. Haha
@ovalwingnut
@ovalwingnut 2 жыл бұрын
Ah, that has to be all CGI. Nobody has that COoL a shop! :O)
@mtylermartin
@mtylermartin 2 жыл бұрын
This is why I keep coming back to these videos.... workshop envy
@stevejohnson1685
@stevejohnson1685 2 жыл бұрын
What? Your workshop doesn't have every tiny drawer labeled and every tool in its own place on a pegboard? And a power supply spanning the gap at the bottom, and two voltmeters? and a resistor color guide?
@rachelblack3816
@rachelblack3816 3 жыл бұрын
This is the cleanest and neatest shop that I've ever seen. Wow.
@mattgeo5039
@mattgeo5039 3 жыл бұрын
i was just about the say the same thing. shows he is very organized. being organized says a lot about how you think and work. I would trust this man with my electronics or projects.
@mattgeo5039
@mattgeo5039 3 жыл бұрын
@@Dimprecator lol lol lol lol lol .. good one .. i knew in my gut i was putting my foot into some dark deep areas lol lol
@chrisbraid2907
@chrisbraid2907 3 жыл бұрын
@@Dimprecator a desk is not the same as a workbench ....
@martijnvenselaar4760
@martijnvenselaar4760 4 жыл бұрын
Hey, I just want to say I love your channel and it's really helping me a lot in my projects!
@jankorteweg1
@jankorteweg1 4 жыл бұрын
Another fantastic educational video from our teacher.
@isoguy.
@isoguy. 4 жыл бұрын
Great vid, any coverage of transistors, mosfets, bjt's etc. Will always stimulate healthy discussion. Can hardly wait for the next vid in this series. Thanks for sharing. 👍👍👍👍👍
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@Taran72
@Taran72 4 жыл бұрын
Thank you so much for the video! It will definitely help me in my DC motor drive projects. Until now I was working with small motors for rc cars and wanted to move to the next step and drive bigger motors.
@glenmerwyn5195
@glenmerwyn5195 4 жыл бұрын
Your teaching and videos are so wonderful. I'm very grateful that there's people in the world teaching like you do. Awesome stuff !! Thanks !! (Watching from NZ)
@rk-do
@rk-do 4 жыл бұрын
Fantastic! Thanks a lot for all your great, inspiring work & tutorials. Really nice that you provide a fancy website along with the videos with the detailed articles, code snippets, lib downloads and of course the PDF version of the articles. I really like your clear way of explaining things. Best wishes!
@ryancousins
@ryancousins 4 жыл бұрын
You are so good at clearly explaining how everything works. Thank you!
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@irgski
@irgski Жыл бұрын
You Sir are one of the few ppl on YT who use esd protection - wrist strap and dissipative foam for lining your parts drawers. Bravo!
@TheJimtanker
@TheJimtanker 4 жыл бұрын
I just found your channel and I love it. I've been working with Arduinos and electronics for years and I'm learning some things from your channel.
@gr_excel
@gr_excel 4 жыл бұрын
I'm from Mafra, SC, Brazil and YOU are my main reference for my electronics-related learning. Great explanation, direct, precise and organized! Congratulations for your videos! PS: i just LOVE your workshop!
@arthurmorgan8966
@arthurmorgan8966 3 жыл бұрын
Amazing. In older days we would have to pay for a class of this quality at a private workshop.
@Phipanjo
@Phipanjo 3 жыл бұрын
I viewed a lot of videos about transistors/mosfets but now I really got it. Thank you, very good tutorials!
@immortalsofar5314
@immortalsofar5314 4 жыл бұрын
Thanks for this. I learn by solving problems and your videos act as a good bridge from application to theory. Sure, I'll probably spend the first couple of years being asked why I didn't know something obvious that's taught in 101, but after that I usually (in software, at least) end up doing stuff simply because I hadn't been taught that it can't be done.
@StephenKoplin
@StephenKoplin 3 жыл бұрын
This was an excellent tutorial! Thank you for being so thorough, and most importantly for going SLOW!
@JerryEricsson
@JerryEricsson 2 жыл бұрын
Really cool! I had a set of those about that long around the windshield of my Class A Motor Home for holiday use. They are still stuck up there and have been for over 6 years, it came with an AC to DC power supply with built in controller so I ran it off that. We used to head south in November from South Dakota, and come home in March from Arizona so it was a home for me and my wonderful wife (RIP) who was taken from me because the hospitals shut down just when the cancer made itself known if she could have been tested, it could have been stopped but the test was considered non essential surgery so she had to wait 3 months and by then the cancer had invaded most of her body. It was a long 3 months at home while I with the aid of my daughter cared for her as the cancer ate away at her fragile body. In the end she spent 4 days in hospital till her last breath was taken, with me on one side and my daughter on the other holding her hand as it was exhaled for ever. Damn covid! She did not have it but the government kept her from the test and at the time there were NO CASES and the hospital sat empty!
@shvideo1
@shvideo1 4 жыл бұрын
An incredibly practical and absolutely fantastic video. I love your teaching style and the comprehensiveness of your topics. Thank you for taking the time to share your knowledge. This is a gem of a channel.
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@vogel431
@vogel431 4 жыл бұрын
Great video! Clear and easy to follow. You mention everything that is needed to mention, which makes it comfortable to follow. Thank you.
@MindTrip888
@MindTrip888 4 жыл бұрын
You're The Man! Thanks for all your efforts. You're fast becoming my favorite teacher! Almost everything I want to do, you have already have the videos made! Timing is everything. What an adventure... Subscribed and checking out the website and forum. Good technology is less costly these days to bring this all together like never before in history. Android USB OTG to a Arduino Mega, is quite possibly the greatest simple potential for AI robots.
@kengiosi3589
@kengiosi3589 4 жыл бұрын
High quality quality education and no student loans. Amazing. THANK YOU
@SuperGanga2010
@SuperGanga2010 4 жыл бұрын
Code suggestion: use #define and/or const variables instead of regular global variables for static values (pin #, physical constants, etc). Why? This matters when memory is a constrained resource. The compiler puts #define values and const variable values into the machine code, which is stored on Arduino's flash memory. In contrast, the compiler allocates space for regular global variables in Arduino's SRAM. Arduino UNO has only 2K of SRAM, but 32K of Flash. The other reason is readability. You can use #define and/or const variable to implicitly document that this value does not change during runtime. A regular variable suggests that the value might change.
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@alanmusicman3385
@alanmusicman3385 2 жыл бұрын
An excellent introductory tour - and for those of us doing mainly digital electronics you cover most of what we need to know about interfacing our puny logic circuits to the power hungry big-boys world of motors, relays, solenoids and lamps. One quick observation. As you noted, the LEDs on an RGB chain get quite hot. Thus, it's NOT a good idea to operate them on the reel like that for very long as they can get heat damaged and you start to get failures. Each individual LED doesn't generate much heat, but on a reel like that each position contains three LEDs (a red a green and a blue) and over a 5M length you may have a couple of hundred of them. When theyy are spread out its not really noticeable, but when they are reeled up tight together like that they generate quite a lot and if used for long they might overheat and fail.
@beamishjames
@beamishjames 4 жыл бұрын
What a brilliant channel. Keep up the good work, your content and delivery is on point!
@TomAHawk-py6vj
@TomAHawk-py6vj 4 жыл бұрын
37:04 for anyone doing this for the first time, uncoil these. I learned the hard way LEDs can produce enough heat to cook themselves. Never thought about that until this very moment.
@farhanyousaf5616
@farhanyousaf5616 4 жыл бұрын
Good tip!
@DaleDix
@DaleDix 4 жыл бұрын
And there would be a gazillion in there with them all being flat!
@henrikbakk1
@henrikbakk1 6 ай бұрын
Very informative! I'm a complete n00b, and wanted to make a delay-timer on a fan in a 3D-printed enclousure. This is now far more approachable after watching your video - thank you so much!
@CXensation
@CXensation 4 жыл бұрын
Very good informational video, which basically demonstrates how to replace the good old mechanical relay with a modern MosFet transistor.
@wilsonlalo4033
@wilsonlalo4033 4 жыл бұрын
Very educational it open my eyes with a new whole perspective. Iam now beginning to have interest in electronic hobby
@TheHellfiremissile
@TheHellfiremissile 2 жыл бұрын
Hi Bill. When watching this I thought that it might be an idea one day to show people how you progress from a fritz diagram to a maze of wires on a breadboard. I think some people (me included) have difficulty transferring from design to a pile of component placement and wire alignments. Cheers and thanks for your works.
@christianfacunla7550
@christianfacunla7550 3 жыл бұрын
Thanks man, you are one of the few jewels here on youtube
@h4tt3n
@h4tt3n 4 жыл бұрын
Your videos are really, really well made - I enjoy watching them and learn a lot. After having watched your videos on stepper motors and servos, would you please consider making a tutorial on the similar hobby-sized brushed DC motors with rotary encoders installed on them? They come with either optical or magnetic encoding, some with a single sensor, and some with AB encoding like in rotary encoder knobs.
@JohnSmith-td6dn
@JohnSmith-td6dn 3 жыл бұрын
This was great! I don't have the components yet for this. But now I do have the urgency to get them. This is so over my skill level so far. You set this up and explained it so well I'm going to give it a try anyway.
@adnanaamir23
@adnanaamir23 4 жыл бұрын
Sir. Good teacher. You speak very gently and slowly. Which is good for non English people like us. Appreciate.
@danielmeecham464
@danielmeecham464 3 жыл бұрын
Thank you sir! I really needed to hear the description and function of these transistors. It is tremendously helpful!
@user-by2bs4kp7b
@user-by2bs4kp7b 2 жыл бұрын
I keep getting flashbacks of "the office" TV series with your intro music It's good
@tinkmarshino
@tinkmarshino 4 жыл бұрын
outstanding Bill! thanks for this one.. it helps to explain things to me..carry on, and be safe brother.!
@aryanmishra5591
@aryanmishra5591 4 жыл бұрын
Perfect wanted you to do this for a long time.
@MilMike
@MilMike 3 жыл бұрын
thanks! I was searching for this for weeks. I asked people on the internet how to do this but your video finally explains it well. Exactly what I need. I want to switch the christmas lights (4.5 V DC) using an arduino because I am lazy to stand up, go to the switch and use my own fingers to turn it on or off. Now I can control the lights via wifi. :))
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@mobilisem3603
@mobilisem3603 4 жыл бұрын
I was able to complete a project I've been struggling with for ages now. Really helpful so thank you very much!!
@Ravewayvideos
@Ravewayvideos 4 жыл бұрын
just to share. i`m impressed, after youtube autoload this video while i was making something else, my brain recognize your voice... WOW how long i met you. =) Nice to see you again. Keep safe.
@daveb7999
@daveb7999 2 жыл бұрын
This was a very helpful video. I'm new at using an Arduino (Elegoo Starter Kit) and have a great thirst for learning electronics. You really helped me understand more about transistors. Thank You!
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@Beerbatter1962
@Beerbatter1962 3 жыл бұрын
Good stuff sir. Fairly comprehensive while still being practical and to the point. Well presented and easy to follow. Keep it coming, and most importantly, thanks for creating.
@N.A._McBee
@N.A._McBee 4 жыл бұрын
Knowledgeable and detailed, great stuff, mate! Thx a lot!
@braddixon3338
@braddixon3338 3 жыл бұрын
Another great video very well explained and appreciated. One correction though, with the reverse biased diode across the transistor when driving the inductive load, it isn't there for the initial counter emf when the voltage is first applied, rather it is for when the field collapses, as when the applied voltage is reduced. counter emf will resist any initial current flow, the collapsing magnetic field with the inductive load will produce whatever voltage is required to drive enough current to collapse the field. it is this created voltage during the collapsing field that will pop your transistor without the reverse diode in place.
@TheYear-dm9op
@TheYear-dm9op 2 жыл бұрын
I was wondering about that too. Thanks for setting my world right again.
@markc9871
@markc9871 4 жыл бұрын
Great simple explanation of a complex subject. Your graphics are priceless.
@panicfarm9874
@panicfarm9874 4 жыл бұрын
Really appreciate the hard work you put into your video thanks
@jakubpukovec7755
@jakubpukovec7755 4 жыл бұрын
Love your channel, excellent explanation as usual. Thank you, you're a great teacher!
@Capta1nZeb
@Capta1nZeb 4 жыл бұрын
That was perfect. Thank you so much. I’m headed straight to my workbench yo finish my project.
@davidelm5401
@davidelm5401 4 жыл бұрын
I love your videos. I learn a great deal from them. I just wanted to clarify the comments about the diode. Inductive loads resist starting and stopping their current flow. They act kind of like a flywheel. When the circuit tries to stop the motor or coil current suddenly the collapsing magnetic field attempts to keep the current flowing the same direction resulting in a large spike of voltage which can destroy the transistor. The diode allows a backward current to flow around the coil which prevents damage to the circuit.
@raykent3211
@raykent3211 4 жыл бұрын
Well said! It's so much easier to think in terms of current than back emf. Nature won't let the magnetic field collapse in zero time, so we allow the current to continue flowing in the SAME direction through the coil by adding the diode. And the energy stored in the magnetic field gets converted to heat in coil and diode rather than some other unfortunate component.
@CraigMansfield
@CraigMansfield 2 жыл бұрын
Very good. Just what I need for my project. Thank you. Very well made video
@kawdjer6463
@kawdjer6463 3 жыл бұрын
Not even a 1 second is wasted, thanks. Very good video from start to end. Explained what is transistor a general info, and how to use them in curcuit, circuit cables and connections made very clear with drawings. Nice informations and warnings along the video are also nice.
@bhushantipnis8111
@bhushantipnis8111 4 жыл бұрын
I am an Industrial engineer with hands on experience on electronics, but never on the digital systems. I started viewing your videos and voila...here i am bringing ideas to life....Thanks...would like to connect more with you. Appreciate your work a lot..Please let me know how to get in touch with you if i have missed out reading or hearing if you ever mentioned how to do so.
@thesewalkamongstus8367
@thesewalkamongstus8367 4 жыл бұрын
A very useful and interesting video. Thank you for yet again more tips and advice.
@avp8430
@avp8430 2 жыл бұрын
Really cool, straight-forward, clearly and easily explained. This guy makes the world a better place. For some electronics noobs and enthusiasts at least.
@MMKurdia
@MMKurdia 4 жыл бұрын
It's a really great video, I liked it a lot. It's a bit slow, so it's easily watchable at 1.5x playback speed. Thanks.
@sudarapremathilaka1706
@sudarapremathilaka1706 4 жыл бұрын
Great video tutorial. Clearly explaining all the things. Thank u so much.
@fabiuh991
@fabiuh991 4 жыл бұрын
oh I totally missed this, thanks for sharing
@giorgioventurini2856
@giorgioventurini2856 Жыл бұрын
Thanks a lot for all this work, which becomes a "must watch" for all makers.
@CarlinComm
@CarlinComm 4 жыл бұрын
Hey that's a lot easier than I thought it would be. Thanks so much for making these videos!
@iracreativeworld8323
@iracreativeworld8323 Жыл бұрын
kzfaq.info/get/bejne/hdJ3q86I2dXUeZs.html
@tinitops8945
@tinitops8945 4 жыл бұрын
Thanks Bill for the video. It will helps me a lot as a beginner with Arduino. as useal you are very clear in the workshops.
@domcognato378
@domcognato378 2 жыл бұрын
Saw this last weekend. Helpful video
@sujitvasanth2502
@sujitvasanth2502 3 жыл бұрын
brilliant - I havent seen this type of tutorial before! really great
@user-hw9hu9kl3c
@user-hw9hu9kl3c Жыл бұрын
Fantastic! Thanks a lot for all your great, inspiring work & tutorials.
@meestahwah
@meestahwah 4 жыл бұрын
Sure do enjoy the information you present in your videos.
@sameerk12982
@sameerk12982 4 жыл бұрын
Hello from India Sir.....thank you very much for creating such informative videos .....your videos and teachings are helping a lot....the way you teach us by doing practical things is the best way to teach....God bless you with good health and happy life....always looking for more from you.
@iot_enthusiast
@iot_enthusiast 3 жыл бұрын
thoroughly enjoyed the fundamentals of electronics :)
@viniciusmatheus8660
@viniciusmatheus8660 4 жыл бұрын
Thank you teacher ! a hug for you from Brazil !
@SusanAmberBruce
@SusanAmberBruce 4 жыл бұрын
Lovely jingle and beautiful workshop
@glenwolmarans7078
@glenwolmarans7078 4 ай бұрын
Thank you so much for sharing this knowledge and well explained and demonstrated.
@user-em2ly3bq4h
@user-em2ly3bq4h 3 жыл бұрын
Идеальный порядок в мастерской,респект!
@CoderDad
@CoderDad Жыл бұрын
That's a top level demonstration / tutorial. Thank you.
@michelperrotti7824
@michelperrotti7824 Жыл бұрын
By far, the best channel on KZfaq. Many thanks for your time.
@HairyTheCandyMan
@HairyTheCandyMan 2 жыл бұрын
I love your channel! You're crazy good at teaching this stuff. Thanks!
@jimbodee4043
@jimbodee4043 2 жыл бұрын
Very informative and consistent detail. Nice examples in the real use.
@michaelsaayman4652
@michaelsaayman4652 5 ай бұрын
Thank you for such informative well structured lessons. Really do appreciate these lessons!
@freedtmg16
@freedtmg16 2 жыл бұрын
Such a soothing voice, you actually remind me of my electronics instructor in high school (technical high school).
@jjl6519
@jjl6519 4 жыл бұрын
Great video, I always learn something from your videos, please keep them coming, thanks
@dan-o6457
@dan-o6457 Жыл бұрын
Thanks for sharing your knowledge!!!
@SaintAngerFTW
@SaintAngerFTW Ай бұрын
Thank you SIR.... you are the real G Bill
@andreweastland9634
@andreweastland9634 2 жыл бұрын
The arduino already has a pullup resistor built in, you don't need the external pullup, just set pinmode to INPUT_PULLUP to enable it.
@KK-rg3nj
@KK-rg3nj 3 жыл бұрын
Best 40 minutes I've ever spent
@hthharrison7764
@hthharrison7764 2 жыл бұрын
Exactly what I've been looking for, thank you 👍
@bennylloyd-willner9667
@bennylloyd-willner9667 3 жыл бұрын
Oh, how I love when the teacher speaks calmly and without "youngsters" loud cheering and "cool" expressions! THANK YOU!
@Thebasicmaker
@Thebasicmaker 3 жыл бұрын
Using your video about the lidar I made a sensor for a photographer that wants to take pictures of bats, and it was easy! The first time I used a lidar and Arduino!
@antonioyzarra651
@antonioyzarra651 Жыл бұрын
I am very grateful for the explanations and suggestions, the truth is that he takes knowledge to the highest level very seriously, thank you very much. Please do not stop with this brilliant way of approaching electronics.
@decem_unosquattro9538
@decem_unosquattro9538 3 жыл бұрын
Very good explantation of how it works. Most interesting.👍🏻
@donupanandaamarasinghe1640
@donupanandaamarasinghe1640 4 жыл бұрын
Thanks for Wonderful workshop in back ground; clear flow of lesson and practical guide
@michaelhawthorne8696
@michaelhawthorne8696 4 жыл бұрын
Great information and very slick graphics (Presumably many hours with Power Point) I think your information is a good resource, Thank you
@shinzon0
@shinzon0 Жыл бұрын
You should always use a gate resistor, since capacity of the gate of a MOSFET causes a high current when switching on, which could destroy the I/O pin of the arduino.
@foxfyre3600
@foxfyre3600 4 жыл бұрын
Reverse back-EMF is created when the motor is turned off, not when it powers on. Inductors resist changes. The diode in reverse-parallel conducts the back-EMF back into the motor to absorb it's own energy also stopping itself faster. The disadvantage is that you can not drive the motor in reverse by simply reversing the polarity. Most MOSFETs are designed with a diode built in to prevent any back-EMF damage but BJTs do not.
@badenmelhuish3215
@badenmelhuish3215 4 жыл бұрын
You are correct, that the back-EMF is when motor is turned off not when turned on. You can make the motor go in reverse by simply reversing the polarity. Just reverse polarity to the motor, but not the diode. You could do this with a DPDT Switch between the diode and the motor. If you wanted to reverse the motor under software, things get very much more complicated. Two Zener diodes back to back would work, but you would still have the problem of reversing the control voltage. cheers.
@crossistapercaso6080
@crossistapercaso6080 3 жыл бұрын
He is using PWM to control the speed of the motor, so it is continuously turned on and off hundreds times a second.
@RexxSchneider
@RexxSchneider 2 жыл бұрын
The body diode in the mosfet is connected in reverse parallel with the mosfet, so it clamps the drain to the negative supply to suppress negative spikes. But that's not the issue with driving inductive loads connected to the drain, which will be pulled positive when the current through the inductor stops. The body diode won't stop the drain from exceeding its maximum voltage rating as it's reverse-biased as long as the drain stays positive. You need the flyback diode when driving inductive loads from any type of semiconductor.
How MOSFET Works - Ultimate guide, understand like a PRO
20:14
The Engineering Mindset
Рет қаралды 949 М.
Power For Your Electronics Projects - Voltage Regulators and Converters
37:26
DroneBot Workshop
Рет қаралды 1,2 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,8 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 11 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 25 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 551 М.
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Рет қаралды 613 М.
Using Basic Logic Gates - With & Without Arduino
1:03:51
DroneBot Workshop
Рет қаралды 552 М.
MOSFETs and How to Use Them |  AddOhms #11
7:46
AddOhms
Рет қаралды 3,7 МЛН
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Уроки Ардуино #9 - управление нагрузкой MOSFET транзистор
5:47
Linear DC Power Supplies - Designing & Building Custom DC Power Supplies
1:12:39
Let's play with our MOSFETs! Part 1: Basics and NMOS logic
49:37
Robert Baruch
Рет қаралды 214 М.
Designing Power MOSFET Circuits - Circuit Tips and Tricks
20:10
MicroType Engineering
Рет қаралды 331 М.
Что она делает?
0:34
Почему?
Рет қаралды 3,9 МЛН
готова дочка 🤣
0:13
Равиль Дукат
Рет қаралды 13 МЛН
УТОПИЛА ДОРОГУЩИЙ ТЕЛЕФОН 😭
1:01
Аня Панкова
Рет қаралды 10 МЛН
Best KFC Homemade For My Son #cooking #shorts
0:58
BANKII
Рет қаралды 12 МЛН