till now I tried a lot of different wirings to control a LED Strip (one color at the moment) with a MOSFET connected to an Arduino.
Used components:
Arduino Nano 328P on Pin 3
LED Strip with 12+ common anode
12 V DC for the LED Strip
MOSFET IRFZ44N / IRLZ44N
I tested my code with a single LED on the port I used in the code <- works, even with PWM
After that, I wired it up as attached. The Strip is connected 12V+ to the common anode. Ground(blue) is connected with the MOSFET drain and source to ground of power supply.
My problem is, that there is no reaction to the arduino pin. I tried first with IRFZ44N but that MOSFET needs more than 10V+ to fully switch through. So I tried the IRLZ44N as logic MOSFET. This should work with the delivered 5V from the Arduino.
Remove that 220ohm resistor, and use it between Arduino output pin and mosfet gate.
And add a 10k resistor between Arduino pin and Arduino ground.
Leo..
Just finished my board and the code is working too.
Some update:
First:
I added 2 more Mosfets in the same way to control a RGB Strip. It is working as expected, but the voltage regulator on the Arduino is getting hot.
I put 12 V+ to the Arduino VIN. The Data sheet tells it is possible, but I think better not do this
Is this a Nano, as on the Fritzing.
Nanos don't have a lot of heatsink area for the regulator.
Burning off 7volt (12 - 5) could make the regulator slightly warm from the current draw of the Arduino itself.
If you connect extra devices to the 5volt pin (sensors etc.), you have to calculate current/heat.
Hot to the touch (50-60C) is ok.
If you can see the printing of the regulator burned onto your finger, then the regulator is too hot.
Leo..
I have a similar setup, 3 Mosfets on a Nano for a 12V strip.
While it worked with feeding 12V into the Nano, I decided to use a separate buck converter module to bring 12V down to 5V and stick that into the 5V of the Nano.
Everything is happier.
sorry for bringing this up again but why are mofsets used on led? do they make any improvements? or what do they exaclty do?mofsets really neccesary for the leds?
i saw a ton of tutorials... some of these guys not even using resistors or capaciators... almost nobody uses mofsets.. maybe im not getting the use of mofsets right...
also why are nobody using fuses on their projects?
sorry for the noob questions