DIY LED driver for reef lighting

Someone pointed out to me in a PM that I posted those LM3409 Mouser BOMs back a few pages but then didn't explain what was what with respect to specific designs. i.e. I labeled parts "Cout" in the BOM but in a given design it'll be something like "C2" or C3." I'll translate here for my stripped-down LM3409 design since that's what the package sizes were chosen for - if you're using the BOMs I posted with another design (i.e. terahz's) you're gonna have to choose other package sizes anyways.

So here it is:

C1: Cin
C2: Cout
C3: Cf
C4: Coff
R1: Rsense
R2: Ruv2
R3: Ruv1
R5: Roff (note there is no R4 in my design)

The big components are all 1:1 so it should be obvious.
 
hey, probably a stupid question, but how does one properly solder a CAT4101 chip to the PCB without burning the thing out?
Very carefully? :D IMHO forget about the hot air part of the station you just got. I posted this a while back, but this is what I do:

1) Tin the ground pad on the PCB.
2) Place the part and solder a single pin to hold it in place.
3) This part will depend on the shape of the tip you're using, but crank the heat and position the tip along the top of the exposed part of the ground pad on the IC such that your iron is touching the exposed metal AND the pad on the PCB. Hold it for several seconds. As soon as it's hot enough, introduce solder. Use more solder than you think, you want to get it to wick all the way under the entire ground pad on the part.
4) Pull the solder wire away but leave the iron there. Have a tool handy - tweezers, chopstick, whatever. Grab it quick and push down a bit on the chip to ensure good contact with the PCB. Pull the iron off and you're done with the ground pad.
5) Solder the other pins on the chip as usual. They're pretty big and far apart so it is easy. If you make any solder bridges, clean them up with wick and you're done.

That's essentially what I did, I've done plenty of soldering with delicate components, but none of them were surface mount. I suspect my 15/30W radio shack soldering iron gets way too hot and overheated the chip while I was trying to solder the ground plate onto the PCB, It's the same iron I've used for years, and have never burned anything out before.

I just tried replacing some on a pre-built driver I ordered, and either fried them from overheating the chip, or from static caused by my sliding the PCB a few inches on my kitchen table.

My guess would be accidental solder bridges or a short somewhere else on the board. The chips are pretty durable.

I've double checked every connection on the PCB, it's definitely the chip...unless I have a bad case of *insert scary music* the "Tin Whiskers"!!!

I originally used a cheap stick soldering iron, and tested the chip after soldering it on and it was good, then a few minutes later, tested it again and found it to be faulty

Faulty as in it didn't work? IME these chips don't just stop working when they die, they go up in smoke. If it's simply stopped working, check for bad solder joints, a dead LED, or other conditions. Make sure the whole circuit is appropriate for your design, i.e. voltage drop is in a reasonable range, and so on.

Faulty as in, didn't work, and didn't pass the continuity test. Two of the drivers I ordered were DOA, the LEDs never lit using them, and the only component that tested faulty, was the CAT4101 chip. I checked the chips by checking for continuity from the ground pin to the other four pins, from what I understand, if there is continuity, the chip is fried. If there isn't, it's good. This does seem to be the case because I tested each chip on the drivers that do work, and found no continuity, on the drivers that didn't work, there was continuity. Right out of the package the chips had no continuity, I checked them after tinning the leads and the ground plate, all but one were good, then I soldered them in place and checked them again, all but one tested bad. the one that tested good, tested bad after I soldered the leads to the PCB and slid it across the table. This boggles my mind because I wouldn't think I would get enough static from sliding PCB across a laminate top table while wearing a ground strap that was properly attached to a ground point. And I spent a less than half a second on each lead of the chip, so I know I didn't overheat it while performing that action.
 
dwzm, thanks for the info. I guess I'll run an impromptu test-bed as half my array has a single 1uf cap for the parallel group while the other half has six individual 1uf caps... Mostly cause I'm too lazy to un-do it :lol:. Thanks for your help and hopefully in the future I'll learn to not be as destructive with my LED's ;)
 
i know in this thread is has been mentioned but what PSU would be recommended ? Was it potrans?
I'd like to not see a failure since I'd be completely loading the transformer.
 
I'm almost done soldering my driver. I do have a question though. Soldering the surface mount things was a real PITA. Is there some reason why those were chosen over "regular" capacitors and resistors that have legs that you solder through the PCB?

