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

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

sector9

Active Member
View Badges
Joined
Jun 26, 2017
Messages
129
Reaction score
189
Rating - 0%
0   0   0
So, I ordered and sourced a bunch of parts to start building this weekend. Unfortunately my raspberry was hijacked by a 13 year old!! There is a good chance I am going to have to buy another one lol. But I got the box I am going to use, the perma proto hat, buck converters, jumpers, wire, headers, I found a 12 volt 3 amp power supply and barrel connectors in my basement, and I have some heatsinks and fans that I may play around with. Since I already have a working controller deployed this is a side project to build over time. I was thinking though... I read some article of users complaining that the raspberry locks up often. Those that have been running it for awhile do you do scheduled reboots? Any issues with crashes, locking up, or erroneous behavior?
I have been running a raspberry pi for an internet connected weather station since 2014 and I have found it to be very stable. I have run that pi for over a year at a time without issues. The top three things I would consider for pi stability:

1: Power. You will need a power supply with a decent current rating, especially as you add to your GPIO as your setup grows. The Raspberry Pi foundation folks recommend 2.5A for the Rpi 3. But another consideration is investing in a UPS to deal with power outages. Going a step further would include a UPS monitor like Network UPS Tools (NUT) so your pi can automatically shut down during a prolonged outage.

2: MicroSD card: These cards were originally meant for storage not running an OS. Find a reliable card (ie Sandisk or Samsung) from a reputable seller (sorry, no eBay $0.99 specials!). They both sell cards that are waterproof, xray-proof, temperature-proof, and magnet-proof. While all these designations are not strictly necessary, I think that the more reliable cards are worth the small premium. You don’t need a ton of space for reef-pi, I have used less than 2GB on my card and that includes a bunch of stuff I could delete

3. Network connection: Most of us run our pi’s headless. I think this improves reliability as the GUI isn’t used but it also means that a solid internet connection is important. The old wifi USB dongles I tried on my raspberry pi 1 were not reliable enough for my weather station so I only used Ethernet. The modern pi boards have a more robust built-in WiFi, and perhaps suggestions like @Ranjib made regarding resetting the connection nightly can make it even more stable.

There are a variety of other open questions related to our reefpi project that are currently unknowns. Just how reliable are the temp sensors, relays, optical sensors, etc we are all sourcing from different places during prolonged usage? I recommend redundant systems for critical components like temperature
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
I have actually not tested reef-pi for a full automatic water change, we are releasing the macro feature to assist with these kinds of workflow. I am planning to use the doser module for continuous water change in one of my pico, while for the nano i want to use one of more macros for semi automatic water changes (i.e. they'll be triggered manually, but once triggered they'll invoke a sequence of actions). This is something I expect to evolve over time, as reef-pi matures,

Thanks Ranjib.

I never expected to be able to do a fully autonomous water change. To my mind that had too many variables and room for error .

There's something i don't like about the idea of a continuous water change either. Even though i understand the theory behind it all.

My idea was always around a semi autonomous Macro based operation as you said.. my first ideas were around complicated systems with multiple solenoids and pumps.

My latest idea is to use a dedicated ATO system and siphon the required water change into the system and rely on the ATO to pump the excess water out of the system to waste.

Well that's the idea at the moment. It might change another few times before i implement it.
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
I'd love to see a picture of that!
The picture I posted earlier shows where the wires are connected. Black yellow and red. If you search back in the thread a little bit you can see on some of my post that I added a CAT5 connection inside my project box and then routed the wires to it.
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
The picture I posted earlier shows where the wires are connected. Black yellow and red. If you search back in the thread a little bit you can see on some of my post that I added a CAT5 connection inside my project box and then routed the wires to it.
Cool, cat5 works in a pinch.
 

speedstar

Well-Known Member
View Badges
Joined
Sep 18, 2018
Messages
704
Reaction score
1,029
Location
Grand Rapids
Rating - 0%
0   0   0
Starting to box it up, went with just a basic 9pin had them already, did the outlets I think different than most with whips and grommets, like the light-o-rama controllers use. Hopefully be testing again tonight.

GwK56Yv.jpg

lR2kRAg.jpg


Not waterproof but again I had the enclosures around.
 
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
Starting to box it up, went with just a basic 9pin had them already, did the outlets I think different than most with whips and grommets, like the light-o-rama controllers use. Hopefully be testing again tonight.

GwK56Yv.jpg

lR2kRAg.jpg


Not waterproof but again I had the enclosures around.
Looking good . Keep us posted
 
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 everyone ,
I have cut another release candidate for reef-pi, it includes numerous improvements around the ui , including mobile friendly modules and client side validations across doser, lighting and several other modules. There’s no big changes in logic . We expect a few last changes around ui (macro in particular ) to come next , and that’s it, we should be good to go for final 2.0 release .


