The Planted Tank Forum - View Single Post - Calling all DIY LED "Junkies" - Your opinions wanted!
View Single Post
post #132 of (permalink) Old 11-26-2012, 04:26 PM Thread Starter
Planted Tank Enthusiast
O2surplus's Avatar
Join Date: Jan 2010
Location: "Out West, in the Land of Fruits & Nuts"
Posts: 877
Originally Posted by theblondskeleton View Post
This code is confusing to a newbie!! (That's me, too.) I was finally programming my moonlights and it took me three tries to correctly input the start time. Now it's in there and all is well. I reduced my moonlights to 2 emitters and cranked it waaaay down. Still looks good, and hopefully won't kick up the algae. Last time I had 6 emitters at 700mA. You could see everything but it was really bad for algae.

I'm getting some "stepping" on the dimming, and at the end it doesn't just fade out, it clicks off. Normal? It still looks awesome and it is much more tidy and easy to handle than all the other stuff!

PS- Sorry!I haven't forgotten, O2! Holidays and all, you know. Friday!
Well I'm glad to read that you've got it up and running. Unfortunately the "6 channel code" that I provided is very basic and does not provide for High resolution dimming ( Dimming "steps" occur once per minute). That's because not all of the PWM pins have the same performance capabilities. Digital pins "9 & 10" can be used for very high resolution dimming, but you'd be left with only 2 channels of control. Those two pins are what "Sinks" code takes advantage of and the dimming "steps" occur once per second. If you'd like to try his code, just reconfigure the jumper wires to provide the dimming signal from those two pins and upload his code. ( I wish "Sink" were around here, but he hasn't logged in in a long time)
Let me know if you need any additional help with your code and I'll do what I can to help.

225 Gal, Glass "Reef Ready" w/ dual Iwaki Pumps & 2 Ocean Clear inline filters. Makers 72" heat sink w/ 12 NanoBox V3 led arrays, custom built CC drivers. All controlled by a BlueFish "mini" Led Controller. iAqua Aquarium Controller , and a 20lb CO2 system w/ Milwaukee Ph Controller.
O2surplus is offline  
For the best viewing experience please update your browser to Google Chrome