DIY Aquarium Controller based on Raspberry Pi

metzz71

New member
Hello all. I am reaching out to find out how much interest in my dev project. I am currently developing a DIY controller based on the Raspberry Pi to control my aquarium. The audience for this project are folks whom wish to use and automated controller but are constrained by cost. The advantage of this setup is that it is modular so you can add as much or as little setup as you decide. Going forward you can upgrade as your system grows. Below are the features currently available.

  • Lighting based on Timers
  • 2 Wave programs based on on/off times.
  • Temp Probe
  • Temp Alarm - alarms based on high/low threshold
  • Email notifications desgined to be used with Gmail
  • 2 Float Switch Configurations
  • Save system States, Restores on power failure
  • Email notification on Power up
  • Backup/Restore/Upgrade feature
  • Up to 12 outlet/channel configuration
  • On/Off/Temp/Switch/Wave/Auto Configuration per channel
  • Single pane of glass dashboard for system status
  • Web based front end for motifications of the system
  • Fast Web interface
  • Accessible from anywhere (port forward setup)
  • Raspberry Pi 3 includes built-in Wifi

Going forward if there is adequate interest pH will be added. As well as any other suggested improvements/enhancements. I am looking to sell the software and plans to build out the system.

Please provide some feedback on interest in my project and share your thoughts!

Thank you!
 

Attachments

  • Screen Shot 2016-03-22 at 12.39.40 PM.jpg
    Screen Shot 2016-03-22 at 12.39.40 PM.jpg
    75.9 KB · Views: 0
  • Screen Shot 2016-03-22 at 12.39.53 PM.jpg
    Screen Shot 2016-03-22 at 12.39.53 PM.jpg
    58.2 KB · Views: 0
  • Screen Shot 2016-03-22 at 12.40.03 PM.jpg
    Screen Shot 2016-03-22 at 12.40.03 PM.jpg
    56.8 KB · Views: 0
  • Screen Shot 2016-03-22 at 12.40.12 PM.jpg
    Screen Shot 2016-03-22 at 12.40.12 PM.jpg
    59.7 KB · Views: 0
  • Screen Shot 2016-03-22 at 12.40.22 PM.jpg
    Screen Shot 2016-03-22 at 12.40.22 PM.jpg
    59.4 KB · Views: 0
I built one also. Want to share code? Already did ph and leak detection. We did ato with relays and temp probes. Working on rodi refill shortly.
 
I did one as well, only I'm using both the Pi and an Arduino Mega.

The Pi is mostly used for user IO and I'm using the Mega for the actual control.

The entire Pi app is written in python using Kivy for the gui. Every 5 minutes I upload current stats to my web server.

In the event the app crashes or the Pi locks up, the Arduino will continue running on it's own.

I have two pH probes, a temp probe, 5 float switches and 10 outputs (2 lights, 4 pumps, heater, chiller, co2, and ocean's motions (wavemaker)).

current development state.

http://reef.wallings.net/index.php/equipment/electronics/

except I have ph working now
 
Did an Arduino base 5 years ago. Gave/give the code for free to anyone who wanted to try.

cheers,
MaLi
 
Example Code?

Example Code?

Love seeing all the DIY controllers. Planning on doing one myself, either with a Pi, Arduino, or a Particle. I would LOVE, especially for the Pi, to see others' examples. Best not to make the same mistakes twice :) If anyone has a gitHub repo or other example code/hardware write-ups, I'd be incredibly grateful.

Cheers,
--Chris
 
I'm definitely interested. I've never dabbled in hardware programming, but as a seasoned Web dev, I know my way around a closure :).

I'm in the process of building my first tank, but I would be willing to help out as much as possible.
 
Looking at doing a controller of my own. Still debating the platform(s), does anyone have some basic example code? Anything would be awesome! Hanks
 
You'd really want to pick your platform before trying to look at code.

I'm using both python and Arduino on my controller, so I could provide you some of each of those.

I'm not the best coder, but it's working so far.
 
I'd encourage as much open source firmware and software as possible - it helps actually grow a system if there is a reusable core and examples, as opposed to 100 different versions.

A GitHub account is free.

For example, I based my light control off of bluetooth on a RPi (using a USB <-> BT-LE dongle). https://github.com/theatrus/ledbrick/tree/master/controller

If you're trying to build a simple control and monitoring loop for that, there is a great starting point.
 
Theatrus thanks for the gitHub link! BigDave, I'd love some code if you're willing to share. I don't know exactly what all I plan on doing quite yet. I've followed a few build threads on RC and others. I'm in more of a discovery phase right now. I don't mind getting my hands "dirty" programming and soldering, if I did I shouldn't be in the DIY section, but at the same time don't want to reinvent the wheel.
 
Do you know any other programming languages?

Python's heavy use of classes gives it a pretty steep learning curve. If you know any other languages, it will help.

I just downloaded some python examples and started modifying them to fit my needs. After doing that, I was able to start my own app.
 
"A byte of Python" was recommend to me by one of the embedded gurus at work. I read it and it made sense at the time, but I have not had need to implement anything in python yet so who knows if I actually learned anything from it. Google it. Its a free resource.
 
I'm in the planning/building stage of my first SW aquarium too and part of that project would be a Pi based controller. The stand is still being built so the Pi is in the future. I did pick up a Pi 3 and it's up and running and I've been checking out code examples here and there. Since I have some light coding experience in other languages I've been concentrating on looking at what others have done and how I might modify that to suit my needs. So, yeah, I'm interested! :)
 
I'm working on a controller based of the ESP8266 and writing a webserver in Lua. It has some limitations, but is the size of a postage stamp and can be had for around $3. For anyone going with the raspberry pi, setting up a read only file system may be beneficial. I have had memory corrupted many times when it looses power.
 
Thanks for the tip window. I'll be sure to back things up. Not too sure how read only would help with file corruption though.
 
I'm running on arduino controller, controlling my led, skimmer, moonlight, nite view light and wavemaker. So far so good. I used typhon reef code, changed and add some extra codes on it. Cost less than usd50 for the whole set.
 
this is amazing! i dont know a thing about code but would have no problem with hardware. Also have plenty of time to work on and learn code. Think a battery backup could work?
 
Yeah, I think some sort of UPS would work. Depending on what you find essential it may not need much capacity. You could probably program the RPI to shut off a number of things when the power is out.
 
Back
Top