Using MOSFETs with an Arduino

  Рет қаралды 28,184

learnelectronics

learnelectronics

Күн бұрын

Using MOSFETs with an Arduino
Get 5 PCB's for $5 (plus shipping) - www.pcbway.com/
In this video we look at which type of N channel E Mode MOSFET to use with an Arduino. We look at why using the stanrd IRFP type is not the best because of the gate threshold voltage.
100,000 Subscriber Celebration Giveaway: forms.gle/i8uq...
My Amazon link: Anything you buy through this link helps support the channel, it doesn't cost you extra, and I make a few%. amzn.to/3706t6c
Yes!! I now have merch: teespring.com/... Electronics themed T-ShirtsIf you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ www.amazon.com...
Please check out / learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appreciated.
---------------------------------------------------------------------------------------------------------------------
Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
----------------------------------------------------------------------------------------------------------------------
This company offers a credit plan for Amazon items, maximum interest rate is 21% but on short term items it's 0%. I don't make any money off of these purchases, just thought it was neat.
Buy Now, Pay Later with Abunda:
Rigol ds1054z - www.shopabunda...
Siglent technologies oscilloscope - www.shopabunda...
Power supply module - www.shopabunda...
Owon oscilloscope - www.shopabunda...
Alloet multi tester - www.shopabunda...
Walfront multi tester - www.shopabunda...
Here is all the gear I currently use:
Oscilloscope 1: Rigol 1054Z amzn.to/2PRybtN
Oscilloscope 2: Siglent SDS1202X-E amzn.to/31Kk1yH
Power Supply 1: TekPower TP3005N amzn.to/2TeQnxI
Power Supply 2: RUIDENG DP50V5A amzn.to/2sNicSe
Signal Generator: JS2800 ban.ggood.vip/...
DMM1: Owon18B amzn.to/2SbIGLs
DMM2: Aneng 8008 amzn.to/2sNQncI
DMM3: Aneng 8009 amzn.to/2S5qeEp
DMM4: Uni-T UT801 amzn.to/2S89SuL
Soldering Station1: Zeny (Yihua)862D+ amzn.to/2S49z4e
Soldering Station2: KSGR T12 amzn.to/2Wk7Dn9
Light Meter Smart Sensor AS803 amzn.to/2B2gyRg