Thanks for all the work you guys have put into this. Letting others reap the benefits of your time and effort is a great thing to do. I know lots of us appreciate it.
 
That's essentially what I did, I've done plenty of soldering with delicate components, but none of them were surface mount. I suspect my 15/30W radio shack soldering iron gets way too hot and overheated the chip while I was trying to solder the ground plate onto the PCB, It's the same iron I've used for years, and have never burned anything out before.

Could be the iron, but if you've soldered lots of sensitive things I bet you'd see a trend by now. The CAT4101 is pretty durable from a soldering perspective. Read below...

Faulty as in, didn't work, and didn't pass the continuity test. Two of the drivers I ordered were DOA, the LEDs never lit using them, and the only component that tested faulty, was the CAT4101 chip. I checked the chips by checking for continuity from the ground pin to the other four pins, from what I understand, if there is continuity, the chip is fried. If there isn't, it's good.

If you're testing the chip in this manner in circuit then you're not proving the chip itself is faulty, just that there's a short somewhere on the circuit. I point this out because I fried a bunch of these due to a bad trace on a PCB. I suspected it was the chip so I replaced it, only to kill the new chip, too. Finally I tested the PCB with no components and cut leads until I isolated the short. Surely enough there was a bad trace that was shorting, it was never the chip(s).

Right out of the package the chips had no continuity, I checked them after tinning the leads and the ground plate, all but one were good, then I soldered them in place and checked them again, all but one tested bad. the one that tested good, tested bad after I soldered the leads to the PCB and slid it across the table. This boggles my mind because I wouldn't think I would get enough static from sliding PCB across a laminate top table while wearing a ground strap that was properly attached to a ground point. And I spent a less than half a second on each lead of the chip, so I know I didn't overheat it while performing that action.

Take the chips off and check for shorts on the bare pcb. It's possible that your theory is correct and you killed the chip(s) but it really sounds like you've got a bad pcb.

i know in this thread is has been mentioned but what PSU would be recommended ? Was it potrans?
I'd like to not see a failure since I'd be completely loading the transformer.

There are a bunch of different power supplies in use. Most of us use the open-enclosure adjustable style, like these:

http://www.mpja.com/24V-65A-150W-Power-Supply/productinfo/16032+PS/

Search eBay, they're pretty easy to get. If you're using CAT4101 drivers, the adjustability is a key feature. It's almost never mentioned in the specs explicitly but you can almost always see it in the product photos - look for a little trimpot next to the screw terminals.

I'm almost done soldering my driver. I do have a question though. Soldering the surface mount things was a real PITA. Is there some reason why those were chosen over "regular" capacitors and resistors that have legs that you solder through the PCB?

Thanks for all the work you guys have put into this. Letting others reap the benefits of your time and effort is a great thing to do. I know lots of us appreciate it.

Surface mount can be a huge pain compared to through-hole components if you're used to through-hole. But once you get your head around surface mount, IMHO it's easier and much faster. You don't have to flip the board, trim leads, or screw around. The LM3409 is only available in a surface mount package, so at that point, it just makes sense to use surface mount for other components on the board.

The key is modifying your approach and having a few handy tools ready. I use a pair of super-fine tweezers and sometimes a tiny blob of bluetack (the stuff you use to hang posters without thumbtacks). Depending on your skill with the tweezers, the bluetack can make things much easier. You put a TINY little dot of it on the end of the tweezers, or even on a toothpick, and then you can just touch it to a resistor or cap or other small component to pick it up.

Generally I solder the passives (caps and resistors) first unless the board is really tight around a key IC, in which case I'll do the IC first. Big stuff like inductors, transistors, terminals, etc is almost always last.

To start out, I'll wipe the board with rubbing alcohol.

The passive components all generally have two pads to solder. Before I solder anything, I'll march around the board and tin one pad on the pcb for each passive component. Then, I'll line up the bags of components in order and pull them out one by one. For each component, grab it with the tweezers by one end, and hold it in position on it's pads. Then, touch the soldering iron to the edge of the pad you tinned and it'll solder that half of the component down. I march around the board tacking components on by a single pad like this until all of the passive components are down. Then, I'll get the solder and march back around the board, soldering the other pad for each component.

ICs can be a little more challenging depending on their pitch (the distance between pins). Bigger ICs can be soldered by tacking one or two pins down, usually on opposite corners, then going back and soldering individual pins as you would the pads on the passive components.

