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

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
On a separate subject I need to figure out an ATO solution, what tends to be the most reliable?

Thanks!
:)

Reliable as far as what? Sensors? Pump?

Simple tends to be reliable with caviats. For sensors float switch or optical (optical will require a resistor)... Both would need to be checked to make sure there's no crud built up from time to time. Pump? Personal preference... I bought a Tunze osmolator replacement pump for $20 and it has served me well for about 4-5 months now.

You can also use no contact sensors like externally mounted ultrasonic sensors, but they're not super sensitive/accurate with detecting level. I probably wouldn't use one to check tank water level but I'm using one on my ATO container to check when it needs a refill; works great for that.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Reliable as far as what? Sensors? Pump?

Simple tends to be reliable with caviats. For sensors float switch or optical (optical will require a resistor)... Both would need to be checked to make sure there's no crud built up from time to time. Pump? Personal preference... I bought a Tunze osmolator replacement pump for $20 and it has served me well for about 4-5 months now.

You can also use no contact sensors like externally mounted ultrasonic sensors, but they're not super sensitive/accurate with detecting level. I probably wouldn't use one to check tank water level but I'm using one on my ATO container to check when it needs a refill; works great for that.

Thanks, I just not sure where to start, ML hat has 2 ato ports on it and trying to figure out parts that I need to build an ATO. I want something that for top off and I think I would like a high level switch to notify me if my pump fails, since it drains back into the sump I could use the high level device to notify me of that event. Seems like most are running dual floats to turn off the pump if the switch gets stuck, if I use both floats for that I will need to think of something else that will notify me if my return pump fails.

So much to learn and figure out, I have my DT plumbed to my sump but need powerheads, return pump, lights and more. :)
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Well I figured out the ribbon cable, helps to send the #9 pin (v+) to #5 on the connector end, once you do that it all works, such a Doh! moment. Sorry to clutter up the forum for real issues, now to go figure out what to do about ATO and all my other pressing issues.

@Michael Lane I am looking at the Mars aqua for lighting, I know I saw some posts that detailed the connector piece in the lights but unable to find it. If you have that handy I would appreciate it, I think you also used mini xlr connectors for the light portion also, is that correct?

Hope everyone is staying safe and doing well!
:)

I think I need to go start my build thread, here is close to a latest picture, I have the back painted black now but close to where I am at the moment.
IMG_20200403_164122.jpg
 
Last edited:

Bliff

New Member
View Badges
Joined
Apr 6, 2020
Messages
18
Reaction score
41
Rating - 0%
0   0   0
That's a nice sump. And the plumbing work looks A+ as well :)

Anyhow. Thanks to the devs and all the folks that have put together this awesome system. I've built my reef-pi and so far, it's been quite an approachable project.
I went with a LM2596 DC-DC buck converter and used a 12V 2.1A wall wart as the main power supply.
Those LED voltage meters are entirely superfluous, and I had them because they were impulse $1 buys from Aliexpress and looked nifty, so I had a few sitting around. I left them in for bling reasons.

Things Learned
If I were doing this from scratch, I'd consider using an external pack and adding a 12V input socket, since this is an IP68 enclosure, so things might get a lttle warm inside. It does seem to radiate some heat via the side wall though. I've considered using a small internal fan, just to circulate more air inside the case and therefore help to convect heat out through the other walls.

If you let your 6yo see the reef-pi control panel on their tablet, they will test how quickly all your relays can cycle (quite quickly, I found).

To Do
I have set up a PWM controlled LED, and it all worked as it should. That's not in this box though. What I'd like to make is a PWM controlled LED light batten entirley from DIY. I have some 10W, 12V LED modules. As I understand it, I would be using a power MOSFET with logic level gate driven directly from the PWM pin (does that need an RP protection diode?). I read in the light controller guide that some folks are making exactly that, but this is a very long thread and I haven't seen anything about that so far.
Is there another thread out there with this discussion? I'm a little stuck for search keywords.

Also, is there a specific thread/bug tracker for feature requests/suggestions? Is that this thread?

