Using MOSFETs with an Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2020
  • 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/i8uqTqt5TQJMti4T9
    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/stores/learnele... Electronics themed T-ShirtsIf you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ www.amazon.com/shop/learnelec...
    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.com/products/r...
    Siglent technologies oscilloscope - www.shopabunda.com/products/s...
    Power supply module - www.shopabunda.com/products/p...
    Owon oscilloscope - www.shopabunda.com/products/o...
    Alloet multi tester - www.shopabunda.com/products/a...
    Walfront multi tester - www.shopabunda.com/products/a...
    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/d9vk
    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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 79

  • @Teklectic
    @Teklectic 3 ปีที่แล้ว +15

    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 ปีที่แล้ว +10

    This channel is really fun when you are just chilling and trying to learn new stuff at electronics. Great work!

  • @mikeoliver3254
    @mikeoliver3254 3 ปีที่แล้ว +7

    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.

  • @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

  • @inspectormills3290
    @inspectormills3290 2 ปีที่แล้ว

    I really don't know where else I would get such great practicle electronics knowledge. Thanks

  • @thebrector3823
    @thebrector3823 2 ปีที่แล้ว

    Superb video!!
    This video cleared all my doubts about MOSFETs!!
    Thanks a lot!

  • @tonysfun
    @tonysfun 3 ปีที่แล้ว

    Nice and clear video, explained it well also! Thank you for making these videos!

  • @michaelpadovani9566
    @michaelpadovani9566 3 ปีที่แล้ว

    Great video and explanation Paul, I actually never had a use for MOSFETs in my circuit designs ... YET!

  • @moebiusfan9545
    @moebiusfan9545 3 ปีที่แล้ว

    Another useful video with a clear explanation. Thanks Paul!

  • @englishrupe01
    @englishrupe01 3 ปีที่แล้ว

    Thanks, Paul! Great demo and explanation!

  • @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 😎

  • @otroblogdemarcelo
    @otroblogdemarcelo 3 ปีที่แล้ว

    Thanks! Always have doubt with Logic Level Mosfets! Cheers from Argentina!!!

  • @daveb7999
    @daveb7999 ปีที่แล้ว

    Current at the Base vs Voltage at the Gate ... great lesson in Current conservation, thanks Paul. The lightbulb over my head just went High.

  • @deankq4adj125
    @deankq4adj125 3 ปีที่แล้ว

    Another great teaching video! Excellent job!!

  • @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.

  • @tav9755
    @tav9755 3 ปีที่แล้ว

    Great work again. Appreciate your work Paul. Lets lift you up through 100K subs! Keep going!

  • @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

  • @baldrickdaisy8982
    @baldrickdaisy8982 3 ปีที่แล้ว

    Great info... thanks Paul 👌

  • @themrchappi1
    @themrchappi1 18 วันที่ผ่านมา

    Thanks! Great video!

  • @uditfand817
    @uditfand817 3 ปีที่แล้ว

    Thanks your videos are very informative keep it up

  • @marceloandrade225
    @marceloandrade225 3 ปีที่แล้ว

    I didn´t know this. Thank you!

  • @aeropeoplellc8160
    @aeropeoplellc8160 3 ปีที่แล้ว

    This is awesome. @learnelectronics Can you also make a video for gate driver circuitry both ic and discrete components please.

  • @dogeeatsveggies
    @dogeeatsveggies 3 ปีที่แล้ว

    thank you so much! ♥

  • @warrenking1815
    @warrenking1815 3 ปีที่แล้ว

    Excellent point,especially when using common ebay parts which have less than perfect outputs!

  • @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...

  • @snottythe-snorlaxian4503
    @snottythe-snorlaxian4503 3 ปีที่แล้ว

    I do not fully understand, but I am enlightened & will watch again.

  • @KissAnalog
    @KissAnalog 3 ปีที่แล้ว

    Hey, I thought my channel was to KISS, but you are kicking but Paul. Thanks!! I know you will hit 100k any day!

  • @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.

  • @RC-Flight
    @RC-Flight 3 ปีที่แล้ว +1

    “Brain fart” OH I was wondering what that smell was!

  • @tvdylan
    @tvdylan 17 วันที่ผ่านมา

    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 !!

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +1

    Very helpful video

  • @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.

  • @puzzlefactorysoundstudios
    @puzzlefactorysoundstudios 11 หลายเดือนก่อน

    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.

  • @CasaMaryParadise
    @CasaMaryParadise ปีที่แล้ว

    Nice stuff!

  • @davedouglas5732
    @davedouglas5732 3 ปีที่แล้ว

    Yup. That helps.

  • @ninjutsuryu1161
    @ninjutsuryu1161 3 ปีที่แล้ว +1

    Thanks for the video. Can you also do one on driving a P channel MOSFET?

    • @davethedaemon9024
      @davethedaemon9024 3 ปีที่แล้ว +1

      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.

  • @JasonLeaman
    @JasonLeaman 3 ปีที่แล้ว

    Wicked video ! I love the brain fart ! that added character to the video ! Very Human Like !

    • @englishrupe01
      @englishrupe01 3 ปีที่แล้ว +1

      Who is Brian.....and when did he fart? I must have missed it.

  • @minus5m
    @minus5m ปีที่แล้ว

    Are you a voice actor by chance? You should be if you arent! That voice is a gift!

  • @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?

    • @prawnmikus
      @prawnmikus 3 ปีที่แล้ว

      Make sure to limit the current if the LEDs don't have any sort of protection already. Do you intend to dim them?

  • @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!

  • @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

  • @RD-ni7qe
    @RD-ni7qe 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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?

  • @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".

  • @Derived_One
    @Derived_One 3 ปีที่แล้ว +1

    *40mA is the max current supported by Arduino per pin, at least as far as I know.

    • @mikebond6328
      @mikebond6328 2 ปีที่แล้ว

      The arduino is only used to control the gate.

  • @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.

  • @johanndohmann1281
    @johanndohmann1281 3 ปีที่แล้ว

    Hello Paul. Thanks a lot for this nice video. Best wishes for you from Germany.

  • @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.

  • @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 ปีที่แล้ว +1

      That was just where it started conducting.

  • @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 3 หลายเดือนก่อน

    Try using a low RDS(on) or a logic level mosfet

  • @weerobot
    @weerobot 3 ปีที่แล้ว

    Cool again..

  • @Electromakerio
    @Electromakerio 3 ปีที่แล้ว

    Interesting video! We would love to see more community MOSFET projects over on Electromaker.io!

  • @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

  • @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!!!!

  • @josephocampo
    @josephocampo 3 ปีที่แล้ว +1

    Is it possible to drive mosfet at high side using arduino?

    • @davethedaemon9024
      @davethedaemon9024 3 ปีที่แล้ว +1

      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.

  • @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.