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

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?
 
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
 
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:
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.
 
@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)
 
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?
 
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.
 
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:
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.
 
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 :-)
 
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.
 
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
 
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. ;)
 
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
 
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.
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
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • 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