PWM driving of high-power LED with an arduino

I need to drive 2 red and 2 blue high-power LEDs for an application (LED indicated below).


First of all, I connected the LEDs directly to the 12V power supply and measured the currents they draw.

As you can see, the red one draws about 1.4A.

As you can see, the blue one draws about 0.5A.
My question is that I want to use MOSFET to drive these LEDs with PWM, I have shared two circuits below which should I use?Why?

Circuit-1

Circuit-2

The second one.

It is simpler, adequate, and the 200 Ohm (actually 220 Ohm) resistor is the correct value. However there also should be a 10k resistor between the Arduino output and ground to positively switch the FET off while the Arduino is not powered or in the process of booting up.

But always use a Nano rather than a UNO for any "real world" project. I suspect you have already figured that out. :grinning:

But looking at the leds and seeing the huge difference in current I don't think they have any form of current regulation on them. So just connecting them to 12V is a bad idea... Better to use a proper driver (and thus more than 12V).

Thank you very much. I think the 10K resistance between the Arduino output and the ground meant this.Is this the scheme in the final?

septillion:
But looking at the leds and seeing the huge difference in current I don't think they have any form of current regulation on them. So just connecting them to 12V is a bad idea... Better to use a proper driver (and thus more than 12V).

Can you suggest any circuit?

Multiple, but I think I would go for something like a switch mode IC designed for led driving. Not home so I can't mention a chip..

One important detail is to use the correct mosfet transistor, preferable a logic level type.
Check if the transistor gets warm, at these low current it must not heat up or you are using a wrong transistor type.

And be careful with buying mosfet on Ebay, they sell a lot of fakes.

LaCasaDePapel:
Thank you very much. I think the 10K resistance between the Arduino output and the ground meant this.Is this the scheme in the final?

That image is apparently private to your account.

You had better give us the Web links to the LED strips you are using in order to avoid arguments about how to power them.

LaCasaDePapel:
I think the 10K resistance between the Arduino output and the ground meant this.

No, that just limits the inrush current on the gate of the FET, nothing to do with the LEDs.