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
Cool! The hat on Adafruit is sold out any other options?
amazon? It does not need to be adafruit. Those are good and very sturdy.. but if they are not available you should be able to get similar hats from gikfun and few other vendors in amazon.
 
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

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
Will try that now. and report back.

As I said earlier, it worked once, but then not again

Created a new ATO with the same parameters as the previous one and it worked as expected.
2020-04-04 (2).png


Edited parameters to higher threshold and they also worked

2020-04-04 (3).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
randomly stumbled upon this because I am trying to generate a 0-10v apex like control from my system to manage the speed of my pumps. I am slowly getting rid of ecotech stuff because it is so closed. So a new pump on the way takes apex style 0-10v. Anyway...

Here is my setup...in case it helps anyone who wants to DIY it. I'll get around to putting the code and detail on GitHub.

It measures the main parameters, watches the sump level, pump details and other instrumentations so I can start and stop things as needed.

For example, I have a process on the RPi in Node-red that turn on and off the heaters. But I have a second process on the Ubuntu system that watches this information as a backup process. All of these are on UPS. I recognize this is a bit extreme :) but...don't judge! HAHAHA!

My favorite part is how I can control everything in HomeKit, so when I go to the basement to check on something I can turn things on and off on my phone.

Also, since this is mostly mediated by MQTT I can create synthetic devices. For example, I have a device called "do swap" and that turns off the pump, stops the heaters, and a bunch of other things and then turns on an evacuation pump for 15 min. Then turns on a pump to put saltwater back into the sump. But it only does this if the swap salt is close to the same SG/pH/Temp as the tank.

Once you instrument...you can do lots of stuff!

If anyone is interested I can detail out the sensors and wiring and other things.

My goal is to make this easier on the next person! So ask away...

Blank Diagram.png
This is neat.
I was trying out some home automation recently. I am thinking of a permanent home assistant setup .. We are planning to add mqtt metric emission soon. I have a prototype branch already, i just have to polish it up. reef-pi api powers the entire reef-pi UI, and should be useful to build any kind of integration with most home automation system if anyone is seriously interested. Things like remote device control, group execution were recently launched in reef-pi, so im using straight up reef-pi for those.
 
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
How do I clear all graph data?
You cant , easily. Theres reef-pi db command that you can use to purge the data, but its more involved than simply using UI. If possible just recreate the temp controller/ato etc,
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Cool! The hat on Adafruit is sold out any other options?

youngreefer10g , If you're comfortable with surface mount soldering, I have my DIY Kraken board that's specifically designed for Reef-Pi in mind & has all the connections pre-routed in the board. Or, if you just want it pre-soldered, I also have the Leviathan Board, they're just more expensive to account for the components & time of assembly. If you're looking into the pre-soldered route, Michael Lane also has the Goby board. It's a little cheaper than my Leviathan board, but doesn't come with dosing control or float switch inputs. The right choice boils down to what features you plan to use & whether you want it pre-soldered out of the box or not.

The Leviathan/Kraken boards come with connections for all the features on Reef-Pi. The main difference you'd be looking at from the Adafruit guide is power control. I use relay boards connected to standard outlets for my builds, rather than buying the expensive American DJ bar. If you still wanted to use that though, you'd just need to wire the ULN2803 recommended in the Adafruit guide to the Equipment control outputs on the board.
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
youngreefer10g , If you're comfortable with surface mount soldering, I have my DIY Kraken board that's specifically designed for Reef-Pi in mind & has all the connections pre-routed in the board. Or, if you just want it pre-soldered, I also have the Leviathan Board, they're just more expensive to account for the components & time of assembly. If you're looking into the pre-soldered route, Michael Lane also has the Goby board. It's a little cheaper than my Leviathan board, but doesn't come with dosing control or float switch inputs. The right choice boils down to what features you plan to use & whether you want it pre-soldered out of the box or not.

The Leviathan/Kraken boards come with connections for all the features on Reef-Pi. The main difference you'd be looking at from the Adafruit guide is power control. I use relay boards connected to standard outlets for my builds, rather than buying the expensive American DJ bar. If you still wanted to use that though, you'd just need to wire the ULN2803 recommended in the Adafruit guide to the Equipment control outputs on the board.

The goby board does indeed have a dosing port and 2 float switch ports.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
The goby board does indeed have a dosing port and 2 float switch ports.

Ahh, you're right about the dosing, too late to edit & correct my post unfortunately. I'm used to using the dedicated L293D chip for dosing & since the Goby didn't have it, I had assumed it didn't have dosing. Just went & looked at the design files & it uses the PCA9685pw chip for that as well.