20200403_213620.jpg
 

Bliff

New Member
View Badges
Joined
Apr 6, 2020
Messages
18
Reaction score
41
Rating - 0%
0   0   0
E: Ctrl-Enter is POSTNOWDOIT

Oh and ALSO, I note that the guide recommends 3.5mm audio jacks as a connector, but the problem with those particularly on the temperature controller is that they momentarily make a ground connection during plugging, which restarts the pi. Instead, I had some of these sitting around:
hU7gnU9m.jpg

They aren't exactly panel mountable, but with a tight fitting cable gland you have a watertight connection for up to 5 pins.
I figure this might be of use to some folks.


Also, there's plenty of other kinds as well and they seem suited to panel mounting.
Example: https://www.aliexpress.com/item/32812653428.html
 
Last edited:

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Anyhow. Thanks to the devs and all the folks that have put together this awesome system. I've built my reef-pi and so far, it's been quite an approachable project.
I went with a LM2596 DC-DC buck converter and used a 12V 2.1A wall wart as the main power supply.
Those LED voltage meters are entirely superfluous, and I had them because they were impulse $1 buys from Aliexpress and looked nifty, so I had a few sitting around. I left them in for bling reasons.

Things Learned
If I were doing this from scratch, I'd consider using an external pack and adding a 12V input socket, since this is an IP68 enclosure, so things might get a lttle warm inside. It does seem to radiate some heat via the side wall though. I've considered using a small internal fan, just to circulate more air inside the case and therefore help to convect heat out through the other walls.

If you let your 6yo see the reef-pi control panel on their tablet, they will test how quickly all your relays can cycle (quite quickly, I found).

To Do
I have set up a PWM controlled LED, and it all worked as it should. That's not in this box though. What I'd like to make is a PWM controlled LED light batten entirley from DIY. I have some 10W, 12V LED modules. As I understand it, I would be using a power MOSFET with logic level gate driven directly from the PWM pin (does that need an RP protection diode?). I read in the light controller guide that some folks are making exactly that, but this is a very long thread and I haven't seen anything about that so far.
Is there another thread out there with this discussion? I'm a little stuck for search keywords.

Also, is there a specific thread/bug tracker for feature requests/suggestions? Is that this thread?

20200403_213620.jpg


Looks good, Welcome to R2R...looks like a good start!

:)
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,893
Reaction score
76,037
Location
SW, FL, USA
Rating - 0%
0   0   0
Anyhow. Thanks to the devs and all the folks that have put together this awesome system. I've built my reef-pi and so far, it's been quite an approachable project.
I went with a LM2596 DC-DC buck converter and used a 12V 2.1A wall wart as the main power supply.
Those LED voltage meters are entirely superfluous, and I had them because they were impulse $1 buys from Aliexpress and looked nifty, so I had a few sitting around. I left them in for bling reasons.

Things Learned
If I were doing this from scratch, I'd consider using an external pack and adding a 12V input socket, since this is an IP68 enclosure, so things might get a lttle warm inside. It does seem to radiate some heat via the side wall though. I've considered using a small internal fan, just to circulate more air inside the case and therefore help to convect heat out through the other walls.

If you let your 6yo see the reef-pi control panel on their tablet, they will test how quickly all your relays can cycle (quite quickly, I found).

To Do
I have set up a PWM controlled LED, and it all worked as it should. That's not in this box though. What I'd like to make is a PWM controlled LED light batten entirley from DIY. I have some 10W, 12V LED modules. As I understand it, I would be using a power MOSFET with logic level gate driven directly from the PWM pin (does that need an RP protection diode?). I read in the light controller guide that some folks are making exactly that, but this is a very long thread and I haven't seen anything about that so far.
Is there another thread out there with this discussion? I'm a little stuck for search keywords.

Also, is there a specific thread/bug tracker for feature requests/suggestions? Is that this thread?

20200403_213620.jpg

Welcome to R2R and using a reef pi! Your setup looks pretty nice.

As far as bugs are concerned, people often post bugs they encounter in this thread. However, it is recommended to start and maintain your own reef pi build thread in the DYI forum.

