djmx2002
Premium Member
Hi All,
I want to share with the community what's I've been working on for the past several months, I started a big tank build thread on a local reef club in DC. And one of the more complicated tasks was to come up with an elegant way to control everything in the tank.
Going back several months ago, I've made the decision to go with a custom reef controller, one that I could fully customize, and add/adjust things as needed.
So far I got most of the things prototyped such as:
Mixing Station:
- Measure water Levels in both tanks (using pressure transducers)
- Keep track of water temperature
- Keep track of salinity in mixing tank (haven't implemented that yet, still debating if it's worth the extra money for the probe)
- Control auto top off
- Control solenoid to fill water from fresh holding tank to mixing tank.
- Future: Auto flush for RO membrane
- Future: Auto water shut off based on water level on tank, Instead of the water pressure valve.
Generic Outlet Control:
- Control up to 16 Outlets (can be extended)
- Auto / Manual (On/OFF) Modes
- Extendable
Probes:
- Measure PH
- Measure ORP
- Measure Salinity
- Measure Temperature
Lights
- Control individual LED Channels
- Simulate sun rise/set
- FUTURE: Simulate lunar cycles
- FUTURE: Simulate Weather patterns based on real time weather.
Software wise, I decided to keep as much as I can off the arduino, in the past i ran into issues where the arduino would freeze up on me... I assume it's because of me writing bad code, rather than the arduino being defective (went through several of them). Because of that, I first looked into a solution that could provide the arduino MC instruction on how to operate. First looked into Beaglebone and RasPi, but wasn't too happy with the performance, and the type of software I was able to install. So at the end i've decided to buy one of those refurbished PCs from micro center for around 150 dollars, I wiped the computer clean, and booted it with Ubunto, installed NodeJS, Mongo DB and bunch of other things to make it work as a full server.
Communications between the arduino and the computer is being done via bluetooth module at a baud rate of 115200, wish i could go faster than that. I've ran into some issues wish slower speeds.
I am planning to keep updating this post at least once a week, (only get to work on the project on weekends)
here's a sort video demonstrating the light settings page, next week I'll be working on the code to control the Jebao power heads and the settings panel for those. The week after i'll probably jump into getting the probes code written and start working on the dash board.
https://www.youtube.com/watch?v=Vo0UuYs6l8Q
I forgot to mention that the whole project is open sourced, code is available here: https://github.com/mottihoresh/nodarium
I want to share with the community what's I've been working on for the past several months, I started a big tank build thread on a local reef club in DC. And one of the more complicated tasks was to come up with an elegant way to control everything in the tank.
Going back several months ago, I've made the decision to go with a custom reef controller, one that I could fully customize, and add/adjust things as needed.
So far I got most of the things prototyped such as:
Mixing Station:
- Measure water Levels in both tanks (using pressure transducers)
- Keep track of water temperature
- Keep track of salinity in mixing tank (haven't implemented that yet, still debating if it's worth the extra money for the probe)
- Control auto top off
- Control solenoid to fill water from fresh holding tank to mixing tank.
- Future: Auto flush for RO membrane
- Future: Auto water shut off based on water level on tank, Instead of the water pressure valve.
Generic Outlet Control:
- Control up to 16 Outlets (can be extended)
- Auto / Manual (On/OFF) Modes
- Extendable
Probes:
- Measure PH
- Measure ORP
- Measure Salinity
- Measure Temperature
Lights
- Control individual LED Channels
- Simulate sun rise/set
- FUTURE: Simulate lunar cycles
- FUTURE: Simulate Weather patterns based on real time weather.
Software wise, I decided to keep as much as I can off the arduino, in the past i ran into issues where the arduino would freeze up on me... I assume it's because of me writing bad code, rather than the arduino being defective (went through several of them). Because of that, I first looked into a solution that could provide the arduino MC instruction on how to operate. First looked into Beaglebone and RasPi, but wasn't too happy with the performance, and the type of software I was able to install. So at the end i've decided to buy one of those refurbished PCs from micro center for around 150 dollars, I wiped the computer clean, and booted it with Ubunto, installed NodeJS, Mongo DB and bunch of other things to make it work as a full server.
Communications between the arduino and the computer is being done via bluetooth module at a baud rate of 115200, wish i could go faster than that. I've ran into some issues wish slower speeds.
I am planning to keep updating this post at least once a week, (only get to work on the project on weekends)
here's a sort video demonstrating the light settings page, next week I'll be working on the code to control the Jebao power heads and the settings panel for those. The week after i'll probably jump into getting the probes code written and start working on the dash board.
https://www.youtube.com/watch?v=Vo0UuYs6l8Q
I forgot to mention that the whole project is open sourced, code is available here: https://github.com/mottihoresh/nodarium