Aquarium Wise - Another Arduino Aquarium Controller - The Planted Tank Forum
Reply
 
LinkBack Thread Tools Display Modes
post #1 of 25 (permalink) Old 09-07-2014, 07:39 AM Thread Starter
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 33
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 09:26 AM. Reason: Formatting
STReNT is offline  
Sponsored Links
Advertisement
 
post #2 of 25 (permalink) Old 09-07-2014, 08:40 AM
Planted Tank Enthusiast
 
Okedokey's Avatar
 
PTrader: (0/0%)
Join Date: Sep 2014
Location: Sydney, Australia
Posts: 784
Dude that is freakin awesome! I was thinking of doing something really similar!!!


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| Eheim Prof 3, 2217, 2213 (Purigen only) + 350 Skim, Reeflex UV 800 | HC300A Chiller | 3xKessil A360WE LED + Spectral Controller | Pres. CO2 + Aqua Medic Reactor1000 | DIY Fertz + 2 x Jabeo DP-4 | CAL AQUA LABS’ Black Earth & GreenBase subst. + root tabs


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| Eheim 2217 + 2213 | Kessil A360WE LED + Spectral Controller | Pres. CO2 + atomiser | DIY Fertz | ADA Africana + root tabs.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Okedokey is offline  
post #3 of 25 (permalink) Old 09-15-2014, 03:24 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Aug 2014
Location: Portugal
Posts: 12
Subscribed !
Muttley is offline  
 
post #4 of 25 (permalink) Old 09-16-2014, 06:22 PM
Planted Tank Obsessed
 
PhysicsDude55's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2011
Location: Dallas, TX
Posts: 339
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 offline  
post #5 of 25 (permalink) Old 09-18-2014, 07:58 PM
Planted Tank Obsessed
 
HunterX's Avatar
 
PTrader: (24/100%)
Join Date: May 2012
Location: Springfield MO
Posts: 407
Thats a good looking interface.

Darrin

Shrimp Tank:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Arduino Tank Controller:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
HunterX is offline  
post #6 of 25 (permalink) Old 09-19-2014, 01:36 AM Thread Starter
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 33
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  
post #7 of 25 (permalink) Old 09-19-2014, 02:45 AM
Algae Grower
 
PTrader: (0/0%)
Join Date: Sep 2014
Location: Florida, USA
Posts: 10
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  
post #8 of 25 (permalink) Old 09-19-2014, 03:37 AM
Planted Tank Obsessed
 
PhysicsDude55's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2011
Location: Dallas, TX
Posts: 339
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 offline  
post #9 of 25 (permalink) Old 09-19-2014, 09:20 AM
Planted Tank Obsessed
 
PTrader: (0/0%)
Join Date: Apr 2014
Location: Salem, Oregon
Posts: 344
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


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Fraternity of Dirt #165
CR500 Rider, RIDE RED
CluelessAquarist is offline  
post #10 of 25 (permalink) Old 09-23-2014, 09:39 AM Thread Starter
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 33
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  
post #11 of 25 (permalink) Old 09-23-2014, 01:25 PM
Planted Member
 
PTrader: (7/100%)
Join Date: Feb 2014
Location: Palmetto Bay
Posts: 228
What driver board are you using or the pumps?
r45t4m4n is offline  
post #12 of 25 (permalink) Old 09-23-2014, 10:19 PM Thread Starter
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 33
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  
post #13 of 25 (permalink) Old 10-14-2014, 08:16 AM Thread Starter
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 33
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 08:58 AM. Reason: Fixing
STReNT is offline  
post #14 of 25 (permalink) Old 10-14-2014, 10:47 AM
Algae Grower
 
alpha1172's Avatar
 
PTrader: (15/100%)
Join Date: Sep 2005
Location: pittsburgh,pa
Posts: 81
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 offline  
post #15 of 25 (permalink) Old 10-14-2014, 10:34 PM Thread Starter
Algae Grower
 
PTrader: (0/0%)
Join Date: Apr 2011
Location: Australia
Posts: 33
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

Tags
None

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:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



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
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome