reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Thanks for the reply Ranjib.
The Reef Pi I want to build won't have light controllers (I prefer T5s to LEDs and the relays would handle that) or ph monitoring although a salinity moniter would be cool. I just want to run ATO, power supply, temp monitoring and 2 dosing pumps.
The 3 boards and the pi would cost about 150 - 160 bucks and the only other expense would be the pumps, the electrical outlets, temperature sensor, ato sensor and some jacks, connectors and power supply for the whole thing. I can't see that costing more than another 100.
So i guess my question is would I be able to set up the reef pi software with said boards and make it work?
I've had the salinity monitor discussion with Ranjib already and he made some good points. Beyond initial setup and water changes, the salinity should remain the same, given you have proper ATO functionality. Also, the cost of reliable probes is quite high, and really undermines the whole saving money thing this system provides. I have to say that after weighing what he was saying, I agree, and feel that it's not something worth pursuing as a monitor.
 
IMO it sounds like the Pi-HAT that @wykat designed is exactly what you are after (pic below). As you aren't doing lights you wouldn't need the PWM board (and I'm not sure if he has fixed the issues with that one yet) but the HAT has been tested and is ready to go.

You can upload the files and order it from JLPCB. I can't remember off the top of my head but the PCB and the components needed should be $10-20 or there abouts. You just need to solder the components onto the PCB and you get:
- 16 relay outlets
- 2 ATO sensors
- 2 Dosing pumps
- Multiple temp sensors
This is amazing! Please do tell us more about this.
 
IMO it sounds like the Pi-HAT that @wykat designed is exactly what you are after (pic below). As you aren't doing lights you wouldn't need the PWM board (and I'm not sure if he has fixed the issues with that one yet) but the HAT has been tested and is ready to go.

You can upload the files and order it from JLPCB. I can't remember off the top of my head but the PCB and the components needed should be $10-20 or there abouts. You just need to solder the components onto the PCB and you get:
- 16 relay outlets
- 2 ATO sensors
- 2 Dosing pumps
- Multiple temp sensors

This is such a good work, I think many other folks will find it useful. This deserves a dedicated thread, we can keep the relevant content to these hats together. @wykat what do you think? I love the idea that its solely focused on reef-pi, so we can target specific versions etc, instead of a generic pi hat. This is important as it reduces the testing scope and allow us to standardize, which in turn reduce build errors, and simplifies documentation. I would love to order or mill a few (i am planning to get a bantamtools in next year)
 
This is amazing! Please do tell us more about this.
I know right :-) ?
There are few other posts in this long thread that deserves their own thread. 3d printed contraptions, specific to individual reef-pi modules is another one.
 
I know right :-) ?
There are few other posts in this long thread that deserves their own thread. 3d printed contraptions, specific to individual reef-pi modules is another one.
This might have saved me several hours in soldering, but to be honest, i kinda enjoy the solitude it provides.
 
I have never encountered something like this. I’ll try to reproduce . Dashboard config should not be able to something like this
Ranjib

That sound like the issue I had when I changed my Dashboard Settings.

Incedentally, I am busy setting up a PiZero for my Brine Shrimp Hatchery (Brine-Pi :)), an I just changed my Dashboard to 2 columns and 2 rows and the same thing happened to me. I'm busy scrolling back to find how you talked me through fixing it the last time via API I think.
 
This might have saved me several hours in soldering, but to be honest, i kinda enjoy the solitude it provides.
you'll have to solder the components in this hat as well. Its just the connections are made, so no jumper wire related work (i.e. the solid core wire based things).
I too like the soldering works, its time consuming but theres something very peaceful about it.. i guess it has to do with solitude and focused work to make those connections right..
 
you'll have to solder the components in this hat as well. Its just the connections are made, so no jumper wire related work (i.e. the solid core wire based things).
I too like the soldering works, its time consuming but theres something very peaceful about it.. i guess it has to do with solitude and focused work to make those connections right..
Focused, detail oriented work. Can't be rushed, can't have distractions, it just peaceful, and i enjoy that. Glad to see that I'm not alone in that. BTW, are you using a flux cleaner at all? Its been a very long time since I've done this type of work, and I'm not sure excess flux will harm anything.
 
