![]() |
Arduarium Controller Gets New Code
After what seems like forever (but has only been about a day) I've added in 300+ lines to the Arduarium Controller code. It's really starting to behave like an aquarium controller since I can now monitor PH.
I think one of the best new features of the code is the PH configuration. From what I've seen everybody has come up with a custom formula to calculate their PH. That's not required anymore. Simply open up the config menus and select 'Configure PH' and the instructions on the LCD will do the calibrating for you.
Another one of the new features in the code is the ability to set the time you want the lights to turn on and off. There's also an option to set how long (in hour) you want the lights to dim off and on. This simulates sunrise and sunset quite nicely. Although it's really only configured for LED lights right now it will be able to handle whatever lights you have.
Of course one of the things I wanted most was the ability to save all these configuration options to an eeprom. The power went out a couple weeks ago while we were out and the consequent reset wreaked havoc on the tank. All values are stored in an eeprom so this can't happen again (provided the eeprom doesn't die lol).
Anyways, you can check out there new code here
Comments and suggestions are welcome as they've been the guiding force in the design.
- Content:


Comments
A question about your
A question about your shields:
I think a big part of the expense is the design / Fab work. Would it be more cost effective to combine some functionality like the RTC/EEProm and the port expander/one wire devices. I think you could get most of it on a shield and the extra parts are only a few $$$
Just a thought (from someone who can not design a board).
I've thought about combining
I've thought about combining the functionality before, but I split these shields up so that I can re-use them in different projects down the road.
It does add to the overall cost, but I care about modularity so that's basically where the design headed.
Sorry, but I can't see the
Sorry, but I can't see the code.
Sorry about that, the link
Sorry about that, the link was wrong. It links to the new code now.