N-Channel MOSFET as a Switch. Turn ON a 12V Motor with Arduino. (Step-By-Step Guide)

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • This is a tutorial about using an N-Channel Enchantment Type MOSFET as a switch to turn ON and OFF a 12V Motor.
    UPDATE:
    You should also add a 100-ohm resistor between the Arduino pin and the Gate terminal of the MOSFET. The MOSFET has a small capacitance that starts to charge/discharge when you switch the Arduino pin. This creates a short current spike that can be bad for the Arduino pin. Especially if you plan to do high-frequency switching.
    Full connection diagram: circuitjournal.com/img/diagra...
    I am using a 30N06L, but you can use some other logic level N-Channel Enchantment Type MOSFET.
    Buy from AliExpress.com:
    30N06L: s.click.aliexpress.com/e/DdgS25tQ
    Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
    Music from TH-cam library.
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    3yrs later...Just wanted to say thanks for this. Very concise and to the point. I used a IRL Z44N mosfet and it worked just as you instructed. Using it to control a 12v relay. Thanks!

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

    ive been googling videos that will give me a simple ang clear explination about this.. until i found your video. im subbing. thanks man

  • @HeiderSati
    @HeiderSati 3 ปีที่แล้ว +2

    One of the best ones I've seen, thank you for your hard work, loved the graphics too

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

    Very , very clear and to-the-point explanation and demonstration of the issue. Chapeau, my friend! It's just what I needed, in my preffered style!

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

      You are welcome!

  • @Creative_Electronics
    @Creative_Electronics 4 ปีที่แล้ว +5

    I just saw you're video of the 3D Printed car and then I looked to you're other video's and you're channel is awesome!!! I like it really much!

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว +1

      Thanks a lot for the feedback!

  • @user-ez1nf8sl9l
    @user-ez1nf8sl9l 11 หลายเดือนก่อน

    Thank you very much, for explaining things effectively but briefly.

  • @mikewalton7615
    @mikewalton7615 4 ปีที่แล้ว +3

    You are a excellent teacher! Thank you for the explanation.

  • @snillddy7907
    @snillddy7907 3 ปีที่แล้ว +4

    Thank you sooo much for this huge help
    You don't know how much you helped me , it saved my project from ruining
    Thanks a lot 👍

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

      You are most welcome

  • @Creative_Electronics
    @Creative_Electronics 4 ปีที่แล้ว +7

    You should have 1 million subscribers

  • @juliusferrer2071
    @juliusferrer2071 5 หลายเดือนก่อน

    thank you so much you deserve million subscribers!!!!!!!

  • @propro123_cz9
    @propro123_cz9 4 หลายเดือนก่อน

    best video explaining mosfets! thanks!

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

    Thank you to help me with my problem. After hours of troubleshoting it finaly works

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

    best explanation on youtube

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

    thanks, needed this, works like magic.

  • @Creative_Electronics
    @Creative_Electronics 4 ปีที่แล้ว +8

    It's a really good explaining!! :)

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

      Hey creatice electronics, please watch this video call...
      th-cam.com/video/Y9sNFx7enFQ/w-d-xo.html
      I explained how mosfet work as switch

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

    Crisp and clear explanation

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

      Thanks!

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

    Thank you for this great video! Do we need to use a series current-limiting resistor between the gate and the Arduino pin?

  • @MagivaIT
    @MagivaIT 8 หลายเดือนก่อน

    great tutorial, many thanks for this

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

    thanks got what i needed you er better than most

  • @user-zw6om3sr8d
    @user-zw6om3sr8d 11 หลายเดือนก่อน

    Huge help, thank you so much!!

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

    Hey, great explanation and very clear instructions! If I wanted to burn a nichrome wire as the ignition of a model rocket instead of the motor, would this work??

  • @sameerk12982
    @sameerk12982 4 ปีที่แล้ว

    Thank you very much for this informative tutorial....appreciated.

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว +1

      Hey! Thank you for the feedback!

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

    The best possible way to explain

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

      Thanks!

  • @gholiamirza7102
    @gholiamirza7102 4 ปีที่แล้ว +1

    Very easy explained. Thanks.

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      I am glad it was helpful. Thank you for the feedback!

  • @happycrayon7621
    @happycrayon7621 4 ปีที่แล้ว

    Loved it. You got urself a subscriber.

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว +1

      Thanks!

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

    perfect explanation thank you

  • @laurentiujinga5558
    @laurentiujinga5558 2 ปีที่แล้ว +1

    10k label. that is the coolest thing I've seen :) I will use it...

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

    Yeah I wish they would have started with this application when I first learned about MOSFETs in circuits class.

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

    Excellent. Thank you.

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

    Hello, this is the best MOSFET video I have seen so far. Could you help me a bit with its expansion?
    I am using this MOSFET: N-Channel 33A - IRF540N to control lights, but it gets way too hot, even with a heatsink and a fan. What is the proper way to connect multiple MOSFETs to reduce the load at each one, using the same port from Arduino?
    The guys selling them told me to use a 1k resistor from the digital pin of arduino to the Gate. Is this right?
    Should I use every time 1k resistor from Arduino to Gate and the 10k resistor G to S on each MOSFET?

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

    Hi, Can i use this circuit to power on one arduino through the vin pin from another arduino gpio ?

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

    thanks for this tutorial , i need to use this mosfet for switching load 12 V 1 A @ 5 MHZ is that possible

  • @mcbbcn
    @mcbbcn 2 ปีที่แล้ว +1

    Hi Indrek, thank you for the amazing explanation. You are a great teacher. I have been looking for a way to control a 12V EL panel with an arduino, including dimming/intensity but I can’t find any tutorials. Do you know if it can be done? Thank you!

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

      Yes you can easily control a 12v EL panel and in order to control the light intensity you need to provide PWM signal to the gate.

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

    So this can replace a relay if you a big enough heat sink for your project?

  • @sungurtigin7258
    @sungurtigin7258 2 หลายเดือนก่อน

    good video

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

    Thanks I want ask you can I use it as in bike to turn on and off bike

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

    Hi Inderek, Thanks for the very clear explanation on how mosfets work. I'm trying to use a Raspberry Pi Pico instead of Arduino, which has I/O pins at 3.3v. Would the 30N06L turn on with "only" 3.3v at the gate? (is this true for all logic level n channel mosfet?) Or is there a special case of 3.3v logic level mosfet that I need to look for?

    • @Patyx42
      @Patyx42 5 หลายเดือนก่อน +1

      I'm a bit late, but here's the answer: It will turn on, but not fully. Check the datasheet, specifically the Gate-Source Voltage vs Drain Current graph. Looking at it, 3.3V will allow to push around 5A through, where 5V would allow around 50A. I'd recommend the very common IRL540N if you want to drive it with Raspberry.

  • @mymyka1122
    @mymyka1122 7 หลายเดือนก่อน

    i owe you my life

  • @Micington
    @Micington 3 ปีที่แล้ว +2

    Legend! Thank you! Can you do multiple motors simultaneously like this?

    • @IndrekL
      @IndrekL  3 ปีที่แล้ว +2

      Yes, since Arduino only turns the motor on and off. The power for the motor comes directly from the power source and as long the power supply is strong enough you can run both.

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

    Thank you for the video. Just wondering why you use conventional current in your explanation instead of electric current.

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

      Do you mean that why I didn't do the illustration with the negative electron flow?
      The symbol for the diode is an arrow that points to the direction of positive current flow. If I had used electron flow then the schematic would have been confusing. Electrons will flow in the opposite direction of the diode arrow.

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

    Nice description and video. Now, I want to control the speed of the motor using the MOSFET - can I do it ?

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

      Hey! Yes, you can use the PWM output.

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

    Thanks!

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

    Hello! Thanks for your video. I am using a 3-6V water pump and a MOSFET IRFZ44E. Everything works as you said, until I connect the Gate to the D5 pin of my ESP32 dev Kit. I put the VDD source on 5V. Nothing happens. Any idea?

  • @ThangNguyen-ek3xn
    @ThangNguyen-ek3xn 2 ปีที่แล้ว

    Hello, can I use IRF1404 40V 202A for Motor 24V 10A?

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

    Thanks, good video. Is Flyback diode necesserally for heater?

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

      Nah. A heater is a resistive load. You only need the flyback diode for inductive loads. The heater doesn't hold any magnetic energy so there's nothing to dissipate.

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

    hello ! really useful video . I have a question. My motor operates just like yours(12vdc with 0.5A) but i have a IRF830 mosfet and a IRF510 . Which one should i choose? and should i use the same ammount of resistor (10kΩ) or another?

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

      Hey! Both of those should work. Both of them seem to have the threshold voltage of 4V. It means that the 5V signal from Arduino will turn it fully on. Yes, you can use a 10k pull-down resistor.

    • @NoSpeechForTheDumb
      @NoSpeechForTheDumb 9 หลายเดือนก่อน

      You may have figured it out already but both MOSFETs you mentioned are not "logic level"-MOSFETs, i.e. 5V is presumably NOT enough to drive the transistors into saturation. They will conduct, but produce a significant amount of heat.

  • @gedtoon6451
    @gedtoon6451 8 หลายเดือนก่อน

    I would use a 470R gate resistor to reduce the inrush current as the MOSFET gate capacitance is charge up.

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

    Hi.. I plan to use this in out capstone project... Pls tell me specifically what diode did you use... I've been searching for a flyback diode on online shops but I haven't been so lucky.... Thanks in advance

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

      Hey! I used a 1N4007

  • @haddouchizakariae7713
    @haddouchizakariae7713 4 ปีที่แล้ว +1

    merci, danke sehr

  • @danielsorby8478
    @danielsorby8478 7 หลายเดือนก่อน

    Would this still work with a 220-ohm resistor between the Arduino pin and the Gate terminal of the MOSFET, instead of a 100-ohm resistor?

  • @Marcuss925
    @Marcuss925 2 วันที่ผ่านมา

    12V won't fry my ESP32 controller if I connect it to the same ground?

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

    Hello, great work! I'm approaching the electronic hobby but I have many many questions. One is: I have a MOSFET with two thin wires that let the current flow through the MOSFET if connected togheter. I read from those wires the same voltage as the battery from which they draw power (from 7.4v to 11.1v, depending on the battery). In your video the voltage is 12v, so even higher. I am afraid tough that connecting those two wires to the Arduino will burn it as the voltage they operate is much higher than 5v. Can you please explain how this work?

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

      Do I understand correctly that you wan to use the 7.4V..11.1V battery to power your Arduino.
      You can do it if you connect it to Arduino's VIN pin. VIN pin has a voltage regulator that can take 6V to 12V power input.

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

      @@IndrekL Thank you, but it wasn't the answer I was looking for, I'll try to explain better. I want to drive a MOSFET connected to a battery which voltage is greater than 5v (like the power supply (12v) you are using I think). For the little I know about, I know that connecting a voltage greater than 5v to a digital pin will burn it, but in your video this doesn't happen. So, can you explain to me why? Or what I'm getting wrong?

    • @IndrekL
      @IndrekL  3 ปีที่แล้ว +2

      @@AriesBreath The Arduino digital output pin is connected to the Gate terminal of the MOSFET. Gate is the input for the MOSFET that turns it ON or OFF, and there is no current flowing through it.
      With N-Channel MOSFETs, you can connect your Arduino GND to the Source pin of the MOSFET and an output pin to the Gate. The current that you are switching ON and OFF will flow through Drain and Source, but not through Gate.

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

      @@IndrekL oh, I got it, thank you very much

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

    If we use the aurdino then what is use 12v battery

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

    Hello, Congratulations of the Project. What is the Power of the motor? Why did you choose this MOSFET?

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

      Hey! If I remember correctly the 12V motor consumed about 1Amp.
      It is a logic level MOSFET - the Gate-Source voltage is below 5V to fully turn it on/off.
      It is rated for 32A, 60V, which is enough for me since I only required 12V and 1A

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

      @@IndrekL Ok, Thank you very much for the answer. :)

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

    Can I use bt136 instaed of 30N0CL

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

    Any help appreciated please. Brain absolute in bits. mosfets, like reading alien. Total noob. just using a 9v battery. Switches on a solenoid (12v) that many mosfets out there. just needing to know what be suffice. using with arduino. Thanks#

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

    How come in many other videos of N-Channel MOSFET's, they didn't use a resistor across the gate and source?

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

      Hey! This resistor is necessary to give the MOSFET a default state while your Arduino is OFF.
      Otherwise the state of the Gate would be floating while Arduino is not actively controlling it with HIHG and LOW value of the digital output.

  • @HanspeterAdam-hm4zi
    @HanspeterAdam-hm4zi 23 วันที่ผ่านมา

    I'm not clear which pins the flyback diode is connected to. It's not possible to tell from the video. Please explain.

    • @michaelrtreat
      @michaelrtreat 16 วันที่ผ่านมา

      The diode is connected across the motor. The cathode end of the diode(the one with the white band) is connected to +12 V. Look at schematic around 2:15. Hope that helps.

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

    I notice other people put a resistor at gate of MOSFET (in addition to the pull down resistor between there are ground). You don't. If I understand right, MOSFETs are purely voltage controlled - so are people doing this purely to produce a certain voltage at the gate or something?

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

    Can we use IRF3205?

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

    Is there a way to switch the positive side with a mosfet or similar? I need to PWM a 12vdc signal, but I can't switch the GND

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

      Do you mean like this with a P-Channel mosfet:
      th-cam.com/video/ek8HBjonXdA/w-d-xo.html

  • @endtimerevealed137
    @endtimerevealed137 4 ปีที่แล้ว +1

    how can i thank you ? i have no word to thank you,you helped me a lot......
    May Allah guide you to the right path

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      Glad I could help!

    • @MJ-em2ix
      @MJ-em2ix ปีที่แล้ว

      End Time Revealed- There is no need to invoke supernatural nonsense, magic and/or bronze age deities into this video. Indrek is doing just fine on his own using his thinking brain. Keep banging your head against the ground.

    • @NoSpeechForTheDumb
      @NoSpeechForTheDumb 9 หลายเดือนก่อน

      ​@@MJ-em2ixI'm an atheist myself but being an arrogant insulting dorkhead may not be the best strategy to make people embrace your opinion.

  • @ShadabKhan-lu6kr
    @ShadabKhan-lu6kr 3 ปีที่แล้ว

    Hello I need your help
    I am making a coilgun
    I need something to switch 500v dc from the capacitors to the coil
    Please tell me what can I use to switch 500v dc

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

      Hey! I really don't know. I don't do stuff with that high voltages. Maybe you could use a relay instead of a mosfet?

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

    Hi, it's possible use mosfet or igbt as a switch on/off with arduino?
    I want use Mos or igbt for cut 12v to coil spark motorcycle when I push the switch or when arduino work .... model mosfet I use
    P channel o another type?
    Thank you

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

      Hey! If I understand you correctly that you want to switch on/off a 12V load then it should be exactly as I describe in this video.
      It is easier to do with N-Channel mosfet since then you can use shared ground.

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

    How hot does the MOSFET get? Wouldnt it have to dissipate a lot of heat?

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

      Hey! With 12V and around 1A it didn't heat up. If you wan't to switch higher loads then you might need a heatsink.

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

    bro what will happen if I do same connections as you , only rather than connecting dc motor I would connect ac load?

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

      I am not sure. The datasheet for 30N06L says that it can be used for AC motor control. So it might work (You need to have a seprate DC power supply for your Arduino). The 30N06L is rated for 60V, so you can't use the 220 or 110V with it.

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

    Hey there, why don't you use op amp and mosfet driver? And no inductor on the circuit. Could you explain to me? Because it will appear shaking spike current on oscilator.

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

      Hey! You are right, that it is probably a good idea to add a 100 to 1k ohm resistor between the gate and the Arduino output PIN.
      Here I am doing very low frequency switching which makes it less of a problem.
      I wanted the schema to be as simple as possible.

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

      @@IndrekL I think the pull down resistor (10k) function is only to define the ultimately LOW which atmega store to it. As same as push on button. So there is no leakage current on it when it's defined as a LOW state. As same as using mosfet as switch without the micro controller. That's why on every mainstream product related power supply or something that need the switching by voltage, needs mosfet driver, op amp as logic reference, and inductor to reduce the rest of shaking spike. Correct me if I'm wrong, master.

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

      The pull-down resistor in the schematic is needed because otherwise, the MOSFET's gate would be floating in a random state while the Arduino is not powered ON. It makes sure that the MOSFET stays OFF while Arduino is OFF. After power-up, it takes a couple of seconds until the Arduino IO pin is defined as output and starts to actively drive the Gate pin of the MOSFET.
      It will still work if you remove the 10k pull-down resistor after Arduino has started to run. Arduino digital output LOW will be equal to GND. And GND is directly connected to the source pin of the MOSFET. This makes the Gate-Source voltage to be 0 and the MOSFET is "OFF"
      The Gate-Source voltage of the MOSFET 30N06L needs to be about 4 Volts to fully turn it "ON". Arduino's digital output is 5V compare to GND. So if Arduino Output is active there is 5V between the Gate and the Source pins of the MOSFET.

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

    And what if i want the mosfet "normally on" and set it off when i want to?? Maybe pull up resistor??I want the voltage keeps flowing if something goes wrong with the rest of the circuit

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

      Enhancement-Type MOSFET is normally on. If you want normally off then you should use a Depletion-Type MOSFET.

    • @NoSpeechForTheDumb
      @NoSpeechForTheDumb 7 หลายเดือนก่อน

      Actually it's the other way around: enhancement-mode MOSFET is normally off and depletion-mode MOSFET is normally on. Like with other things regarding MOSFETs, the terminology is unfortunate.

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

    anazing video

  • @alimochtaar
    @alimochtaar 10 หลายเดือนก่อน

    why must we add 10k resistances there?

  • @FreddieMare
    @FreddieMare 10 หลายเดือนก่อน

    How to use MOSFET as a normaly close Switch?

  • @ion-electrics6858
    @ion-electrics6858 4 ปีที่แล้ว

    how would you do it if you would want the motor to spin in the other way?

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      Hey! For that it would be easeier for you to just buy a motor controller board that has an H-bridge on it: www.banggood.com/custlink/mKDDTDhcM8
      With that you can control your motor's diction with digital output pins.

    • @ion-electrics6858
      @ion-electrics6858 4 ปีที่แล้ว

      @@IndrekL thank so much for the reply, i really apreciate it, god bless

  • @leonardoliberati549
    @leonardoliberati549 4 ปีที่แล้ว

    Hi, I tried to run this tutorial with an IRL540N mosfet but the engine is always on and I can't turn it off and on according to what is written in the Arduino code. Why? Wrong MOSFET?

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      Hey! I see now reason why it shouldn't work with IRL540N. Does it work if you try it without the Arduino by manually connecting the gate to the positive lead of the power source? Like i do at 2:18

    • @leonardoliberati549
      @leonardoliberati549 4 ปีที่แล้ว

      @@IndrekL It works but the mosfet heats up a lot. The moment I go to connect it to Arduino with the MOSFET ... it always stays on ... as if the mosfet remains in HIGH perpetually

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      It heats up if the Gate is not clearly above or below the threshold. For me, it started to heat up if the Gate was floating. How high is the voltage that you are switching? Can you take a picture of your connections?

    • @leonardoliberati549
      @leonardoliberati549 4 ปีที่แล้ว

      Indrek the pump is a 12V with 80mA of power.

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      Re-check all the wiring. Maybe some wires do not have a good connection?

  • @ArcanePath360
    @ArcanePath360 2 หลายเดือนก่อน

    I cannot get my motor to work at all. I have a fairly strong, slow geared motor which I connect power to the direct, it spins. I have tried 2 different H bridge motor shields and now a IRL540N MOSFET and at most, I hear a PWM whining sound inside the motor, but the motor refuses to work. I am at the end of my tether. It's only a 3.7v 1.2amp motor which ran off A tiny board the size of a postage stamp when I bought it. No caps, no nothing. I'm seriously perturbed by the mystery of it not wanting to work no matter what voltage I through through the Fet.

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

    Ma olen Eestlane Australiaa's. Kui ma kuulsin sinu hääl ma teanud et sa oled estlane ka. Suur aitäh video eest

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

      Tere! Jah, Eesti aktsent on üsna ära tuntuav. Mulle on varem ka maintud, et on aru saada, et olen Eestlane. Tänud tagasiside eest!

  • @ArcanePath360
    @ArcanePath360 2 หลายเดือนก่อน

    1:51 sudden jump with extra wires in the breadboard which aren't explained.... what does the diode attach to exactly? This is not clear at all

    • @etherealrose2139
      @etherealrose2139 2 หลายเดือนก่อน

      Cathode end (stripe) towards the positive voltage source, anode towards the drain (the wire he's adding) it's literally in the diagram next to it.

    • @ArcanePath360
      @ArcanePath360 2 หลายเดือนก่อน

      @@etherealrose2139 Yeah I figured it out, thanks.

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

    How did you determine your resistor size

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

      Hey! 10k is pretty much the default for pull-up or pull-down resistors. If there isn't a good reason to use anything else then I will use a 10k resistor.

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

      @@IndrekL thanks for the tip I'm basically going to be using that same setup but with a 300 amp mosfet to make a battery terminal spot welder

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

    ‘Lossy clever’ = logic level

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

    0:16 enchantment type mosfet lol..im dead

  • @TBL_stevennelson
    @TBL_stevennelson 3 ปีที่แล้ว +2

    I just wish I could see more clearly.

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

    make a video ixtn660n04t4 test

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

    Can i use 1K resistor ?

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

      Hey! Yes, it should work.

  • @TheSamwongms
    @TheSamwongms 4 ปีที่แล้ว +1

    It would be easier to observe the rotational speed of the motor if a cello tape is stuck onto the its shaft.

    • @IndrekL
      @IndrekL  4 ปีที่แล้ว

      Hey! Good idea! I will try to keep it in mind in the future.

  • @flake8382
    @flake8382 5 หลายเดือนก่อน

    Enchantment type MOSFET 😁

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

    never do this! a generic mosfet requires at least 10 volts for the gate, 5 volts is not enough it will overheat and wast a lot of power.

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

      Hey!
      The 30N06L I am using in this video is a Logic Level MOSFET. It's Gate threshold voltage Vgs(th) is 4V.

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

      Datasheet: datasheetspdf.com/pdf-file/817129/UTC/30N06L/1

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

      @@IndrekL yes but that has it's conditions. the conditions are that Vds=Vgs and Id= 250uAmps and at room temperature of 25 C. which in your case is not true.
      just read the next row. Static Drain-Source On-State Resistance = 40 milliohms, Vgs=10 volts and Id = 15Amps, at this setup you will get the least internal resistance and the mosfet wont overheat or wast power.

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

      @@IndrekL this type of setup is only good for learning not for any practical application. you should have mentioned it in your video.

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

      ​@@Ahmadnaweed786 I really appreciate your feedback!
      I do the electronics stuff as a hobby (mainly I am a programmer)
      I understand that the optimal conditions are at Vgs=10V
      I found this other datasheet that specifically brings out Rds(on) for Vgs=5V
      cdn.sparkfun.com/datasheets/Components/General/FQP30N06L.pdf
      According to this spec, in the case of Vgs = 10V, the resistance is up to 35 milliOhm
      And if Vgs = 5V then it is a little higher up to 45 milliOhm.
      In practice, the MOSFET didn't get hot at all when I did my experiments. It didn't even get warm.
      It did get hot though if I accidentally let the gate floating - I assume that then the Vgs floated somewhere below 4V.
      I read that Logic-level MOSFETs are specifically designed to be usable at lower voltages.

  • @nelxonmiranda
    @nelxonmiranda 3 ปีที่แล้ว +2

    You’re not exposing anything and plugging in stuff to a breadboard doesn’t explain much.

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

    Your hard to understand and don't explain enough

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

    Nice information. Will the mosfet drop some voltage at the motor?
    i.e instead of 12v it will be getting 10.5 or 11volts.