IMO it sounds like the Pi-HAT that @wykat designed is exactly what you are after (pic below). As you aren't doing lights you wouldn't need the PWM board (and I'm not sure if he has fixed the issues with that one yet) but the HAT has been tested and is ready to go.

You can upload the files and order it from JLPCB. I can't remember off the top of my head but the PCB and the components needed should be $10-20 or there abouts. You just need to solder the components onto the PCB and you get:
- 16 relay outlets
- 2 ATO sensors
- 2 Dosing pumps
- Multiple temp sensors

Thanks @wykat for this! This is awsome! Is this what your talking about for uploading files?
reef pi hat layout.png

Reef pi hat schematic1.png
 
Last edited:
I agree with you guys it would be nice if Wykat could make this a seperate post in the DIY section. This kinda gets Lost in the 300 plus pages of info here.
 
IMO it sounds like the Pi-HAT that @wykat designed is exactly what you are after (pic below). As you aren't doing lights you wouldn't need the PWM board (and I'm not sure if he has fixed the issues with that one yet) but the HAT has been tested and is ready to go.

You can upload the files and order it from JLPCB. I can't remember off the top of my head but the PCB and the components needed should be $10-20 or there abouts. You just need to solder the components onto the PCB and you get:
- 16 relay outlets
- 2 ATO sensors
- 2 Dosing pumps
- Multiple temp sensors
Is there a BOM list for the parts? It looked like that section in the docs was blank./
 
Thanks @wykat for this! This is awsome! Is this what your talking about for uploading files?

Both the PCB files and the BOM can be found here:
https://github.com/vandegraaf/Reef-PI_PCBs

I just downloaded the whole project from GitHub, then on JLPCB upload the "Reef-PI_HAT.zip" file to JLPCB (this .zip has all the .gbr files that JLPCB need). From memory all the default settings were fine. I was going to wait for the PWM board to be ready as well but I figured it's going to take me a while to get the main brain up and running anyway so I'll be ordering mine in the next couple of days.

The PCBs themselves only cost around $2 (for 10 of them) but the shipping can be a significant additional cost. There may also be other PCB milling companies that can provide more affordable shipping options.

Is there a BOM list for the parts? It looked like that section in the docs was blank./

The BOM for all the other components that you need is the "HAT.csv" file, I open it with Microsoft excel as opening it on GitHub is a bit confusing. It says what components you need and how many of each you need, there is even links for some. I got most of it (if not all of it) from Mouser.

I agree with you guys it would be nice if Wykat could make this a seperate post in the DIY section. This kinda gets Lost in the 300 plus pages of info here.
I agree that would be good, it still has the potential to be lost in the DIY forum though :p maybe when Wykat is happy with the PWM board he can start a separate thread :)
 
I agree with you guys it would be nice if Wykat could make this a seperate post in the DIY section. This kinda gets Lost in the 300 plus pages of info here.
600 pages on mobile
 
LOL, I gave up reading the whole thing. I now search the thread only when I come up with a question. I have a folder on my desktop at work called reef-pi and I have it filled with shortcuts to individual posts with the information I need to go back to when I get all my parts in order.
 
LOL, I gave up reading the whole thing. I now search the thread only when I come up with a question. I have a folder on my desktop at work called reef-pi and I have it filled with shortcuts to individual posts with the information I need to go back to when I get all my parts in order.
Can you share that with me :-)
I had thought of doing that, but I ran out of time :-( . I was interested in many things, including
- All the build images
- All the known builds
- Any extension work that can be used across other builds (HATs, tricks, 3 printed parts etc)
- Common and major failure modes and issues.

I also tried to do some of this programmatically, but r2r does not have any API (in fact i also considered a semi-automatic journal where reef-pi will upload weekly stats as r2r post in a build thread) to analyze a thread, and I am not sure scraping it using a crawler (such as mechanize) would be against rule (or ethically wrong).
But again.. theres a lot of good reusable information that needs to be extracted and condensed from this thread. May be we can use some community help and make sub=threads driven by volunteers.
 
Can you share that with me :)
I had thought of doing that, but I ran out of time :-( . I was interested in many things, including
- All the build images
- All the known builds
- Any extension work that can be used across other builds (HATs, tricks, 3 printed parts etc)
- Common and major failure modes and issues.

I also tried to do some of this programmatically, but r2r does not have any API (in fact i also considered a semi-automatic journal where reef-pi will upload weekly stats as r2r post in a build thread) to analyze a thread, and I am not sure scraping it using a crawler (such as mechanize) would be against rule (or ethically wrong).
But again.. theres a lot of good reusable information that needs to be extracted and condensed from this thread. May be we can use some community help and make sub=threads driven by volunteers.

@Ranjib I wonder if you expected this to become so popular and/or go this far? It might be getting to a point where you need to take this project to it's own site and have all the control you need to keep everything organized. I've been around long enough that reading the whole tread was doable, but I still find myself trying to find something I remember reading months ago and it can be pretty difficult. reef-pi may have outgrown R2R.
 
@Ranjib I wonder if you expected this to become so popular and/or go this far? It might be getting to a point where you need to take this project to its own site and have all the control you need to keep everything organized. I've been around long enough that reading the whole thread was doable, but I still find myself trying to find something I remember reading months ago and it can be pretty difficult. reef-pi may have outgrown R2R.
Running a forum site is a lot of work :-). We can do a google group or something. But then there's another aspect to it, which is staying close to the cause, I don't want reef-pi to be a tech-centric thing. Its focus is to ease reef keeping, and having the discussion here helps with that cause. We have an opportunity to learn the best reef keeping habits and address the most common challenges here by being with the community.
That said, I'll link the important posts in this thread to reef-pi website as a separate blog. I don't think it will be hard to just create dedicated threads and builds, we can group them with #reefpi tag. If the original authors are not interested in it, I'll take permission from them and start those. We can sticky those links in the very first page of this thread. There are a lot of other tricks we can do to address most of the current challenges, here in r2r, where the community lives.
 
Running a forum site is a lot of work :). We can do a google group or something. But then there's another aspect to it, which is staying close to the cause, I don't want reef-pi to be a tech-centric thing. Its focus is to ease reef keeping, and having the discussion here helps with that cause. We have an opportunity to learn the best reef keeping habits and address the most common challenges here by being with the community.
That said, I'll link the important posts in this thread to reef-pi website as a separate blog. I don't think it will be hard to just create dedicated threads and builds, we can group them with #reefpi tag. If the original authors are not interested in it, I'll take permission from them and start those. We can sticky those links in the very first page of this thread. There are a lot of other tricks we can do to address most of the current challenges, here in r2r, where the community lives.

Agreed
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top