der_wille_zur_macht
Team RC
I'm writing out a way too long response to your question about setting current but I need breakfast first, so stay tuned. 

In point 2 you mentioned different values for rsense for the drive current. So does this mean that if you went with the .47 ohm for 500mA then the maximum you can drive the LED's is 500mA? Just want to make sure I understand exactly what this means. For my build I would want to be able to go to 700mA in order to ensure I had the ability to get light to the bottom of my tank but still not max out the LED's. What other values would have to be adjusted to drive at 700mA?
Right on Wille!
Thanks for the explanation....that's exactly what I was looking for. You explained things perfectly. I think I'll end up buying both the 100uH and the 150uH and then if I find I'm not getting the light deep enough I can put the larger one in..That's the beauty of doing the drivers yourself...one can play.
So would it also not be an idea to increase the size of the filter cap on the output to smooth the ripple a little more if one bumps up the current...or possibly add another 100mF? Most powersupplies have multiple filter caps on the output to provide a cleaner DC. Would doing this just be overkill given the amount of extra smoothing that would be gained?
Sorry if my questions seem basic! I've been out of electronics for many years! My understanding of the principals is pretty sound but my experience is a distant memory!!
Don
Seeing how DIY drivers will cut costs, I was wondering if anyone has found a different material to mount these lights to. Ive got a 150g tank and i would need 3 8.5x22 aluminum heat sinks costing around 175 dollars. I plan on using 72 cree lamp 32 white and 32 royal blue with some version of a DIY driver. Any ideas on cutting costs on these large builds would be great.
50k hours at 10 hrs/day is almost 14 years. And even at that point, they'll "only" be at 70% output, so I can just run 70% more current through them.
if your LED project included dozens of LEDs would it be easier to 'dim' the fixture by just turning off some them off?
der_wille_zur_macht; You are a typin' phool!! Wow.
Thanks for the cudo BTW. Your controller description was very good. I liked it.
You asked for any corrections. I have only two.
You seemed concerned about ripple or current fluctuations thru LEDs. That is actually of NO concern at all within limits. The only limit is too much current.
The key to all this is human visual perception. Most humans cannot see flickering if it happens above about 110Hz. I'm a rare phreak who can see it up to about 135Hz. Our eyes being chemical receptors can only respond so fast. For us not to see flickering we need any LEDs to be driven at least 120Hz. Better would be a couple of hundred hertz. At that frequency we cannot detect any flicker what-so-ever.
LEDs, they don't care as long as you stay below their peak current. With those Crees that means 10% at 1kHz OR FASTER. Slower than 1kHz and they will fail almost instantly.
Drivers need the inductor etc to regulate the current. If you just used a switch to turn on/off the current to a LED it would not limit the actual current to anything below the LED's peak allowable current.
Summary:
Dimming is usually accomplished by full on/off PWM of the regulated current.
The PWM must be at a higher frequency than 150Hz or we will visually detect it.
The PWM must be at a higher frequency than 20kHz or we will detect it audibly.
No LED current waveform does any harm or causes any damage to LEDs unless it exceeds the allowed peak, or pulse duty.
I haven't run the numbers but you wouldn't need to increase the current %70 to get back to the same brightness. Probably more like couple of 10's of percent.
if your LED project included dozens of LEDs would it be easier to 'dim' the fixture by just turning off some them off?
Of course that would work! But since each LED contributes a lot to the light footprint you would probably end up with a mottled result which, I personally, think would be cool.
Getting a bit off topic but there it is:... I was wondering if anyone has found a different material to mount these lights to. ... I plan on using 72 cree lamp 32 white and 32 royal blue ...
Getting a bit off topic but there it is:
I mounted mine on individual PowerPC heatsinks (Wakefield 658-35AB, mouser part 567-658-35AB). It will cost you less than $100 for the heatsinks but then you hove to suspend them somehow. I used angle aluminum so that will probably run you another 10-15 bucks from HD.
PM me if have any questions.
der_wille_zur_macht: Strange that you can hear your PWM. I can hear mine from the fans, but nothing from the LEDs. Also the arduino PWM can be adjusted a bit over 1KHz. It is still audible but might be better. Here is a nice read about it: http://arcfn.com/2009/07/secrets-of-arduino-pwm.html
There seems to be a general preference towards dimming with PWM vs 0-10V analog. Is this just because of the convenience of using it with the Arduino? It seems a lot easier to build a 0-10V dimmer with a pot and an LM317, and then just dim it with the pot. Of course this means no automation, unless you use a ReefKeeper or Apex controller, or Profilux, etc..
My guess would be Arduino is the reason. It is so common now in the DIY community and is so easy/cheap to build a controller that makes sense to go that way. Speaking of which I'm sure everyone has their own Arduino controller, we should get another thread going for that.