Пікірлер: 80
@Teklectic
@Teklectic 3 жыл бұрын
A perfect example I ran into of where you might use a logic-level MOSFET is on the main board for my 3D printer. The original designers opted for standard MOSFETs to run the heaters, the result of this was the requirement for heat sinks and active cooling to keep them cool, they easily reached over 90C. I replaced those with logic-level MOSFETs and no longer needed the active cooling; they stayed at around 24C during operation.
@Batselot
@Batselot 3 жыл бұрын
This channel is really fun when you are just chilling and trying to learn new stuff at electronics. Great work!
@mikeoliver3254
@mikeoliver3254 3 жыл бұрын
If you use logic level MOSFET’s they tend to stay cooler so you don’t need huge heat sinks as they turn all the way on when you are using 3.3v circuits too. Great video Paul, almost to that 100,000.
@daveb7999
@daveb7999 2 жыл бұрын
Current at the Base vs Voltage at the Gate ... great lesson in Current conservation, thanks Paul. The lightbulb over my head just went High.
@inspectormills3290
@inspectormills3290 3 жыл бұрын
I really don't know where else I would get such great practicle electronics knowledge. Thanks
@anishhansoge17
@anishhansoge17 2 жыл бұрын
Superb video!! This video cleared all my doubts about MOSFETs!! Thanks a lot!
@stevetobias4890
@stevetobias4890 3 жыл бұрын
Thanks Paul, great video as always. I like to check the data sheets before deciding what MOSFET's I decide to use. Always a great way of saving you from making silly mistakes
@tav9755
@tav9755 3 жыл бұрын
Great work again. Appreciate your work Paul. Lets lift you up through 100K subs! Keep going!
@learnelectronics
@learnelectronics 3 жыл бұрын
Thanks a million!
@ChrisFredriksson
@ChrisFredriksson 3 жыл бұрын
First time I really understand what kind of mosfet to get - Thank you! :) Now.. to find a project where I need to switch a lot of current.. =D
@michaelpadovani9566
@michaelpadovani9566 3 жыл бұрын
Great video and explanation Paul, I actually never had a use for MOSFETs in my circuit designs ... YET!
@snottythe-snorlaxian4503
@snottythe-snorlaxian4503 3 жыл бұрын
I do not fully understand, but I am enlightened & will watch again.
@leegoodair4678
@leegoodair4678 3 жыл бұрын
Hey Paul, thanks for another really helpful video 👍 I really like your content your cheerful manner even though it must be difficult for you at times with your health issues. Take care of yourself dude and stay safe 😎
@warrenking1815
@warrenking1815 3 жыл бұрын
Excellent point,especially when using common ebay parts which have less than perfect outputs!
@tonysfun
@tonysfun 3 жыл бұрын
Nice and clear video, explained it well also! Thank you for making these videos!
@moebiusfan9545
@moebiusfan9545 3 жыл бұрын
Another useful video with a clear explanation. Thanks Paul!
@tvdylan
@tvdylan 5 ай бұрын
love the video !! im just about to attempt a gate driver circuit on my mosfet !! high speed, significant amperage and 12-36 volts on the input , what are the basic protection components i might need ? is it mostly just that 10k resistor to pul down the voltage quickly and safely ? : ) cheeers !!
@ficho1234
@ficho1234 3 жыл бұрын
Thanks a lot! Really helpful! Please consider making video about data sheets of other common components, it is really hard for beginner to extract important stuff from mountain of information.
@RC-Flight
@RC-Flight 3 жыл бұрын
“Brain fart” OH I was wondering what that smell was!
@minus5m
@minus5m 2 жыл бұрын
Are you a voice actor by chance? You should be if you arent! That voice is a gift!
@learnelectronics
@learnelectronics 2 жыл бұрын
Nope, just an old engineer
@nigeljohnson9820
@nigeljohnson9820 3 жыл бұрын
It's hard to find MOSFETs that will operate from a processor operating on a 3.3 volt supply or lower. In this case I use a low current bipolar transistor as a buffer. The virtue of the silicon bipolar transistor is that it only requires approximately 0.7 volts to saturate the base emitter junction, making it an ideal buffer. A common emitter buffer is very useful for switching on a p channel enhancement mode power MOSFET. The alternative solution might be to fit an opto coupler, allowing a 3.3 volt processor to switch on the gate of a MOSFET working at a much higher supply voltage. The only limitation being the amount of current an opto output transistor can source into the mosfet gate. There are OPTOs with Darlington output stages that help. There are also more expensive MOSFET OPTOs. I have used these to disconnect the I2C bus data and clock lines, connecting different, and separately powered, modules together on a ribbon wire bus. ( OPTO Toshiba TLP597G) When power is removed from one module, the OPTO stops the unpowered module bus from pulling down the I2C bus lines on the other units. The OPTO I am using has only a one ohm resistance when on and practically infinity when off. This make it idea for connecting in series with the I2C bus lines.
@otroblogdemarcelo
@otroblogdemarcelo 3 жыл бұрын
Thanks! Always have doubt with Logic Level Mosfets! Cheers from Argentina!!!
@englishrupe01
@englishrupe01 3 жыл бұрын
Thanks, Paul! Great demo and explanation!
@ionix2000
@ionix2000 4 ай бұрын
Very good video. Thanks. Appreciate it!
@ninjutsuryu1161
@ninjutsuryu1161 3 жыл бұрын
Thanks for the video. Can you also do one on driving a P channel MOSFET?
@davethedaemon9024
@davethedaemon9024 3 жыл бұрын
FYI - I found a good p-channel "logic level" mosfet from Mouser Electronics. NDP6020P has a 70ns fall time, 30ns rise time. I tested at 3.3v and it was around 7 milliohms at 1/2 amp. (I can't test it at the rated 24A.) It wasn't bad at 1.5v in the 10's of milliohms. The downside is the gate-source max is +/- 8V. I intend to make a multi-rail power supply with a common ground - monitored and controlled with an arduino. Turning the separate rails on and off require p-channel mosfets. And I will monitor voltage and current with multiple ADS1115's.
@deankq4adj125
@deankq4adj125 3 жыл бұрын
Another great teaching video! Excellent job!!
@puzzlefactorysoundstudios
@puzzlefactorysoundstudios Жыл бұрын
Wow, what a fantastic video. Thanks so much for making it, I've learned a lot more about reading datasheets! If I'm driving a IRLML6344 MOSFET from an ESP32 pin, would I need a series current limiting resistor? Vgs(th)=0.8v, Id = 10μA and Vds = Vgs for this model.
@aeropeoplellc8160
@aeropeoplellc8160 3 жыл бұрын
This is awesome. @learnelectronics Can you also make a video for gate driver circuitry both ic and discrete components please.
@marceloandrade225
@marceloandrade225 3 жыл бұрын
I didn´t know this. Thank you!
@davedouglas5732
@davedouglas5732 3 жыл бұрын
Yup. That helps.
@dogeeatsveggies
@dogeeatsveggies 3 жыл бұрын
thank you so much! ♥
@electronic7979
@electronic7979 3 жыл бұрын
Very helpful video
@themrchappi1
@themrchappi1 5 ай бұрын
Thanks! Great video!
@danbutler8741
@danbutler8741 3 ай бұрын
Nice video. In comparing the two MOSFETs, you seem to be assuming that all Arduinos are running at 3.3V, which isn't necessarily a valid assumption. I've been using Arduino Nano, which runs at 5V. So it seems to me that either one would likely be just fine, and not a lot of difference between the two. Am I missing something? (NOTE: I don't really have much experience using MOSFETs--so this is is really more of a question than anything. I'm here to learn!)
@baldrickdaisy8982
@baldrickdaisy8982 3 жыл бұрын
Great info... thanks Paul 👌
@uditfand817
@uditfand817 3 жыл бұрын
Thanks your videos are very informative keep it up
@andrasbradacs6016
@andrasbradacs6016 3 жыл бұрын
Great video! Can you make a video about the mosfet’s ratings? I mean there are a lots of properties of a mosfet and for example if I want to drive a 3.7V motor with Arduino PWM, which are those properties that I have to consider for choose the right mosfet.
@markposner7803
@markposner7803 3 жыл бұрын
Awesome video! In the past I've used the IRLB8721PBF with fanominal results using 3.3v logic and running 250mA through the drain. I wonder how it would compare to the logic level mosfet you tested...
@JasonLeaman
@JasonLeaman 3 жыл бұрын
Wicked video ! I love the brain fart ! that added character to the video ! Very Human Like !
@englishrupe01
@englishrupe01 3 жыл бұрын
Who is Brian.....and when did he fart? I must have missed it.
@Adikimenakis
@Adikimenakis 3 жыл бұрын
Well, if you look at the I-V curves you can have about 70-80 amps with a Vgs of about 5 volts for the irf mosfet... So no problem!
@klausbrinck2137
@klausbrinck2137 4 ай бұрын
I don´t know a lot about electronics, but noticed, that people use many gate-driver-designs... Is a LL-mosfet also in need of those drivers, or does the fact, that it conducts at 1,3v, lets it work finely even with solely an arduino? I´m thinking thereby of course on the switch-on/off-speed of the mosfet. In other words, turning on already at 1,3 out of 5 available volts, lets it turn on faster (shorter turning-on time), cause at just 1,3v the arduino has more mA left to give, and thus shorten the turning-on-time (????????????) In my case, I want to drive cleanly a mosfet at 5-30kHz, 1-2Α (so, not long delays while turning on/off), and looking for any easy way to do it, without having to study electronics first... ;-( Thanks á priori for every answer...
@johanndohmann1281
@johanndohmann1281 3 жыл бұрын
Hello Paul. Thanks a lot for this nice video. Best wishes for you from Germany.
@CasaMaryParadise
@CasaMaryParadise 2 жыл бұрын
Nice stuff!
@RD-ni7qe
@RD-ni7qe 3 жыл бұрын
Just to clarify - is the NTE2985 only suitable for 5V Arduino boards, or will it also work fine with 3.3V Arduino boards?
@learnelectronics
@learnelectronics 3 жыл бұрын
It will work, at about 66% on a 3.3V Arduino
@RD-ni7qe
@RD-ni7qe 3 жыл бұрын
@@learnelectronics thanks! Is there a more suitable MOSFET you could recommend which will switch 100% with a 3.3V Arduino?
@Electromakerio
@Electromakerio 3 жыл бұрын
Interesting video! We would love to see more community MOSFET projects over on Electromaker.io!
@nsummy
@nsummy Жыл бұрын
Maybe a dumb question, but wouldn't both of these work equally as well with a 5v arduino? I am just now learning about mosfets but all of the examples I have seen send a pwm signal to the mosfet. It seems like in this video you are just showing the voltage that these things activate and in both cases 5v is sufficient.
@dalenassar9152
@dalenassar9152 2 жыл бұрын
Isn't it correct that even a mosfet gate can draw significant CURRENT from the Arduino OUT pin if using it's high rise/fall times at a high frequency (or even low frequency) since the mosfet gate capacitance is charged and discharged quickly because I=dQ/dt? For example if the mosfet required 50 uC to charge it's gate capacitance and the rise time is 300ns, then the peak current draw from the pin is 166mA !...seems bad if a 1W LED was pulsed continuously at a fast rate for something like dimming applications. THANKS FOR ALL OF YOUR SUPER VIDEOS. I HAVE LEARNED GREATLY FROM THEM!!!
@Arslab.random
@Arslab.random 8 ай бұрын
Try using a low RDS(on) or a logic level mosfet
@imho2278
@imho2278 3 жыл бұрын
Good info. I'm trying to light up lots of leds in parallel using premade led strips. Can I run them at a mere 1.2v with the correct MOSFET?
@lubricatedgoat
@lubricatedgoat 3 жыл бұрын
Make sure to limit the current if the LEDs don't have any sort of protection already. Do you intend to dim them?
@snottythe-snorlaxian4503
@snottythe-snorlaxian4503 3 жыл бұрын
Don't be tellin' me what kind of Logic to use, bro! My Logic is true & pure!! My Logic is comin' straight from Detroit, son!! You feel me!!!!
@leonardofloresramirez6075
@leonardofloresramirez6075 2 жыл бұрын
So the Vgs must be between the minimum and maximun so it's on? Or over? I didn't get it, sorry
@markday3145
@markday3145 3 жыл бұрын
The voltage where the LED turned on was not where the MOSFET was fully turned on, right? You’d need a higher voltage to get the rated resistance? It would have been useful to see that difference.
@learnelectronics
@learnelectronics 3 жыл бұрын
That was just where it started conducting.
@bblod4896
@bblod4896 3 жыл бұрын
🤔 So, instead of using a relay to apply full power to the igniter, the logic level mosfet would work? Perhaps I should rig one up and test that. The change would remove the relay board from the launch computer. Thanks Paul.
@learnelectronics
@learnelectronics 3 жыл бұрын
Stick with the relay
@bblod4896
@bblod4896 3 жыл бұрын
@@learnelectronics Okay.
@MrVosh-nj2lc
@MrVosh-nj2lc 3 жыл бұрын
Hi Paul. As a general rule for MOSETS could you assume that the higher the current rating capability the higher the the required gate voltage?
@Matematyk1996
@Matematyk1996 3 жыл бұрын
Hi Vosh, I hope you don't mind if I answer. General, bog standard Mosfets of all current ranges are usually driven with 10-12V, with gate max voltage at about 15-16 (carefull, some are lower). Generally, higher voltages might be usefull if you want to turn the mosfet on faster ( drive it "hard") - there are some caviats that I'm not a 100% on top of, but thats the general picture. P.S. There are new, emerging semiconductor fet transistors (GaN) that require a lower drive voltage (~7V) but have generally lower on resistance, higher current handling capability, and fast switching at high power (low Cgate).
@MrVosh-nj2lc
@MrVosh-nj2lc 3 жыл бұрын
@@Matematyk1996 Thank you for answering my question. So, I infer that the gate voltage is independent of the current range capability. Those lower drive, high current FET transistors are new to me, thanks for the info.
@davethedaemon9024
@davethedaemon9024 3 жыл бұрын
@@MrVosh-nj2lc Have a look at the NDP6020P for contrast. It's a P-Channel mosfet (opposite polarity to the one in this vid). Rated at 24Amps, but max is 8V. I tested and it works a treat with 3.3v as well as 5v logic. This is still available at Mouser but "Scheduled for obsolescence and will be discontinued by the manufacturer".
@davidkclayton
@davidkclayton 3 жыл бұрын
you could use a darlington transistor
@interbudelblag
@interbudelblag 3 жыл бұрын
it would be hard to drive a high current like 30A through darlington. You can only use 25mA per output in arduino.
@davidkclayton
@davidkclayton 3 жыл бұрын
@@interbudelblag en.wikipedia.org/wiki/Darlington_transistor i don't think Ib would the issue
@josephocampo
@josephocampo 3 жыл бұрын
Is it possible to drive mosfet at high side using arduino?
@davethedaemon9024
@davethedaemon9024 3 жыл бұрын
If by "high side" you mean switching the positive rail on/off and not ground on/off, then yes. But you need a P-Channel mosfet. And the gate needs to go to zero/ground to turn on, and one/positive to turn off. Unfortunately, not many are logic level. See my reply to Ninjutsu Ryu about p-channel mosfets. I found the NDP6020P to be a good 'logic level' mosfet. But it's only for 8V or less. Good for 3.3v and 5v rails, but I will need to do figure out something else for +/- 12v.
@josephocampo
@josephocampo 3 жыл бұрын
@@davethedaemon9024 thanks for the info. However, I need to control N- channel mosfet (IRFZ44N) on the high-side using arduino.
@davethedaemon9024
@davethedaemon9024 3 жыл бұрын
@@josephocampo Ouch. You are picturing the drain of the MOSFET connected to +5 and the source connected to the +load and the load connected to ground? That requires the voltage on the gate to be higher than +5 ... like +7v or better for complete milliohm turn-on. (This is roughly equivalent to an NPN emitter follower circuit.) In this circuit, if you can only give the gate +5V then the highest voltage you can give your load will be lower than 5V ... closer to 3V for your IRFZ44N. This type of circuit needs a P-Channel mosfet or a PNP bipolar for best results. For our needs as switches: N-Channel MOSFETs work best with source connected to (negative) ground, drain to load, and load to positive -- P-Channel MOSFETs with source connected to positive, drain to load, and load to negative. (I hope I remembered my polarities correctly.)
@josephocampo
@josephocampo 3 жыл бұрын
@@davethedaemon9024 drain of irfz44n connected to +32v. I cant get out of switching it from the high-side. Will try to bootstrap using 2n2222 as gate driver. Or will find another way if doesn't work.
@weerobot
@weerobot 3 жыл бұрын
Cool again..
@myscience5684
@myscience5684 3 жыл бұрын
FETs are a headache in calculation in both AC and DC analysis.
@snottythe-snorlaxian4503
@snottythe-snorlaxian4503 3 жыл бұрын
Yeah, if its Bipolar it may not be able to function as well. They have medication for that, though.
@pulesjet
@pulesjet 3 жыл бұрын
IRF540N are cheap.
Easy DIY Analog Look Thermometer with Arduino
22:12
learnelectronics
Рет қаралды 5 М.
MOSFETs and Transistors with Arduino
40:50
DroneBot Workshop
Рет қаралды 1 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 117 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 120 МЛН
#BB4 MOSFETs - From an Arduino Perspective
15:10
Ralph S Bacon
Рет қаралды 23 М.
Diagnosing a faulty PSU
14:05
bigclivedotcom
Рет қаралды 374 М.
MOSFET as a variable resistor
9:42
learnelectronics
Рет қаралды 28 М.
Everything You Need to Know about MOSFETs
35:54
ElectrArc240
Рет қаралды 155 М.
Guide: Properly picking and using MOSFETs!
9:15
Made with Layers (Thomas Sanladerer)
Рет қаралды 343 М.
How to Use N-channel MOSFETs as Switches | A Beginner's Guide
9:17
Core Electronics
Рет қаралды 16 М.
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17