DIY LED driver for reef lighting

Toys are in! The boards came exactly three weeks after I placed the order.

IMG_1186.jpg


IMG_1189.jpg


Seeeduino Mega (I'm gonna need a lot of help with this one):
IMG_1187.jpg


RTC shield:
IMG_1188.jpg





One problem I did notice only occurred on one board:
IMG_1191.jpg


Some of the vias did not seem to go all the way through. I don't know how critical this is, as I don't even know what a via is for (someone want to explain that one to me? :) ). The good news is that I ordered ten boards and this only occurred on one of the twelve that they sent me.
 
Seeeduino Mega (I'm gonna need a lot of help with this one):
IMG_1187.jpg
I just thought of something actually. The Seeeduino doesn't come with any type of manual, but I was planning on using it to power the 5V pin on the CAT4101 as well as the 5V PWM pin to test it at 100% power. Can someone help me figure out where, and with what, I power the arduino with and which pin is 5V out?
 
Bottome left where it says power. 3rd or 4th over. is 5v out

Power is probably 7-12 volts and maybe as much as 24. That should be speced on their site. Input probably very lower very left connector.
 
The vias are holes made in the PCB before the plating is done. Once plated, the hole is lined with copper so it's basically a metal "pipe" connecting the top and bottom layers of copper on the board. After plating, the soldermask (green stuff) is applied. Vias can be specified to be left clean (no soldermask) or to be tented - that is, covered with soldermask, as you're seeing. There are a variety of reasons why one might want vias tented, or not. I don't remember if I specified either way on that design. But in this case, it really doesn't matter. Those vias are there to connect the solder pad for the tab on the CAT4101 with the bottom ground plane (the grounded copper covering most of the bottom of the board). This is done purely for thermal conductivity, so that the bottom copper can help dissipate heat. It's likely the case that the vias will get plugged with solder when you put the CAT4101's on the board anyways so it's no big deal. At least one or two of the drivers I've put together recently had the same "problem" and I didn't even think twice about it.
 
Bottome left where it says power. 3rd or 4th over. is 5v out

Power is probably 7-12 volts and maybe as much as 24. That should be speced on their site. Input probably very lower very left connector.

This is correct. The "power header" is the 6-pin connector in the lower left portion of the shield footprint on the board. The pinout is as follows, left to right:

Reset
3.3v
5v
GND
GND (yes, two ground pins)
Vin (this is the "raw" voltage pre-regulator)

The weird white jack in the lower left corner is where you typically supply your input power, which ideally will be between 7-12v, though they spec 6-20v "absolute." Any common 9 or 12v wall wart will work great. They use that weird 2-pin JST connector for power - they sell a pigtail that mates to it, IMHO they should include one with every board sold but they don't. If you don't want to bother with shipping charges to order a single connector from them, shoot me a PM. I have a bag full of those pigtails and will put one in the mail next time I'm at the post office.
 
Thanks for the info,
I think I might end up using 3 wallwart PSU's in the end,
I'll measure what they actually put out and match them since I can get a bunch of them..

Out curiosity what kind of connectors would I use if I wanted places to plug stuff in and out of a panel?
I'm using a ATX PSU box as my driver/arduino/etc holder and would like some connectors that I could use by drilling holes in the box, screwing them in somehow then having it so i can plug stuff in(somehow, maybe crimping the cables to the connectors)... Some would be for the drivers,
other for the power for the driver/arduino/etc and for arduino's I/O for temp sensors.
I won't be running much for than 2 amps through only a small portion of the cables..

I was looking online for a half hour and am still lost :)
 
Hehhe here is my final dual version, done with the aid of a sharpie :)
I'm assuming adding wires through hole is much wiser than soldering them onto the traces?
It's not moving anywhere when done but for the future I'd like to improve on this sharpie hack job since I'l never be able to use a laser printer that works.
IMG_1224.jpg
 
Hello, I joined RC because of this thread. I have been lurking and reading this thread, the LED thread, and some build threads. =)

I have a question on which DIY driver would be the best for my first attempt at a DIY LED fixture. I am trying to use recycled parts as much as possible to "keep it green" and also to keep costs down. I have a PC power supply and need to drive 12 - 15 LEDs total, most likely XP-Gs running at 1A. I am leaning toward the NCP3066 boost driver because of the 12V power supply, though I also have laptop power supplies that put out 19 and 20 volts. All the power supplies have enough amperage for at least 3 to 4 strings if needed.

Any help is much appreciated.
 
