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

speedstar

Well-Known Member
View Badges
Joined
Sep 18, 2018
Messages
704
Reaction score
1,030
Location
Grand Rapids
Rating - 0%
0   0   0
What pumps are you using? I think the Kamoer pumps for dairy that theatrus linked earlier are pretty dang nice.

Im going at this a different way, using the standard BRS 1.1ml / min pumps that are 120v and using the timer function to outlets. I have to add a couple outlets, calibrate and then figure it will be a run 35 second on the hour for ALK and run for 35 seconds on the half hour for Ca.

I have a set local available for $25each

https://www.bulkreefsupply.com/brs-2-part-doser-1-1-ml-per-minute.html
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
All, I figured I would share my CPU usage and current status. My reef-pi is still running next to my tank in simulation mode. I configured all the lights, dosers, and timers exactly how I would configure them if it was running my tank. The lights are connected to small LED's so I can watch them come on and off and the dosers are connected to 12 volt computer fans. As of now I get no interference with the lights when the fans kick on to simulate dosing. I have the following on my pi

2 dosers, one runs 4 times a day the other runs 5 times a day
Dual ATO with float switches (The timer is set to 30 second check intervals but I dont really have a way to simulate it)
dual temp probes set to 30 second check intervals
8 110 volt relays that have 3 timers. One timer flip flops pumps on the hour and the other is my sump light.
2 relays to switch 12 volts to turn lights on and off. These relays have 2 on timers and 2 off timers.
3 PWM light channels Blue, White, and Sunrise/Sunset

I am running this off a pi 3B+

44551806690_bc619b5ac7_h.jpg


Ignore the beginning of the light cycle yesterday. I was adjusting values. The moon/sunrise light is going to be 10 20mA 450nm standard hobby LED's. I did the math and they are .6 watts with all 10 lit at 100% I will most likely be running them much lower.
46317684462_e6bfb8d6cc_z.jpg
This is pretty cool :) . Thank you so much for sharing
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,077
Location
Gambrills
Rating - 0%
0   0   0
I havent used any yet. The ones I was thinking about are Loctite Marine Epoxy, or DEVCON 5 Minute, clear.
Not sure if they are reef safe, or how long I would need to soak them after, which is the main reason I havent done them yet.
I think plasti-dip would work for this
 

rushbattle

Valuable Member
View Badges
Joined
Oct 19, 2016
Messages
1,347
Reaction score
1,647
Location
Equality
Rating - 0%
0   0   0
Im going at this a different way, using the standard BRS 1.1ml / min pumps that are 120v and using the timer function to outlets. I have to add a couple outlets, calibrate and then figure it will be a run 35 second on the hour for ALK and run for 35 seconds on the half hour for Ca.

I have a set local available for $25each

https://www.bulkreefsupply.com/brs-2-part-doser-1-1-ml-per-minute.html
Good idea! I have a half dozen or so of those guys. I really like them and will use them in association with the DJ strip and Pico board on my small setup.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,223
Reaction score
3,632
Location
Sacramento, CA area
Rating - 0%
0   0   0
I am missing something here? The config as below but the Led,s are not turning on at al, using PI PMW. If I set them up as outlets (18&19) and then I can turn them on and off, proving the wiring.

upload_2018-12-21_8-43-10.png


upload_2018-12-21_8-44-3.png


upload_2018-12-21_8-44-34.png

What setting are you using in /boot/config.txt ? The RPi needs pins mapped to the PWM/Timer peripheral to work correctly.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,223
Reaction score
3,632
Location
Sacramento, CA area
Rating - 0%
0   0   0
I think plasti-dip would work for this

Initial findings on dunking the probes:

  • Make sure to remove the heat-shrink tube over the top half of the metal pill capsule and the wire. It does nothing, as the wire is already potted into the pill. Any coating you apply either needs to seal the boundary at both ends really well, or simpler just cut it away.
  • Silicone (Fine-L-Kote SR) coating has (no surprise) crap adhesion to the metal capsule, even after 24hr cure.
  • Turbo-Coat Acrylic has a really good adhesion, but will crack over the flexing cable. This likely won't matter as we don't care about that, only to protect the metal pill.
  • Still need to test a urethane coating.
A good casting epoxy is still a really good idea but much more labor intensive, so I'm digging into the other options :)
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Initial findings on dunking the probes:

  • Make sure to remove the heat-shrink tube over the top half of the metal pill capsule and the wire. It does nothing, as the wire is already potted into the pill. Any coating you apply either needs to seal the boundary at both ends really well, or simpler just cut it away.
  • Silicone (Fine-L-Kote SR) coating has (no surprise) crap adhesion to the metal capsule, even after 24hr cure.
  • Turbo-Coat Acrylic has a really good adhesion, but will crack over the flexing cable. This likely won't matter as we don't care about that, only to protect the metal pill.
  • Still need to test a urethane coating.