Regarding feature/UI development suggestions please see the link below.

 

Dave's Reef

Active Member
View Badges
Joined
Nov 4, 2018
Messages
102
Reaction score
148
Rating - 0%
0   0   0
Has anyone had any issues with running more than two temp probes? I wanted to run 5 of them but seems to cause issues they keep faulting or not connecting at all? Is there a limit to the length? I would say my longest one is about 20' away. i had the same issue with my older pie also and just went down to running two but with my new build I have added a frag tank and also a mixing station temp as well as house temp.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Has anyone had any issues with running more than two temp probes? I wanted to run 5 of them but seems to cause issues they keep faulting or not connecting at all? Is there a limit to the length? I would say my longest one is about 20' away. i had the same issue with my older pie also and just went down to running two but with my new build I have added a frag tank and also a mixing station temp as well as house temp.

I have four. One in my tank, one in my sump, one on the pie hat and one on my mosfet board. All work well.

IMG_20200403_182541.jpg
 

Bliff

New Member
View Badges
Joined
Apr 6, 2020
Messages
18
Reaction score
41
Rating - 0%
0   0   0
Looks good, Welcome to R2R...looks like a good start!

:)
Thank you :).

I've realised that this is an older progress photo. The input AC line is now black, and comes in through a cable gland like the outputs. The power switch and some status LEDs are planned, but I haven't cut ports yet because I'm waiting on some printable vinyl adhesive paper so I can make a nice front label. I'm also waiting on label tape so I can properly label the "AC 240V here there be dragons" area.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
What have you got going on in there? It looks like several mosfets, so I'm guessing you have a few PWMs? Is that the relay in the bottom left side of the photo?

Well, on the proto pi hat, I have the ULN2803A to control the relays in my crappy home built power strip.
IMG_20200308_132949.jpg


There is also a DS18B20 temp sensor on board.

On the long proto board sitting at an angle (thanks small box), there are 6 mosfets and a DS18B20 with 4 headers for external sensors. I added LED's to the mosfet circuits to get a quick visualization on them. channel 4 doesn't light up. Not sure why, not interested in pulling it apart to figure it out right now.

no, that is not a relay. That's just an input power connector on the pca9685 breakout board.

I also have a header with jumpers to switch each mosfet from 12 to 24 volt output to control a variety of different devices.

This is an early pic of the board.
IMG_20200330_212425.jpg


Once the shutdown is over I will be sending off my files to get a perm board made. All of the discretes will be smd and will include buck converters on board for 12 and 5 volt, ULN2830A on board, pca9685 on board, along with dosing, ATO and pH monitoring.

I like the other board designs I have seen, however, they don't include some of the features I want, so I'm working on my own.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Anyhow. Thanks to the devs and all the folks that have put together this awesome system. I've built my reef-pi and so far, it's been quite an approachable project.
I went with a LM2596 DC-DC buck converter and used a 12V 2.1A wall wart as the main power supply.
Those LED voltage meters are entirely superfluous, and I had them because they were impulse $1 buys from Aliexpress and looked nifty, so I had a few sitting around. I left them in for bling reasons.

Things Learned
If I were doing this from scratch, I'd consider using an external pack and adding a 12V input socket, since this is an IP68 enclosure, so things might get a lttle warm inside. It does seem to radiate some heat via the side wall though. I've considered using a small internal fan, just to circulate more air inside the case and therefore help to convect heat out through the other walls.

If you let your 6yo see the reef-pi control panel on their tablet, they will test how quickly all your relays can cycle (quite quickly, I found).

To Do
I have set up a PWM controlled LED, and it all worked as it should. That's not in this box though. What I'd like to make is a PWM controlled LED light batten entirley from DIY. I have some 10W, 12V LED modules. As I understand it, I would be using a power MOSFET with logic level gate driven directly from the PWM pin (does that need an RP protection diode?). I read in the light controller guide that some folks are making exactly that, but this is a very long thread and I haven't seen anything about that so far.
Is there another thread out there with this discussion? I'm a little stuck for search keywords.