Last edited:
I need to clean up the flux and it will look better,
to prevent oxidation I added solder(far too much) to the traces..
There is only one short under the capacitor on the far left I need to fix.
The previous board looked worse and still worked fine.
That's what you get with a sharpie and SMD :)
 
Hello, I joined RC because of this thread. I have been lurking and reading this thread, the LED thread, and some build threads. =)

I have a question on which DIY driver would be the best for my first attempt at a DIY LED fixture. I am trying to use recycled parts as much as possible to "keep it green" and also to keep costs down. I have a PC power supply and need to drive 12 - 15 LEDs total, most likely XP-Gs running at 1A. I am leaning toward the NCP3066 boost driver because of the 12V power supply, though I also have laptop power supplies that put out 19 and 20 volts. All the power supplies have enough amperage for at least 3 to 4 strings if needed.

Any help is much appreciated.

If you must drive lots of LEDs from a low voltage, the boost topology is pretty much your only choice, and if you want a simple through-hole design, the NCP3066 is probably the best IC. Keep in mind though that in boost topology it has some limitations, specifically the dimming has a very high "minimum" value. Though that might not be an issue.

I'd probably go with the 19 or 20v supplies, and drive 6 or 7 LEDs on each IC. That way, you'd only need two strings to hit your 12 - 15 LED target.

Let us know how it goes!
 
If you must drive lots of LEDs from a low voltage, the boost topology is pretty much your only choice, and if you want a simple through-hole design, the NCP3066 is probably the best IC. Keep in mind though that in boost topology it has some limitations, specifically the dimming has a very high "minimum" value. Though that might not be an issue.

I'd probably go with the 19 or 20v supplies, and drive 6 or 7 LEDs on each IC. That way, you'd only need two strings to hit your 12 - 15 LED target.

Let us know how it goes!

Thanks for the quick response! I will do what you suggest and use the 19v supply and drive a string of 6 LEDs per driver.

Would you be able to help with the components in the NCP3066 dual-driver BOM that need to change to run the LEDs at 1A?

Btw, does anyone here have spares of the dual-driver board for the NCP3066? :D
 
help me

help me

hi people

i have power supply 24 with 700 mA can i use it for buckpuck 1000mA i have few buck puck and leds thanks in advance :wavehand:
 
Thanks for the quick response! I will do what you suggest and use the 19v supply and drive a string of 6 LEDs per driver.

Would you be able to help with the components in the NCP3066 dual-driver BOM that need to change to run the LEDs at 1A?

Btw, does anyone here have spares of the dual-driver board for the NCP3066? :D

I, at least, have no spares of that design. Regarding parts changes - going to 1A is going to require a fair amount of component changes if you want to play by the book. Rsense and Rs are the obvious starting places, since they actually control the current, but you need to go through the rest of the parts and make sure none of the components' current ratings are exceeded at the peak ripple current you'll be seeing. If you struggle to figure all that out, lemme know and I'll take a look.

Another option is to just use the CAT4101 design with only 5 LEDs per string, on your 19v or 20v supplies. Cost will be almost the same (the CAT4101 design is cheaper to build) and efficiency - in terms of energy dissipated per LED - will only be a teeny tiny bit less. But you'll get better dimming and a slightly simpler driver to build.

No the you need 1000ma unless it is adjustable and you can turn down the current limit on the bucjpuck.

Since we don't know the method the buckpucks use to implement dimming - PWM or analog - it's probably not safe to assume it would work even if you did turn the buckpuck down. Questions like this that are not specific to DIY drivers are probably better asked in their own thread or in the main LED thread.
 
I have a few quick questions based on soldering the cat4101 board:

I bought the Aoyue Soldering station that DWZM mentioned, and it is very nice! The only problem is I have never used a soldering iron with a temperature set before. What temp should I use to make sure I don't fry the 4101 IC but still solder fast enough to be safe?

Also, I thought there was some instructions on how to solder the IC so you get alot of connection to the surface underneath it (for thermal conduction) as well as the tab out there, but I have searched RC for awhile now and not come across anything. Basically, do you try and cover the entire ground plane with solder or just make sure the tab is connected?
 
Quick question for the group here, would you guys consider using a resistor before the driver to reduce the V of the PSU so that as little heat as possible is generated by the CAT4101s? In the case of the potrans 24V PSU's I'd see a resistor as an extension to the pot they already have.
 
