Page 1 of 1

Arduino aquarium light driver

PostedCOLON Wed Nov 14, 2012 6:08 pm
by xanthic
I've almost completed my driver for my aquarium lights, just need to do the cut outs on the lid for the screen and buttons.

It is a Atmega328 programmed from my Arduino, running a real time clock. There are a couple of feeds for the main lights and the moon light. I made hardware debounced buttons to keep the code a bit tidier. The code ramps up/down the brightness of the light via PWM over a user-definable period. This seems to lower the stress on the fish, they are not startled by the light suddenly going on or off.

Image

Re: Arduino aquarium light driver

PostedCOLON Tue Nov 20, 2012 8:42 pm
by xanthic
Pic actually visible now, just realised that you can only see attachments when logged in...

Re: Arduino aquarium light driver

PostedCOLON Fri Dec 07, 2012 11:31 am
by bigal344
I really like the sound of this, I've built (or nearly) two systems for our tanks that work on a LDR to switch the lights from daytime to nighttime as the ambient light changes, thanks to a great design by Rich, cheers mate.
The only problem with this is that its affected by people coming in and out of rooms and switching lights on and off, so a system that is controlled by time would be much better.
Also I'm thinking that it may be possible to link the lights on multiple tanks to one 'base' unit either wired or maybe wireless?
Hmmmm....... :)

Re: Arduino aquarium light driver

PostedCOLON Mon Dec 10, 2012 12:08 pm
by xanthic
When I get chance, I'm going to get the circuit diagram drawn up, so that this can be printed to a PCB (probably on circuits.io). You'll be able to order a board from them, then maybe drop in your own transistors if you need to up the output.

Re: Arduino aquarium light driver

PostedCOLON Thu Dec 20, 2012 11:52 pm
by bigal344
That would be very cool mate!
I may have a little foray into this myself as I'm having loads of issues with my LDR controlled circuits and also as I mentioned they're affected by people coming in and out of the rooms switching lights on and off at night!!!
Mine will probably be somewhat simplistic though, a bit like the designer...... :oops:

Re: Arduino aquarium light driver

PostedCOLON Sat Jan 12, 2013 3:33 pm
by xanthic
I've ordered one of the PWM shields. I'll update my code to use the shield and you should then have a quick and easy way to drive your LEDs (obviously you need to buy one too! I'm sure Ben won't mind ;) )

Re: Arduino aquarium light driver

PostedCOLON Thu Jun 25, 2015 3:38 pm
by skyfall
that sounds cool! good luck!