ICs with smaller pins require very different approaches IME. The LM3409 is a great example of a chip with "smaller" pins. I have a hard time seeing the individual pins without my glasses on. :D For this chip, I do the "swipe" method. I hold the part in place with tweezers and tin the tip of my iron with a (very small) blob of solder. Then, in one swift motion, I wipe the blob of solder across all the pins on a given side of the chip. This will almost always get each pin soldered down, but it will also almost always create gigantic solder bridges from pin to pin. So, afterwards, you go back over the chip with a piece of solder wick (copper braid made for removing solder). You lay the wick over the pins and heat it from the top with the iron and it wicks the extra solder off the pins, removing the bridges. Sometimes this requires multiple attempts.

The LM3409 has an exposed ground pad UNDER the chip that needs to be soldered down. In a production setting this is easily accomplished using solder paste and a reflow oven. Since we are all likely to be doing this by hand, we put vias (holes) under the part on the PCB. This allows you to get a big blob of solder to that ground pad from under the board. I do this last after everything else is in place.

There are some really good videos on youtube showing these techniques if pictures work better than words. Or, getting a friend who's done this stuff before can be helpful. This is part of what I wanted to show you Rochester guys at our LED meet but that seems to have fallen through.
 
jm,

Assuming the CAT driver. Any 24 volt or less power supply will work, but you probably want one that is adjustable +/- 10% or so to limit the heat dissipated by the CAT.

Is this what you needed.
 
Thanks for all the tips. After I started to pre-tin one pad of the PCB where the component goes, it went much faster. Last night, I think it took me 15 minutes to do my first cap, and like 30 seconds to do the last one. Working carefully with a pair of needle nose pliers in poor light isn't something I will do again. I'm almost done with my DIY driver and controller now :D
 
PWM/Analog driver?

PWM/Analog driver?

Hi All,
I will eventually be using an arduino based controller. My question is does make any difference what method of dimming I use?
I will be using one of the Terahz designs. The latest is for analog only and an earlier design is for one or the other. Thanks,
Clif
 
Hi All,
I will eventually be using an arduino based controller. My question is does make any difference what method of dimming I use?
I will be using one of the Terahz designs. The latest is for analog only and an earlier design is for one or the other. Thanks,
Clif

Technically, no. An Arduino is capable of multiple dimming methods if designed to do so. Out of the box, it is only capable of 5v PWM dimming.
 
The latest is for analog only

Actually, the latest version uses 'digital' dimming from the controller's stand point, since it communicates with the driver over a digital bus. The dimming part is on the driver itself.

Also, Arduinos don't have a dac to generate a smooth analog signal, so to get that you use PWM again, but pass it through a filter.
 
Also, Arduinos don't have a dac to generate a smooth analog signal, so to get that you use PWM again, but pass it through a filter.

Can you elaborate on the filter part? Is it ill-advised to run a driver directly off an Arduino PWM signal, or was that comment directed at a specific driver design?
 
Dimming

Dimming

Thanks rrasco. I will be going with the latest Terahz design. Also thanks DWZM for for your latest post, very helpful.
Clif
 
Dimming

Dimming

Thanks terahz. I guess my question opened up an area for clarification. I haven't dug into the arduino threads yet, have to get the led lights up and running first.
 
Is it ill-advised to run a driver directly off an Arduino PWM signal

It depends on the driver design. To date, all of the designs posted here except terahz's I2C design are fine on an Arduino PWM signal, unfiltered. You'd put a filter in place if you had a driver that required an analog signal.
 
I have to agree with dwzm, surface mount is easier and faster. It might seem that is not the case, but it very much is. The mentioning of SMD solder makes me want to have something to solder... maybe a SMD oscilloscope....
 
I'm thinking electronics will slowly evolve as a bigger and better hobby of mine.(but the math needed for the engineering side of things scared me to business) I'll probably get a scope like that sometime soon. Especially since I have a small CNC machine to mill up PCBs :)
Although more pertinently I am hoping to spend the cash to light up a 40Br or a 60 gallon tank with LEDs, electricity here is $.50 plus per kilowatt and LED makes a lot of sense. The little 9 led light I am finishing(just need a tank for it) up will be a nice tester, although there are many more choices then Cool White and Royal Blue.
 
I don't have a link to the paper, but I believe LED's work more efficiently when PWM dimmed than Analog dimmed (i.e. current control). Of course, there's the part before the controller, and how the controller actually drives the LED; not sure about these parts.

== John ==​
 
Back
Top