Driving high power LEDs

Hi all

I'm currently building a soapbox together with my kids and we are adding some LEDs to it, some of them I'd like to control via an Arduino. I have the coding knowledge so the software side is not an issue. Where I struggle is the hardware side as I only have very basic electronics knowledge.

  • Power source is going to be a 4s Lithium Polymer battery (14.8V nominal, 16.8V when full) which I usually use in my RC aircraft. We've ordered a few of these LEDs here which according to spec accept 12-80V so we'll be able to directly power them, no Arduino needed on these.

  • The hard part are these COB LEDs: I would like to PWM drive them via an Arduino to make them flicker. As said above my electronics knowledge is not good enough to figure out on how to wire this. As far as I understand I most likely need a MOSFET (IRFZ44N?) for driving the LED. Apologies for not being able to come up with a circuit.

Thank you all in advance for your support on this!

Why did you start a topic in the Uncategorised category of the forum ?

Your topic has been moved to a relevant category. Please be careful in future when deciding where to start new topics

Apologies for that

Use FETs (field effect transistors) instead of relays to switch power, you can do PWM with FETs where relays would burn out.

Years ago I spent $10 on IRL44N's able to run many Amps... taking small risk on eBay and got 60 for that. With shipping I paid 14.5 cents each where to buy < 10 they were 80 to 90 cents each! Shop!

Hold on.

There are two versions of that item. One comes with a dimmer and remote control. The other is a bare COB LED with no electronics attached whatsoever.

If you have the kind with a dimmer, you may be able to hack into the dimmer circuit and connect that with your Arduino. However, with no knowledge of electronics, this will be challenging - although with some good photos of the dimmer circuit, it is conceivable that we can guide you through it. Alternatively, simply cut off the dimmer and add your own LED driver, which brings me to...

...in case of the latter (a bare COB LED), what you need is a LED driver that accepts a PWM dimming input. The common solution here is to look for a ready-made circuit that does this; surely, there are plenty of options available. The key parameter to look for is the output current. The LED you've selected appears to be a 4000mA/4A type; I'd err to the side of safety and not go above 2.5-3A. So find a LED driver that will output up to 3A (you don't have to run it at full brightness; you may be happy already with the light you get at e.g. 1A or 1.5A) and that accepts a PWM dimming input.

If you use a suitable LED driver with PWM dimming input, you don't need an additional MOSFET.

You can't run this LED and PWM dim it with just a single MOSFET.

The other thing you will absolutely need very very badly is a big heatsink for that COB LED, possibly with a fan to match. If you turn that thing on even at 50% of its nominal power without a heatsink, it'll burn out within a few seconds.

@anon12124179 Thanks I'll read into it when I find time. I need to PWM it, not just on/off.

@GoForSmoke Thank you.

@rsmls thank you. I've ordered the version including the dimmer, so hacking into the circuit would be interesting. I have a scope if that will make things easier to analyze. I will post pictures of the dimmer PCB as soon as I have them, there still on the way. If we can't get that to work I'll look for the LED driver you've suggested. With regard to the heatsink, I'll mount them on a large metal plate as we need to add some weights to the soapbox anyway.

The pictures will be the most relevant in first instance. Having a scope is always nice of course. What I do in a case like this is trace the schematic of the circuit based on visual inspection of the PCB (both sides) and search for datasheets of any IC's on there. How well this works, depends on what can be inferred from the markings on the IC's and/or their context. It's often necessary to poke around with a continuity meter as well to figure out how traces run underneath IC's etc. Overall, with simple circuits like this dimmer, it's usually possible to figure out enough to decide if it's worthwhile trying to hack into it.

@anon12124179 Apologies if I wasn't clear enough, I've meant flickering at a high rate as I want to mimic an afterburner. I've already built Arduino PWM driven afterburner lights for my RC jets but those had the driver circuit included. As far as I understood I cannot do high rate switching with a relay?

@rsmls I hope the dimmer circuit will be simple enough and the ICs with markings that lead to a datasheet so hacking into the circuit will be possible :slight_smile:

50W
That's HOT

I wouldn't recommend it. You can switch most relays at something like 10Hz max, which may just be enough for your afterburning application, but I wouldn't recommend it, and certainly not if you're trying to switch a few amps of DC.

Note that even if you use a relay (or MOSFET), you still have the question of how to actually drive the LED itself. You can't use a simple series resistor, so you'll end up with some kind of buck converter. If you go that route anyway, might as well use that driver to also modulate the light source according to your needs.

@anon95813201 I quite can't believe it'll really be 50W but we'll see.

@rsmls Preferably I'd like to do it with the dimmer hack.

You're in control of you choose the driver. You're not if you use the supplied dimmer of course.

I'm going to take a guess that the 50W is a nominal figure and that the actual RMS power will be a little lower. See in the specs:

I do NOT recommend running it off of a 12V power supply without any form of current control.

@rsmls I still do not understand how I can limit current. Due to some other lights I have a buck converter providing 12V out of my 14.8-16.8V battery. If use something like this I could PWM the output to the LEDs. But how do I limit current?

With an appropriate LED driver. The PWM dimmer you bought with the COB LED probably has a buck mode current driver integrated in it.

Understood, thanks. Let's wait until the LEDs get here and I'll post some pictures of the dimmer.

I've had some sleep and memory sparks... more than just FETs,

with high power LEDs and laser leds you need a Constant Current Circuit, designs are available at not-high costs depending on how much current. Those COB LEDs should not be handled like the little ones that we wire up with a single limiting resistor to Arduino pins!

I have in a box from long ago, replacements for 12V "G4" bulbs that are disks with 12 regular leds packed on but they use 250mA, not whole amps of power!

I finally got modern led bulbs so bright... they use IIRC 9W power to shine 75W incandescent bulb bright only whiter. If you want Bright, see what a limited power inverter to make 120VAC and drive a couple 100W equivalent around 10W ea plus some margin cause the power supply that loafs lives much longer! All of that is off-the-shelf besides!

For reflectors.. look into desk lamps with conic shades!

Yeah, that's plausible; if the surface is big enough and there's sufficient airflow, it'll get rid of the 2W of heat alright. If this is bright enough, you don't have to worry about pushing it any further.

Do keep in mind that it's a bad idea to control the LEDs with voltage. As you've determined, a slight variation in voltage results in a big change in current draw. Moreover, this relationship is influenced by temperature, so you can actually get into a positive-feedback loop.

You need to current control the LED with an appropriate driver.

Any news on the dimmers?

Sorry, I confused you with OP, my bad!

You can use a FET (for efficiency) on a pin to blink the COB slow enough to perceive as flicker.... try 40 ms ON/OFF blink intervals just for starts and maybe shorter ON than OFF to accent the flashing.

Eyes have persistence of vision. If I flash a led 2ms ON, 998ms off, I see that 2ms flash but ON for 998ms and OFF for 2ms slightly dims it. At 40ms frequency, it blends is why try 40ms ON+40ms OFF stutters a bit but not so much. Flight sims in the 90's, 20 FPS was playable.

Power LEDs need a current controlled switching LED driver.
They almost always have a PWM input, to control brightness (and on/off).
Google "sparkfun picobuck" (three in one, but also comes in single,
or Google "3watt led driver" (images) for clones.
Can be (should be) driven directly from the battery.
Leo..