A good casting epoxy is still a really good idea but much more labor intensive, so I'm digging into the other options :)

I have also wondered about encapsulating in hot glue.
Coat the stainless in hot glue and then heat shrink on top of it. As the heat shrink melts, it re-melts some of the hot glue and purges it out the ends. You would just have to be careful not to get the entire system too hot and damaging the DS18B20 internally.

I have seen this method used on cable splices that have gone down 100's of meters into the ocean.
 

Diamond1

Valuable Member
View Badges
Joined
Oct 17, 2013
Messages
1,368
Reaction score
1,914
Location
Cleveland Ohio
Rating - 0%
0   0   0
I am missing something here? The config as below but the Led,s are not turning on at al, using PI PMW. If I set them up as outlets (18&19) and then I can turn them on and off, proving the wiring.

upload_2018-12-21_8-43-10.png


upload_2018-12-21_8-44-3.png


upload_2018-12-21_8-44-34.png

Do you have this line in your /boot/config.txt

dtoverlay=pwm-2chan?

The other thing I see different from mine is you have Min and Start values set at 100. Try setting them both to 0.

boot config.PNG




The only other thing I see different is you have Min and Start values set at 100. Try setting them both to 0.

Light edit tab.PNG
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0
I am looking for doser safety ideas. My biggest fear is the reef-pi doser getting stuck on for whatever reason and pouring in a liter bottle of alk. With my RKL I have the PH probe sitting in the dosing chamber and it will shut off the doser if the PH goes above 8.6. Since 1. I dont have PH monitoring installed on my reef-pi and 2. it cant control based on PH (Yet) I am trying to come up with other ideas.

My first thought is to use a third float switch (can we use more than one float switch not run in parallel to the main ATO?) set to detect high level and when the dosing chamber goes to high use a relay to cut the dosing circuits ground wire removing power from the motor driver. Any other ideas?

Another thought for future releases. Maybe a user defined override option to set the max run time of doser and return pump.
 

Johan Fe Scheepers

New Member
View Badges
Joined
Nov 4, 2018
Messages
16
Reaction score
27
Location
Drummond, KZN, South Africa
Rating - 0%
0   0   0
Do you have this line in your /boot/config.txt

dtoverlay=pwm-2chan?

The other thing I see different from mine is you have Min and Start values set at 100. Try setting them both to 0.

boot config.PNG




The only other thing I see different is you have Min and Start values set at 100. Try setting them both to 0.

Light edit tab.PNG


I have tried the min and start at 0, 25, 50, 75, 100, but no luck.

And yes dtoverlay=pwm-2chan is in my boot.txt
 

Hookster15

Active Member
View Badges
Joined
Sep 28, 2017
Messages
111
Reaction score
74
Location
Hobart , Indiana
Rating - 0%
0   0   0
It will be awesome if anyone with 3d printing experience can help us design an open source 3d enclosure for this board. I think it will be very popular
i can help with the 3d enclosure. i do need to get my hands on a board, but i do have questions?
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
On XMAS day Santa brings me the stuff to start my build, but the thing that was a sticking point was my led lights which use common cathode to tie the channels together, which meant using p channel mosfets as high side switches and building custom circuitry to interface them...until now...

SCORE...a prebuild breakout board that uses the pca9685 signal(any 3.3 to 10v pwm) to run a p channel mosfet, optically isolated from the PCA and usable to 1khz.

https://www.dfrobot.com/product-156...XU8Rg8-TsePc0pT8DzzM6AxN8NvCdUOhoCGv8QAvD_BwE
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Mrs. Santa was defensive about getting the mail today and wouldnt show me. Im thinking the ML reefkeepers reef pi hat arrived...thanks Mike L!!!

I will start my build thread once I see what all I get and get started, I gave Mrs Santa a list with options if she couldnt find something.

I should cross post my build on Planted tank.net forums as well, I am thinking we could get even more people interested in reef pi. I know I'm a freshwater guy but reef tanks and good planted tanks all could use a great controller and when the pH sensor works, it would be a great way to monitor and control CO2 for planted tanks.
 

Jonathan Troutt

Well-Known Member
View Badges
Joined
Apr 1, 2018
Messages
970
Reaction score
1,173
Location
Indianapolis, IN
Rating - 0%
0   0   0
@Ranjib

So now that the main 3 modules are done, I started setting up reef-pi to my likings.

With the lighting profile. I thought there was one hour increments instead of 2 hours? Has it always been 2 hour increments? Is there way to change that? Not complaining just wondering.
 

HAVE YOU EVER KEPT A RARE/UNCOMMON FISH, CORAL, OR INVERT? SHOW IT OFF IN THE THREAD!

  • 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