Opex - (Work in Progress) Aquarium Controller

Discussion in 'Do It Yourself (DIY)' started by money88, Nov 21, 2018.

  1. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    This thread highlights my development of Opex (name pending).

    So I know there is already reef-pi and @Ranjib and team is doing some some great work on that, so I am by no means looking to compete with the amazing work they have done (as I have already learned quite a bit reading through that thread), but rather document my progression in the development of my own controller.

    The reason I am doing this project is to learn some new technologies (node, react, electronics), get myself more engaged in my tank, and finally have a reason to work on a project that I have a reason to see through outside of work. I am also excited to be able to share my progress and work with like minded individuals who are passionate about reef keeping even though most of you are definitely better at it than me ;)

    My controller to date was originally setup just to handle the essentials of a reef tank: ATO, Temperature readings, manual parameter tracking and web video. It's been that way for close to a year but I figure now is a good time to expand upon that idea and really bring to life a lot of what I have been thinking about over the last year or two.

    The controller uses raspberry pi as the master controller with 1 to many arduino boards as slaves to control other modules within the system. I am designing the system to the best of my ability to house multiple tanks and be extremely flexible with modules to add and remove. But the idea of me posting here to to give me a reason to work towards more formal MVPs (minimum viable product) as well as work towards specific features others or myself want to see.

    My original version all data was synced to the cloud but right now I am in the process of completing converting it to both a standalone controller as well as a cloud based controller to do some basic tasks and monitoring.

    This project is still very much in development and not yet ready to consume but hopefully that changes soon with the first iteration being converted hopefully soon.

    So far I have created two different power bars, 1 (4 outlets) which is specifically tied to my ATO and independent of my PI and another (8 outlets) I just completed that is controlled via bluetooth low energy from the PI. Also, temperature monitoring and salinity monitoring. I am currently in the process of tying the web piece of the controller into it all.

    opex-ipad.PNG

    Like I said this is VERY much still a work in progress so bare with me. Any words of encouragement also will help me along my journey.

    Github: https://github.com/bhcmoney/opex
     

  2. Reefpuck

    Reefpuck Active Member R2R Supporter

    Joined:
    Jul 15, 2018
    Messages:
    392
    Likes Received:
    563
    Location:
    Georgetown, TX
    Very cool! Tagging along. Do you also have it setup to automate your cal/alk/mag dosing as well? :p
     
    Diamond1, Ranjib and money88 like this.
  3. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    The plan will be to tie in dosers in the future the conversion over to the standalone system right now is the biggest first step
     
    Reefpuck, Diamond1 and Ranjib like this.
  4. Ranjib

    Ranjib Valuable Member R2R Supporter R2R Excellence Award Reef Squad Build Thread Contributor

    Joined:
    Apr 16, 2016
    Messages:
    5,925
    Likes Received:
    9,813
    Location:
    Palo Alto, Bay Area
    Nice :) . Would love to see the arduino/Pi interfacing. Keep us posted, and let us know if you need any help
     
  5. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    Thanks appreciate the offer! Definitely would not mind sharing notes if we every end up working on a similar item.

    The bluetooth communication via serial was pretty basic much like if you were to connect it via wire with SPI. But it became a bit more tricky when I decided I wanted to create a custom GATT Service to use for the communication instead of the UART Service provided.
     
    pdisner and Diamond1 like this.
  6. Diamond1

    Diamond1 Valuable Member Build Thread Contributor

    Joined:
    Oct 17, 2013
    Messages:
    1,370
    Likes Received:
    1,867
    Location:
    Cleveland Ohio
    Thia is very cool following along for sure.
     
    money88 likes this.
  7. Fishyj

    Fishyj Active Member Build Thread Contributor

    Joined:
    Jan 23, 2014
    Messages:
    485
    Likes Received:
    329
    Location:
    Niagara Falls NY
    Sounds very interesting. Would love to see some pictures of the setup.
     
    Diamond1 likes this.
  8. Jomama

    Jomama Marine fish monthly R2R Supporter

    Joined:
    Nov 8, 2017
    Messages:
    3,851
    Likes Received:
    5,758
    Location:
    Fullerton, California
    Keep going, I would.
     
    Diamond1 and money88 like this.
  9. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    thanks for the support!
     
  10. Breadman03

    Breadman03 Valuable Member Catskill Reef Member

    Joined:
    Jun 30, 2015
    Messages:
    1,473
    Likes Received:
    1,281
    Location:
    Luzerne County, PA
    I love to see this kind of innovation, but you'll want to change the name. Neptune would surely pursue for trademark infringement. Look up the Wawa case against Dawa. A very similar name competing for the same market makes for a solid case. I suggest ReefConnect as a name. If you choose that name, I demand that you pay royalties in the amount of a donation that you can afford to a charity of your choice. :)
     
    MaccaPopEye, money88 and pdisner like this.
  11. pdisner

    pdisner Well-Known Member

    Joined:
    Mar 8, 2014
    Messages:
    915
    Likes Received:
    656
    Web view looks awesome!¡! I’m a big fan of both the Pi and the Arduino. I have both boards. The Arduino is impressive because it handles the same sensor hardware that the Pi does for basic prototyping and then final project is refined. All this will just keep getting better and better as more people with different ideas come to fruition. Very cool.
     
  12. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    Ya, originally did this just for myself so I just used a play on it; but if I am opening it up to others I should rename it. Let the brainstorming commence.
     
  13. ubasu

    ubasu Active Member

    Joined:
    Aug 21, 2013
    Messages:
    137
    Likes Received:
    138
    What equipment are you using for video?
     
  14. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    Right now as I develop I'm just using the pi video camera with a u4lv server but at one point I actually had my dslr hooked up and live streaming.

    Currently it's just sitting on the side of the tank but looking at moving it eventually. And setting up an easy system to integrate other devices
     
  15. dantimdad

    dantimdad Valuable Member R2R Supporter R2R Excellence Award R2R Secret Santa North Alabama Reef Club Build Thread Contributor

    Joined:
    Jun 24, 2009
    Messages:
    4,241
    Likes Received:
    12,933
    Location:
    North Alabama
    I just got my first arduino. I am going to mess around with reading pH and timing my lights.

    I will definitely follow along for ideas.
     
    money88 likes this.
  16. dantimdad

    dantimdad Valuable Member R2R Supporter R2R Excellence Award R2R Secret Santa North Alabama Reef Club Build Thread Contributor

    Joined:
    Jun 24, 2009
    Messages:
    4,241
    Likes Received:
    12,933
    Location:
    North Alabama
    I have a quick question: Where do you get your temperature probe? All of them I can find are stainless steel.
     
  17. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    https://www.sparkfun.com/products/11050

    I used to use the stainless ones but they actually rusted and crashed my pico a year back. Been using this for close to two years now
     
    dantimdad likes this.
  18. dantimdad

    dantimdad Valuable Member R2R Supporter R2R Excellence Award R2R Secret Santa North Alabama Reef Club Build Thread Contributor

    Joined:
    Jun 24, 2009
    Messages:
    4,241
    Likes Received:
    12,933
    Location:
    North Alabama
    Thanks!
     
  19. BlakeL

    BlakeL Member

    Joined:
    Dec 8, 2012
    Messages:
    11
    Likes Received:
    23
    The Bluetooth power strip is a cool idea. Are you still in the process of building it?
     
  20. money88

    money88 Active Member R2R Secret Santa

    Joined:
    Mar 26, 2017
    Messages:
    193
    Likes Received:
    187
    Actually just finished it a day or so ago. Here are a few pictures of it.

    20181119_190602.jpeg

    20181119_203412.jpeg
     
    Last edited: Nov 23, 2018
Draft saved Draft deleted

Share This Page

Loading...