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

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
145
Reaction score
105
Location
Italy
Rating - 0%
0   0   0
Thank you very much! I have to run at least 4 sensors, 3 for the led lights and 1 on for the tank.. One strange thing, I'm testing 1 sensor with cable and I read 1 decimal value only by 0.5°C step, with 2 bare bone DS18B20 (the ones in TO92 package) I read 2 decimal but also values like 26.63°C which are strange for a DS18B20, there's a way to make all sensors work the same way?
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Thank you very much! I have to run at least 4 sensors, 3 for the led lights and 1 on for the tank.. One strange thing, I'm testing 1 sensor with cable and I read 1 decimal value only by 0.5°C step, with 2 bare bone DS18B20 (the ones in TO92 package) I read 2 decimal but also values like 26.63°C which are strange for a DS18B20, there's a way to make all sensors work the same way?
Odd, mine all read 2 decimal placed
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
145
Reaction score
105
Location
Italy
Rating - 0%
0   0   0
Odd, mine all read 2 decimal placed
have you set something to read 2 decimals?

So, now I have one sensor that works fine on an Arduino UNO but on Reef-Pi always send 127,5°C value

Edit: If I power all in parasite mode it works fine, strange thing o_O
 
Last edited:
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
Hi, no problem, I'll create it now... regarding the guide you've made for the display, the only way to have access to the dashboard is by a web browser right? Now I'm trying to boot Raspbian to Firefox in full screen at the Reff-Pi web page..
yes. you can configure browsers (chromium or firefox) to auto-start in full screen , kiosk mode if you want the web ui to act more like a tablet.
 
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
@Ranjib can you please tell how many DS18B20 does Reef-Pi supports? Thank you!
Theres no limit on reef-pi software. Raspberry Pi power supply and other circuit reasons are generally the limiting factor. I run some build with three sensor and tested with 5 sensors. I know some blogs in internet that mention more than 7 (not with reef-pi)
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
Theres no limit on reef-pi software. Raspberry Pi power supply and other circuit reasons are generally the limiting factor. I run some build with three sensor and tested with 5 sensors. I know some blogs in internet that mention more than 7 (not with reef-pi)

Have you thought about allowing multiple pins for DS18B20?
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
have you set something to read 2 decimals?

So, now I have one sensor that works fine on an Arduino UNO but on Reef-Pi always send 127,5°C value

Edit: If I power all in parasite mode it works fine, strange thing o_O
When mine has cause to report only one decimal point it does. I believe it drops trailing zeros.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
I tried using two pins on my test setup before I put it in the tank and had no issues.. Before I really understood 1wire setup. Just added :


Correction, I have my pi setup this way now..

I have one of my internal sensors on pin 4 and 1 internal and 2 external on pin 17..

dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=17


to /boot/config.txt


reef-pi had no problem seeing the sensor on pin 17.
 
Last edited:

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
I tried using two pins on my test setup before I put it in the tank and had no issues.. Before I really understood 1wire setup. Just added :


Correction, I have my pi setup this way now..

I have one of my internal sensors on pin 4 and 1 internal and 2 external on pin 17..

dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=17


to /boot/config.txt


reef-pi had no problem seeing the sensor on pin 17.

I just did a quick search, should have done that first.


Looks like that does activate another bus and it's wonderful reef-pi sees multiple buses.
 

cnidus

Community Member
View Badges
Joined
Mar 19, 2020
Messages
67
Reaction score
81
Rating - 0%
0   0   0
Does reef-pi support power monitoring on the HS300 or other boards that have the hardware?

I’d like to use power draw to trigger alarms and macros if possible (ie primary return pump starts drawing more/less power, turn it off and use the backup). Might be also interesting to combine triggers with a flow meter etc down the track also.
 
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
Does reef-pi support power monitoring on the HS300 or other boards that have the hardware?

I’d like to use power draw to trigger alarms and macros if possible (ie primary return pump starts drawing more/less power, turn it off and use the backup). Might be also interesting to combine triggers with a flow meter etc down the track also.
yes. it exposes those reading as analog sensor, you have to model them through ph module for alerting and equipment control based on those values
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
reef-pi is not really aware of any buses, it uses what linux/sysfs gives (/sys/class/bus/w1/....). So all the magic is done by the great device driver authors in linux :)

That's great, I was wondering how the heck I was going to convince to you to do something like this. ;)
 

Litserv

Community Member
View Badges
Joined
May 3, 2020
Messages
62
Reaction score
60
Rating - 0%
0   0   0
Hi Ranjib,

thanks for reef-pi!

I'm in the process of implementig reef-pi for my - sorry - freshwater fish-tank.

I cannot get to work the pi-camera with reef-pi.

I setup a 'fresh' raspbian on a Rapsberry Pi 4B.
I configured reef-pi to use the camera. I rebooted the raspberry.
The pi-camera is working when I test it in a terminal window with: 'raspistill -o bild.jpg'

I can read temperature. I can switch relais. I can dimm an LED. But the camera isn't working...

What could be wrong with my setup? Do you have an idea?

Thanks, Litserv

Screenshot 2020-05-03 um 16.02.44.png
 

USCGReefer

Community Member
View Badges
Joined
Jul 16, 2013
Messages
52
Reaction score
14
Location
Norfolk, VA
Rating - 0%
0   0   0
So I purchased this when I bought my Pi and was wondering if there is a way to use it to control dosing motors through the reef-pi. Amazon product

I found where someone said it is the same thing as a PCA9685 board. but I can't figure out how to configure it within the reef-pi configuration. Any help or input would be appreciated, even if its that I can't use this board for dosing. Was just trying to make use of it.

Thanks
 
Back
Top