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

Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
I've read about some heat issues with the 4 so I think I might start with a 3b+
My reef pi controls alot and is happily chugging along on a 10 dollar pi zero w...no issues to speak of. @Ranjib and others can attest to the fact that a pi zero w is plenty for what reef pi does.
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
hello,

I finally received the sensors two weeks ago just before my holidays.
I just had the time to do some tests with an arduino ... the small sensor seems not to be very reliable (i bought the three different sensor ! )
( Non-contact_Liquid_Level_Switch_SKU_FIT0212-DFRobot )
to be tested with a raspberry and reefpi. I'll keep you informed.

have a good day

Thanks for reporting that sensor isn't very reliable, what was the problem with it? I've been using this one and it seems pretty solid, is this one of the others you bought?


Remember the Pi is only 3.3v tolerant, if you power sensor with 5v it'll put that out too.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,253
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
Remember the Pi is only 3.3v tolerant, if you power sensor with 5v it'll put that out too.

This is the most common issue I see with wiring the DS18B20 to the Raspberry Pi - Using 5V for the pullup, but then connecting to an RPi Pin which is very much not 5V tolerant.

You can power the sensor at 5V, but the pull-up needs to be to 3.3V - the 1-wire bus is Open Collector and can only pull down the pin (it shouldn't ever get to 5V from this split power arrangement). There is usually no advantage to doing this though, except for the fact that many of the DS18B20 clones just don't work like the real Maxim part, so anything can happen.

Technically, the power pin is not at all required as 1-wire has a parasitic power mode, but this is very clearly documented as just not working on many of the clone chips you find in the cheap probe cables.
 

lmm1967

Well-Known Member
View Badges
Joined
Sep 12, 2017
Messages
563
Reaction score
809
Location
North Georgia
Rating - 0%
0   0   0
I just swapped over to a
  • Raspberry Pi 3 Model B Rev 1.2
I'll see what happens.

RPi 3b - Reef-Pi 3.4 - latest and greatest kernel.

As we know - no issues with the connections screen. Previous temp sensor error has changed to:

Temperature sensor failure. Error:EOF

& I'm seeing this occassionally:
Current value of 'FragTemp' is below minimum threshold. Executing up routine
 

Smin

New Member
View Badges
Joined
Apr 25, 2019
Messages
23
Reaction score
19
Rating - 0%
0   0   0
Yes. For the time being. I think I have fixed the issue with updated raspberry pi os, we are in process of testing it.
If you want anyone else to test it out give me a shout!
I'm tempted to get a pi zero and use the 4 for another project, there seem to be quite a few bugs popping up with it that are is related
 
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
Is there any activity on the 1-wire pin?

Don't have an RPi4 to test anything on :)
you mean electrical stuff? i didn't put it under scope/logic analyzer, till now only checked dmesg .,, there's very little in there, with only one error message ""
RPi 3b - Reef-Pi 3.4 - latest and greatest kernel.

As we know - no issues with the connections screen. Previous temp sensor error has changed to:

Temperature sensor failure. Error:EOF

& I'm seeing this occassionally:
Current value of 'FragTemp' is below minimum threshold. Executing up routine
Is it working otherwise?
 
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
Some updates on the pi 4 and new raspberry os testing:
After last two days of extensive testing, I was able to get temp sensor working. My initial issues were due to wiring/bad sensor (as usual). Heres my pi4 test setup running on raspberry os (upgraded) with working temperature sensor

Screen Shot 2020-08-26 at 9.54.04 AM.png



I did encounter issues with GPIO driver, which has been fixed in master now. So, even though temp sensor is working , please wait for 2.5 release if you want to upgrade raspberry pi os on rpi 4.
 
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
Beautifully so far - Got ATO up and going last night.

I have to say that so far I'm thrilled with the robo-tank hardware and your software combo - last GHL controller got listed for sale this morning.
That is very nice to hear :-) , thank you. it was reef-pi's dream to be a humble little controller to make reef keeping easy, and automation affordable, while keeping the innovation possible through open philosophy. Feedbacks like this are our primary way to understand if we are able to achieve that goal
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
That is very nice to hear :) , thank you. it was reef-pi's dream to be a humble little controller to make reef keeping easy, and automation affordable, while keeping the innovation possible through open philosophy. Feedbacks like this are our primary way to understand if we are able to achieve that goal
It makes planted tank keeping easy as well. Ph controller, heater controller(that caught a failed heater) and the ability to hack a 69 dollar beamswork and give it more functionality than a 180 dollar fluval 3.0 led light is just....AWESOME!
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
This is the most common issue I see with wiring the DS18B20 to the Raspberry Pi - Using 5V for the pullup, but then connecting to an RPi Pin which is very much not 5V tolerant.