Also, is there a specific thread/bug tracker for feature requests/suggestions? Is that this thread?

20200403_213620.jpg
Thank you for sharing your lessons. 6y old makes the best helping hand :-)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Has anyone had any issues with running more than two temp probes? I wanted to run 5 of them but seems to cause issues they keep faulting or not connecting at all? Is there a limit to the length? I would say my longest one is about 20' away. i had the same issue with my older pie also and just went down to running two but with my new build I have added a frag tank and also a mixing station temp as well as house temp.
There’s an epic post on this subject by @Erica-Renee . There are length related nuances and also different manufacturer offers different quality which can complicate things. Sometime you have to adjust the resistor threshold (and use 5 or 1k ohm ) . Search on google about multiple ds18b20 with raspberry pi and you should find useful information
 

Dave's Reef

Active Member
View Badges
Joined
Nov 4, 2018
Messages
102
Reaction score
148
Rating - 0%
0   0   0
There’s an epic post on this subject by @Erica-Renee . There are length related nuances and also different manufacturer offers different quality which can complicate things. Sometime you have to adjust the resistor threshold (and use 5 or 1k ohm ) . Search on google about multiple ds18b20 with raspberry pi and you should find useful information
Thanks I wasn't able to fine his thread but after some Googleing I did find out that you can either change the resistor or use 5v instead of 3.3v to power the probe I'll give both a try and see what works better. I just not sure why it worked fine on the bench test but doesn't now only difference that I can think of is i used cat6 patch cord for the testing and now its jacks installed in the wall maybe the additional connections is causing some loss
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
How do I setup Automatic Water Changes to use ATO Sensors?

I have 2 Optical Sensors, one as high water level, and one as low water level. (The low water level sensor is only used for water changes).

I have 2 pumps, one drain pump, and one fill pump. (Both are listed under the "Equipment Tab")

I want to trigger the water change from a "timer", and I want the process to be as follows:

1. Turn on the "Drain Pump" to drain the water until water level triggers the "low water level" sensor.
2. Then turn on the "Fill Pump" until the water level triggers the "high water level" sensor.

How do I go about doing this?
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0
Hi all... and Happy Easter everyone!!!

I created an adafruit.io account.
At the moment reef-pi seems to forward 4 feeds to my account:
- system-load5;
- system-memused;
- temperature-header;
- temperature-reading.

The temperature-header feed is sent only at the begenning, when I setup the adafruit account on reef-pi. After that, no other data arrive on my adafruit account.

In the errors I can find this logs:

Apr 12 08:42:41
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Apr 12 08:42:40
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Apr 12 08:42:41
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}

I have 2 questions:

1) How can I solve the problem?
2) Is it possible to setup which feeds I want to send to my account (i.e.: Can I setup to forward only the temperature-reading feed)?

Thank you in advance for your answers.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
SHT31D Humidity sensor . Work in progress driver in reef-pi. It exposes two analog inputs, channel 0 represent temperature (in Celsius) and channel 1 relative humidity.

sht31d.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hi all... and Happy Easter everyone!!!

I created an adafruit.io account.
At the moment reef-pi seems to forward 4 feeds to my account:
- system-load5;
- system-memused;
- temperature-header;
- temperature-reading.

The temperature-header feed is sent only at the begenning, when I setup the adafruit account on reef-pi. After that, no other data arrive on my adafruit account.

In the errors I can find this logs:

Apr 12 08:42:41
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Apr 12 08:42:40
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Apr 12 08:42:41
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}

I have 2 questions:

1) How can I solve the problem?
2) Is it possible to setup which feeds I want to send to my account (i.e.: Can I setup to forward only the temperature-reading feed)?

Thank you in advance for your answers.
These errors are from UI or systemd logs? Check your feed names. If they contain space, that can cause this.
https://github.com/reef-pi/reef-pi/issues/1105
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.2%
  • 100% dry rock + 100% live sand

    Votes: 46 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.1%
  • 75% live rock, 25% live sand

    Votes: 13 9.6%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top