Aquarium Wise - Another Arduino Aquarium Controller
Planted Tank Forums
Your Tanks Image Hosting *Tank Tracker * Plant Profiles Fish Profiles Planted Tank Guide Photo Gallery Articles

Go Back   The Planted Tank Forum > Specific Aspects of a Planted Tank > DIY


Reply
 
Thread Tools Display Modes
Old 09-07-2014, 08:39 AM   #1
STReNT
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 32
Default

Aquarium Wise - Another Arduino Aquarium Controller


After seeing HunterX's and AnotherHobby's controllers, it gave me some inspiration to get my Aquarium automation project back up and running. Originally I had started building it with a Netduino and a 16x2 LCD screen, but after hitting a few issues with memory management, the project got shelved.

Now I've switched over to an Arduino with a 3.2" touch screen and have plans to add a lot more to it than my original project.

The base of the code is borrowed from Stilo & AnotherHobby - but it has some fairly significant modifications in an attempt to make it easily expandable.

Initial Planned features

- Temperature monitoring and alerting
* Overheating protection
* Low Temperature Alarm
- Power Scheduling for 8 outlets
* Lights
* Power heads
* CO2
* and more
- Liquid fertilizer dosing
* Macros
* Micros
* Glut
* Simplistic UI
* Fully configurable from the UI

Screen mockups

Home Screen



The home screen gives you a quick overview of your aquariums metrics.

The toolbar at the top lets you navigate to the feeding menu, the power menu and the settings menu.

It updates once every second to show the latest pH, Temperature, relay status and dosing status. There's currently 2 blank spots in the bottom row that are reserved for future use (Lighting schedule, CO2 status, or something else)

Power Screen



The power screen lets you quickly toggle relay states

Settings screens





The settings screens will let you configure settings for each of the different functions of the controller. They are all saved in EEPROM and will persist through controller resets and software updates.



This is all very much under construction (both the software and hardware), but it's well on its way to being usable. Here is my current prototyping set up.



Future features

- Multi channel PWM lighting control
- Ethernet Control
- Online metric logging

Code

All the Code can be found on GitHub: https://github.com/TrentScholl/aquar...se-controller/

Documentation

Although very lacking right now, documentation can be found here: http://aquarium-wise-controller.read...org/en/latest/

Last edited by STReNT; 09-07-2014 at 10:26 AM.. Reason: Formatting
STReNT is offline   Reply With Quote Quick reply to this message
Sponsored Links
Advertisement
 
Old 09-07-2014, 09:40 AM   #2
Okedokey
Planted Tank Obsessed
 
Okedokey's Avatar
 
PTrader: (0/0%)
Join Date: Sep 2014
Location: Sydney, Australia
Posts: 302
Default

Dude that is freakin awesome! I was thinking of doing something really similar!!!
__________________
900 x 450 x 450 Planted Tank (55G)
Eheim Professionel 3 + 2213 + Skimmer (350)
Eheim UV 800 + Pump head
2 x Kessil A360WE LED + Spectral Controller
Pressurised CO2
Seachem and Dry Fertz + 2 x Jabeo DP-4
CAL AQUA LABSí Black Earth and Green Base Substrates + Root tabs
Okedokey is offline   Reply With Quote Quick reply to this message
Old 09-15-2014, 04:24 PM   #3
Muttley
Algae Grower
 
PTrader: (0/0%)
Join Date: Aug 2014
Location: Portugal
Posts: 12
Default

Subscribed !
Muttley is offline   Reply With Quote Quick reply to this message
Old 09-16-2014, 07:22 PM   #4
PhysicsDude55
Algae Grower
 
PhysicsDude55's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2011
Location: Dallas, TX
Posts: 145
Default

Very cool! Its always really cool to see other people's ideas and interfaces. Everyone is a little different and adds something cool to the mix!

I like the interface, it reminds me of Windows mobile 5.0 (I actually liked windows mobile 5.0, had several smartphones back in the day!)

What graphics library are you using to display everything?

I'm using UTFT, but your font etc. looks different.

Are you loading images from an SD card, or from the internal memory on the arduino?

Once again, looks very nice! I'm working on a very similar project as we speak.
PhysicsDude55 is online now   Reply With Quote Quick reply to this message
Old 09-18-2014, 08:58 PM   #5
HunterX
Planted Tank Obsessed
 
HunterX's Avatar
 
PTrader: (22/100%)
Join Date: May 2012
Location: Springfield MO
Posts: 374
Default

Thats a good looking interface.
HunterX is offline   Reply With Quote Quick reply to this message
Old 09-19-2014, 02:36 AM   #6
STReNT
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 32
Default

Thanks for the comments

The images in the post are from the photoshop mockups, so the fonts don't look quite as nice on the TFT - but they're still pretty good.