You can power the sensor at 5V, but the pull-up needs to be to 3.3V - the 1-wire bus is Open Collector and can only pull down the pin (it shouldn't ever get to 5V from this split power arrangement). There is usually no advantage to doing this though, except for the fact that many of the DS18B20 clones just don't work like the real Maxim part, so anything can happen.

Technically, the power pin is not at all required as 1-wire has a parasitic power mode, but this is very clearly documented as just not working on many of the clone chips you find in the cheap probe cables.

I agree, that's what I do, power the DS18B20 with 5v but use 3.3v on pullup. I don't like the idea of powering sensor with 3.3v as voltage drops are too great with long cables. I've never ran them on parasitic power, my gut thinks it's not as good though but could be wrong.

A resistor voltage divider with works well for sensor pins but thing I don't like about that is you can never use those pins for an extra 1wire bus as resistor blocks the DS18B20. For I2C I use the BSS138 to convert to 5v from Pi which seems to work well.

Beautifully so far - Got ATO up and going last night.

I have to say that so far I'm thrilled with the robo-tank hardware and your software combo - last GHL controller got listed for sale this morning.

Glad to hear you're happy, I think Ranjib has done an awesome job, hard to believe he's done all this with a family and life. :)
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
Hello,
Just had a major reef pi issue @Ranjib I have my doser working on my tank with 2 part. I just work up this moring and the doser #8 was stuck on and had drained more than half my calcium into the tank. I am not sure how to fix this from happening again but that is 100% unacceptable. I had to pull the power from reef pi and force a restart to clear the issue. I am currently doing water changes as I dont think a 600 ppm calcium is ok for my tank.
1598620185819.png
1598620232882.png
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
Hello,
Just had a major reef pi issue @Ranjib I have my doser working on my tank with 2 part. I just work up this moring and the doser #8 was stuck on and had drained more than half my calcium into the tank. I am not sure how to fix this from happening again but that is 100% unacceptable. I had to pull the power from reef pi and force a restart to clear the issue. I am currently doing water changes as I dont think a 600 ppm calcium is ok for my tank.
1598620185819.png
1598620232882.png

Is there a way to set it up so that if it runs for more than X seconds/minutes, stop it? (I don't use ReefPi for dosing, so I'm not aware of it's capabilities in that regard)
 
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
Hello,
Just had a major reef pi issue @Ranjib I have my doser working on my tank with 2 part. I just work up this moring and the doser #8 was stuck on and had drained more than half my calcium into the tank. I am not sure how to fix this from happening again but that is 100% unacceptable. I had to pull the power from reef pi and force a restart to clear the issue. I am currently doing water changes as I dont think a 600 ppm calcium is ok for my tank.
1598620185819.png
1598620232882.png
Thank you for reporting this and I am very sorry this happened with the build. You are absolutely right It’s not acceptable at all , and reef-pi Should do everything it can possibly do to avoid such incidents. Let me go through the details and I can then list down things we can improve on the software side , or on hardware configuration recommendations
 
Last edited:
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
Is there a way to set it up so that if it runs for more than X seconds/minutes, stop it? (I don't use ReefPi for dosing, so I'm not aware of it's capabilities in that regard)
This is not any sensor based that the pump can make the pump run arbitrarily, hence doser does not have ato like “disable after specific run time “ type feature .
i went through the code , but could not find anything suspicious. I’ll need some insights (logs , details of any other things happened during that time etc) to understand if I’m this is a software or hardware issue , and if it was happened during normal operation or something special was occurring (update or some other non reef-pi stuff )
 
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
Life has been very busy with all home schooling + work from home + new home induced chores . Tanks took a massive hit due to transfer and messed up maintenance schedule afterwards. I’m getting back to my regular cadence slowly , but have a long way to go to get restore the original state, including some significant upgrades in between
D1340FA4-7B6A-491E-8D68-867836CBEF0D.jpeg

In new home , the local climate is Much harsher than last place . In addition pico tanks are in workshop which is separate and does not have heating/cooling . Making the whole temperature control more challenging . I’ll be writing in detail how various mechanism working , but for the time being here is a happy sexy shrimp from one of the pico tank
0F1198FA-E8A3-4DF6-87E4-4C5BB70462E4.jpeg
 

Fairymary58

Community Member
View Badges
Joined
Nov 16, 2019
Messages
37
Reaction score
99
Location
Werribee, Victoria
Rating - 0%
0   0   0
HI, is there any way to monitor salinity with the reef-pi? Does anyone know a probe that would work this it at all? I'm in Australia so will need to be available here or be able to be shipped. Hubby is a programmer so can help with getting it set up for me. I've been searching and can't find the information so I would be super grateful for any help.
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 38 27.1%
  • 100% dry rock + 100% live sand

    Votes: 47 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

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

    Votes: 14 10.0%
  • 25% live rock, 75% live sand

    Votes: 10 7.1%
Back
Top