I still don't see the float switch inputs though, I see the optical sensor ones, are those what you're talking about?
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
Ahh, you're right about the dosing, too late to edit & correct my post unfortunately. I'm used to using the dedicated L293D chip for dosing & since the Goby didn't have it, I had assumed it didn't have dosing. Just went & looked at the design files & it uses the PCA9685pw chip for that as well.

I still don't see the float switch inputs though, I see the optical sensor ones, are those what you're talking about?

The float switch ports are called "ATO1 & ATO2".

They can be used with optical type, inductive type, as well as the old mechanical type.

You just have to wire it correctly depending on what type your using.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Huh, this is the first time I've really looked into the Goby design files.

Michael, how does the lighting control work with the Goby? From what I can tell, you'd have to have a separate board that you populated with the transistors & a 10V power supply?

I think my main thing I've learned this afternoon is that I probably shouldn't assume what is/isn't on other boards just by a cursory glance at the board itself, lol.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
The float switch ports are called "ATO1 & ATO2".

They can be used with optical type, inductive type, as well as the old mechanical type.

You just have to wire it correctly depending on what type your using.

Yup.

I'm using an optical and an ultrasonic sensors. I had a float before I switched it to the ultrasonic. All 3 work great.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
Got bored over the last couple weeks and with all the time on my hands decided to make a case for all my spare Reefpi parts.

Here is the first production. I'm new to 3D modeling and printing so there's a bit of a learning curve and adjustments already need to be made (12v hole is about a.25mm off). Will also be adding a cutout for DB9, just not sure where I'm going to put it. And two more holes for aviation connectors for 4 total.

This is mainly to see it in its physical form instead of inside Fusion 360.

20200404_181242.jpg


20200404_181305.jpg


20200404_181351.jpg


20200404_181223.jpg


The "Michael Lane" collection haha. I need a different on off switch, really don't like that one but it's the only one I had on hand. May do a reset microswitch instead.
 
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 pics of the pico tanks . They are getting back in shape . They both went through some changes.
5EBF843F-2A65-42C3-A054-30D724DC9374.jpeg

and
24A4A702-C84D-42D9-AC96-3978C3F4F7F9.jpeg

I glued the cyphastrea that was growing at the bottom of nano in the back walls of these two pico. The first one will stay as primary zoa /softy place , but the second one will slowly have sps specific optimizations
C0418695-ED1D-4F32-B271-BCCC67752970.jpeg

cyphastreahas already started new growth
323D4449-4B7D-4EE8-B8EC-CBB84D748FA8.jpeg

Liams Clove
FDC1AFA1-D456-45FB-8B7E-7E394BAA8326.jpeg

Vamp in drag ??
C0F943CE-3D39-4267-9B06-7F49EAC913D8.jpeg


blue tubbs
20DA6B17-0C19-49A9-A3AD-7BD7AD8E272E.jpeg


eagle eye
97C3CA39-1D0E-4985-B3E5-C94636DE140B.jpeg


Grandis
560963D1-9398-4A4C-81AE-45990AB8BF75.jpeg

Bambam
6465A377-40B5-41F9-8DC0-5B807435A837.jpeg
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Huh, this is the first time I've really looked into the Goby design files.

Michael, how does the lighting control work with the Goby? From what I can tell, you'd have to have a separate board that you populated with the transistors & a 10V power supply?

I think my main thing I've learned this afternoon is that I probably shouldn't assume what is/isn't on other boards just by a cursory glance at the board itself, lol.
The goby board wasn't really designed to work with 10v analog signals since I'm using a bunch of Mars Aqua lights (and now a couple Viparspectras). I'm kicking around another design that does include 10v analog, but the last few weeks have been a bit chaotic. The goby board would require additional add-ons to support 10v out.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Hi @Ranjib - I'm having trouble getting my PH probe set up and was wondering if you had any idea as to what I'm doing wrong.

I'm using Michael Lanes reefpi gobi hat with a PI zero. As for PH I'm using Atlas's carrier board and PH module.

I got it set to i2c (blue light) but when I go to the PH tab and hit the add (+) button, there is nothing showing in the Analog Input dropdown.

Any idea?

Also I have o errors but this shows up when I first load the page, I think it's because I dont have anything configured on myy dashboard yet. {"error":"stats for id: '1' not found"} | HTTP 404
If you've got the board set to i2c, then the next step is to configure the driver. Go to Configuration | Drivers and add a new driver using ph-ezo. I think the default address is 0x63 (99) based on the datasheet I found.
1586099471913.png
 

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

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

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

    Votes: 12 8.9%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top