I'm using uTFT with the uText library from here: http://pd4ml.com/pixelmeister/#5._uText_Library - You can get the font's I've made from the github repo if you'd like to use them

So far there's actually not a single bitmap required for the interface, it's all dynamically drawn so you don't even need an SD Card. I've found that this makes the interface redraw time much much faster.

Currently playing the waiting game with China/Australia Post for some more bits and pieces

I've started designing an enclosure which I'm going to get built by a furniture maker friend of mine. It's designed to slide underneath my cabinet almost like a rack mount unit.



The front will have:
4 Dosing pumps (only really need 3, but might be useful in the future)
TFT Screen
USB Port for firmware updates

The rear will have:
Power input
Power switch
9 Power Sockets (8 controlled by relay, and one bypass)
Space for 3 BNC connectors (at first I will only have one for PH)
4 RJ45 points for I2C sensors
4 RJ45 points for OneWire sensors
1 RJ45 Point for LAN
STReNT is offline   Reply With Quote Quick reply to this message
Old 09-19-2014, 03:45 AM   #7
steeltkb
Algae Grower
 
PTrader: (0/0%)
Join Date: Sep 2014
Location: Florida, USA
Posts: 10
Default

Cool beans, man. I made an adaptable heat / light controller for my snake cages as my senior honors project at college (Electrical / Computer Eng). I'm just getting back into aquariums, and it's nice to see people having already put some of this stuff together... good luck with your build!
steeltkb is offline   Reply With Quote Quick reply to this message
Old 09-19-2014, 04:37 AM   #8
PhysicsDude55
Algae Grower
 
PhysicsDude55's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2011
Location: Dallas, TX
Posts: 145
Default

Cool! Thanks for the extra details.

I like how you're adding BNC and RJ45 jacks to facilitate future sensors, that's smart and clean thinking!

Can't wait to see your setup once its up and running
PhysicsDude55 is online now   Reply With Quote Quick reply to this message
Old 09-19-2014, 10:20 AM   #9
CluelessAquarist
Planted Member
 
PTrader: (0/0%)
Join Date: Apr 2014
Location: Salem, Oregon
Posts: 261
Default

I want to build one of these so badly. I just really don't know if I'm capable. I'm hoping to learn something from this thread as it grows
__________________
CluelessAquarist is offline   Reply With Quote Quick reply to this message
Old 09-23-2014, 10:39 AM   #10
STReNT
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 32
Default

Got some more pieces in the mail today.

Switch mode Power Supply
Step down transformer
and some ribbon cable for the TFT

Software is coming along nicely. Still a few major bugs and missing screens in it though.

STReNT is offline   Reply With Quote Quick reply to this message
Old 09-23-2014, 02:25 PM   #11
r45t4m4n
Planted Member
 
PTrader: (7/100%)
Join Date: Feb 2014
Location: USA
Posts: 164
Default

What driver board are you using or the pumps?
r45t4m4n is offline   Reply With Quote Quick reply to this message
Old 09-23-2014, 11:19 PM   #12
STReNT
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 32
Default

12v goes from the switched power supply in to a four channel mosfet switch. You can find them on google/ebay if you search for "four channel IRF540"

This is just for prototyping, in my final design I'll be replacing it with a few NPN transistors.
STReNT is offline   Reply With Quote Quick reply to this message
Old 10-14-2014, 09:16 AM   #13
STReNT
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 32
Default

Bit of an update.

I've done a lot of work on the software and it's looking really good.

Working so far:
Power Schedule
Dosing Schedule
Temperature Control
Temperature alerts (buzzer)
pH Control (CO2)

and now it's internet connected!

Build in progress:




Online graphing




Also got one of these on the way


(4ft LEDZeal)

It comes with a controller so I'm not going to bother coding in the PWM control for now. However, it also comes with an RF remote which I'm going to reverse engineer so that I can still control the lights from my controller.

Last edited by STReNT; 10-14-2014 at 09:58 AM.. Reason: Fixing
STReNT is offline   Reply With Quote Quick reply to this message
Old 10-14-2014, 11:47 AM   #14
alpha1172
Algae Grower
 
PTrader: (6/100%)
Join Date: Sep 2005
Location: pittsburgh,pa
Posts: 33
Default

awesome! i played around with the this last week, looks great. Any chance of including the ir code for the satellite +/ e series?

internet connection is great.
alpha1172 is online now   Reply With Quote Quick reply to this message
Old 10-14-2014, 11:34 PM   #15
STReNT
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 32
Default

Quote:
Originally Posted by alpha1172 View Post
awesome! i played around with the this last week, looks great. Any chance of including the ir code for the satellite +/ e series?

internet connection is great.
Bit difficult for me to test it as I don't have a Satellite fixture, but happy to merge a pull request on the repo if somebody else wants to add it in
STReNT is offline   Reply With Quote Quick reply to this message
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the The Planted Tank Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in

Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright Planted Tank LLC 2012