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

preview_player
Показать описание
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.

I am using a 30N06L, but you can use some other logic level N-Channel Enchantment Type MOSFET.

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 Youtube library.
Рекомендации по теме
Комментарии
Автор

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 👍

snillddy
Автор

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

dogeeatsveggies
Автор

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!

Wandering_Horse
Автор

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

mikewalton
Автор

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

laurentiujinga
Автор

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!

Creative_Electronics
Автор

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

gedtoon
Автор

It's a really good explaining!! :)

Creative_Electronics
Автор

So why don't we connect a 10k pull down resistor between gate and the arduino instead of two different resitors in two different spots?

AskQuestions-wy
Автор

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

nelxonmiranda
Автор

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

hansparam
Автор

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.

ArcanePath
Автор

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

puzzlefactorysoundstudios
Автор

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?

laurarosu
Автор

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

Micington
Автор

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

rochdimaria
Автор

i really like how you explain things! good videos and really informative! more success to you sir!

apinuzi
Автор

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

Marcuss
Автор

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

HanspeterAdam-hmzi
Автор

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#

blmagic