As usual , release builds can be found in GitHub , make sure you choose the right package for pi zero or pi 3.

https://github.com/reef-pi/reef-pi/releases/tag/2.0.0-rc1
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Hi everyone ,
I have cut another release candidate for reef-pi, it includes numerous improvements around the ui , including mobile friendly modules and client side validations across doser, lighting and several other modules. There’s no big changes in logic . We expect a few last changes around ui (macro in particular ) to come next , and that’s it, we should be good to go for final 2.0 release .


As usual , release builds can be found in GitHub , make sure you choose the right package for pi zero or pi 3.

https://github.com/reef-pi/reef-pi/releases/tag/2.0.0-rc1


Thanks Ranjib

Update went off without a hitch.

I see the Farenheit / Celcius glitch in teh temperature module still seems to be there.

Will carry on investigating.
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Ordered some more parts today. I have decided to run two temp probes for both redundancy and also so I can see the temp of both my sump and the display. I also decided to use a float switch over the optical switch using the resistors to wire it in shown several threads back. I have been using float switches for years and just trust them more plus I already have several :) Since I have not even started building I have not really messed with the software yet. When using multiple temp probes can you use the average of both for controlling the heater? Or is one informational only?
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
maybe this page is interesting to visit
http://www.ispindel.de/

I'm JUST NOW getting to a PC where I can read up on this device. It looks like its used to monitor temperature and SG in brewing beer (one of my favorite hobbys I don't have time for anymore). Do you feel it could be useful in aquaria?
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Here is the fritzing schematic
Screen Shot 2018-08-29 at 3.45.09 PM.png

Do you by chance have an actual schematic of this? Breadboard diagrams are easy to copy but I cant read it. Is this still a legitimate design? I would really like to combine this with the existing power, temp, ATO, PH rather than building a whole new separate box.
 

speedstar

Well-Known Member
View Badges
Joined
Sep 18, 2018
Messages
704
Reaction score
1,029
Location
Grand Rapids
Rating - 0%
0   0   0
Do you by chance have an actual schematic of this? Breadboard diagrams are easy to copy but I cant read it. Is this still a legitimate design? I would really like to combine this with the existing power, temp, ATO, PH rather than building a whole new separate box.

These take me a while as while, as my electronics background had me so used to schematics.
 
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
I have been running a raspberry pi for an internet connected weather station since 2014 and I have found it to be very stable. I have run that pi for over a year at a time without issues. The top three things I would consider for pi stability:

1: Power. You will need a power supply with a decent current rating, especially as you add to your GPIO as your setup grows. The Raspberry Pi foundation folks recommend 2.5A for the Rpi 3. But another consideration is investing in a UPS to deal with power outages. Going a step further would include a UPS monitor like Network UPS Tools (NUT) so your pi can automatically shut down during a prolonged outage.

2: MicroSD card: These cards were originally meant for storage not running an OS. Find a reliable card (ie Sandisk or Samsung) from a reputable seller (sorry, no eBay $0.99 specials!). They both sell cards that are waterproof, xray-proof, temperature-proof, and magnet-proof. While all these designations are not strictly necessary, I think that the more reliable cards are worth the small premium. You don’t need a ton of space for reef-pi, I have used less than 2GB on my card and that includes a bunch of stuff I could delete

3. Network connection: Most of us run our pi’s headless. I think this improves reliability as the GUI isn’t used but it also means that a solid internet connection is important. The old wifi USB dongles I tried on my raspberry pi 1 were not reliable enough for my weather station so I only used Ethernet. The modern pi boards have a more robust built-in WiFi, and perhaps suggestions like @Ranjib made regarding resetting the connection nightly can make it even more stable.

There are a variety of other open questions related to our reefpi project that are currently unknowns. Just how reliable are the temp sensors, relays, optical sensors, etc we are all sourcing from different places during prolonged usage? I recommend redundant systems for critical components like temperature
Thanks for the thoughtful response. I agree with all of the above mentioned points. We have to do lot more field testing in coming days.
But also remember there are many reef-pi builds that are running for several months if not couple of years. And the components enlisted in the standard build guides (pi, lm3596, ds18b20) are all rated for 10yesrs life space and reasonable accuracy (for example ds18b20 has 0.5 degree accuracy) where relevant. Not to mention pretty much all the components are heavily used in other works (including commercial hardware ) and probably the most popular components in their own individual category. Robustness and reliability in reef-pi is not an afterthought, we still have a long way to go , but we consider this has one of the most important factor in each of our new features, and always open to compromise on other things if it contributed to better reliability. Being a diy project reef-pi reliability will always be predicated on the components used and due filegence done in the build processes, and we accept that whole heatedly:-)
 

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.0%
  • 100% dry rock + 100% live sand

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

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

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

    Votes: 10 7.3%
Back
Top