I, at least, have no spares of that design. Regarding parts changes - going to 1A is going to require a fair amount of component changes if you want to play by the book. Rsense and Rs are the obvious starting places, since they actually control the current, but you need to go through the rest of the parts and make sure none of the components' current ratings are exceeded at the peak ripple current you'll be seeing. If you struggle to figure all that out, lemme know and I'll take a look.
I think I need a 0.24 ohm resistor for Rsense, not sure about how you go about figuring the value for Rs. I found a 40V schottky diode that handle up to 2A. I am struggling with the inductor, and haven't looked at the caps yet.

Another option is to just use the CAT4101 design with only 5 LEDs per string, on your 19v or 20v supplies. Cost will be almost the same (the CAT4101 design is cheaper to build) and efficiency - in terms of energy dissipated per LED - will only be a teeny tiny bit less. But you'll get better dimming and a slightly simpler driver to build.
I may do this instead, but how close to 1A can this driver be run at safely? The IC has a 1A max right?

Thanks for all your help, my electronics is super rusty.
 
I have a few quick questions based on soldering the cat4101 board:

I bought the Aoyue Soldering station that DWZM mentioned, and it is very nice! The only problem is I have never used a soldering iron with a temperature set before. What temp should I use to make sure I don't fry the 4101 IC but still solder fast enough to be safe?

I usually set the iron near 300c. Don't have any justification for that, other than it works great for me.

Also, I thought there was some instructions on how to solder the IC so you get alot of connection to the surface underneath it (for thermal conduction) as well as the tab out there, but I have searched RC for awhile now and not come across anything. Basically, do you try and cover the entire ground plane with solder or just make sure the tab is connected?

Yes, you really do want a thorough connection across the entire pad for best thermal conductivity.

This is what I do:

1) Tin the ground pad on the board with a thin coat of solder (heat it up with the iron for a few seconds, touch solder to it, and move the tip of the iron back and forth as if spreading butter to distribute the solder across the pad)
2) Tin the "back" of the tab on the part using the same method
3) Hold the part in place with tweezers or a pick, and lay the tip of the iron down on the board right along the junction between the exposed edge of the tab on the part and the edge of the pad as it shows under the part. Leave it there until the tinned solder flows together and bonds. If it doesn't look like enough solder, feed some more in while the iron is still there.


Quick question for the group here, would you guys consider using a resistor before the driver to reduce the V of the PSU so that as little heat as possible is generated by the CAT4101s? In the case of the potrans 24V PSU's I'd see a resistor as an extension to the pot they already have.

It's my guess that the pot onboard the potrans PSUs is adjusting a sense resistance some internal chip is using to set the output voltage, NOT just dropping the output voltage directly. The pot just looks WAY too small to dissipate several watts. Can you not get yours down low enough?

I think I need a 0.24 ohm resistor for Rsense, not sure about how you go about figuring the value for Rs. I found a 40V schottky diode that handle up to 2A. I am struggling with the inductor, and haven't looked at the caps yet.

The Rs value is basically set such that the current limit won't kick in under normal operation for the peak current through the chip. So, using your inductor size, figure the peak current, then choose an Rs value for that current. The spreadsheet from OnSemi is really helpful in doing these calcs. You have some freedom on Rs as it doesn't come into play during normal operation, so the calculated value is really a minimum, not a specific requirement.

The caps shouldn't be an issue, most of them are rated way over what you need. The inductor will indeed be a problem; current rating and inductance seem to have an inverse relationship. You may need to "allow" a smaller inductance than you'd like to get the current rating you need.

I may do this instead, but how close to 1A can this driver be run at safely? The IC has a 1A max right?

If you kept the voltage drop as small as possible, I would see no issue running it right at 1A. The thing you want to watch for is hitting the temperature limit, and even dropping two or three volts at 700mA I didn't hit it - so at 1A and .5v drop, you should be totally fine.
 
It's my guess that the pot onboard the potrans PSUs is adjusting a sense resistance some internal chip is using to set the output voltage, NOT just dropping the output voltage directly. The pot just looks WAY too small to dissipate several watts. Can you not get yours down low enough?

Yeah you're probably right, but the chips for the whites get to almost 60C (80C is the limit, I think) and I don't like components that are too hot to hold a finger on them. All I really need is .5V to 1V. I hit the bottom at 20V exactly on my PSU...
The drivers for the blues at the same current (400mA) stay at max 47C which I like much better than 60C, so I'm guessing if I up the current to 700mA on the whites that will do the trick.

Or I can just put them all in a case and run a couple of fans. That should work too.
 
Back
Top