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

.-=Jord=-.

Community Member
View Badges
Joined
Jun 16, 2017
Messages
51
Reaction score
20
Rating - 0%
0   0   0
Very nice. Its similar to the recommended kessil circuit, except it uses lm7810 instead of lm2596 to generate 10V DC current. I wonder if you need two of them,
Thank you for sharing, this will be helpful to others

If I build the circuit above do I also need to make the dimming circuit on the Reef Pi Guide 5: lighting controller, or would the one above connect straight to the reef pi controller?
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
How did you get the heater/cooler to display on the dashboard? I can see that graph under my temp tab, but looked all over, and didn't see an option to add it to the dashboard page.. it would be super nice to know how long it's running, especially since I've been having cooling issues in the hot Texas summer

HI friends, I'm bala from INDIA


First of all I thank everyone how contributed their work on REEF-pi. I never think I will have automation in my aquarium. I get to know reef-pi by watching one youtube channel named Rickets Reef.


Basically I don’t know anything about electronic and programing. By seeing the support you peoples are giving. I simply ordered every items to make Reef-pi. I love to make DIY, but I never tried any DIY in electrical.

I’m having 70G main tank and 40G sump. For that I started MY reef-pi built, by Step by step Guide from reef-pi.github and reef2reef website. I successfully connected 2 temperature probe, 1 float switch, and 1 small LES to test.

Screenshot (121).png



In that I come across with some problem

1) I added one led in GPIO pin 21 and added it in equipment. if I triggered the float switch LED is turning on , but when I manually turn on the led (in Equipment) it is turning on and automatically going off after few seconds, and I try set that equipment as heater, same problem over there , turning off in few seconds ....



2) I got pca9685 to control my DIY light, in that I don’t know what is the name of the pins in pca9685 to enter in jacks option. In reef-pi.github website they entered as pin 0, 1 and 2,3 and 4,5 and 12 .how they are defining 0,1 as pin number
how to find pin number for 16 pin in pca9685

Screenshot (123).png
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
How did you get the heater/cooler to display on the dashboard? I can see that graph under my temp tab, but looked all over, and didn't see an option to add it to the dashboard page.. it would be super nice to know how long it's running, especially since I've been having cooling issues in the hot Texas summer
On the dashboard drop down its called tc(temp controller). Pick that instead of temperature
 

Stephen2

Community Member
View Badges
Joined
Jul 31, 2014
Messages
48
Reaction score
28
Rating - 0%
0   0   0
Did you do a major version (1->2 or 2->3) upgrade without deleting database? Can you provide some details around which version you are using, setup etc...
I did not do any upgrades
Did i clean install of version 3

I think i might have accidentally tried to delete the raspberry driver as it was working before i started playing with my ph setup
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
I did not do any upgrades
Did i clean install of version 3

I think i might have accidentally tried to delete the raspberry driver as it was working before i started playing with my ph setup
Sounds like the best course to resolve this would be to do a sd card wipe then fresh new install 100%.
 

ummwhy

New Member
View Badges
Joined
Feb 18, 2019
Messages
15
Reaction score
9
Rating - 0%
0   0   0
Welcome to reef2reef
In your initial question you said a 4.7ohm resistor, I hope you meant 4.7k ohm...

The commands to check it out would be:
Code:
cd /sys/bus/w1/devices

ls   #this will show you the devices recognized by the system

cd 28-XXXXXXXXXXXX   #change the Xs to the number that showed in the previous step

cat w1_slave   #this should give you a raw reading from the sensor

Worked like a charm thanks!

Broken Temp Sensor
Screen Shot 2019-06-28 at 8.42.53 PM.png

Spliced in new Temp Sensor
Screen Shot 2019-06-28 at 8.44.20 PM.png

image.png
 

ummwhy

New Member
View Badges
Joined
Feb 18, 2019
Messages
15
Reaction score
9
Rating - 0%
0   0   0
In timers does anyone know of a way to get equipment to turn on for example every Wednesday?
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
118
Reaction score
152
Rating - 0%
0   0   0
When enable pca9685 and a physically connected pca9685 it works great!
I found that you can connect multiple temp sensors to only one gpio04 pin. Before, I had a relayboard connected to gpio04 and it did not work, i thought the gpiopin was dead, probably I had temp selected in settings,.
Is only gpio04 for temp sensors? Or can i use other pins to? I tried gpio17 but no temp sensors showed up.


20190629_093757.jpg
 
Last edited:

SDchris

Active Member
View Badges
Joined
Mar 3, 2015
Messages
198
Reaction score
225
Location
Sydney
Rating - 0%
0   0   0
Pin 4 by default is assigned the 1-Wire communication protocol, that's what the ds18b20 temp sensors use. You can change that to any other usable pin through a config. file. But I'm not sure on the consequences of doing so in reef-pi.

Chris
 
Last edited:

Jonathan Troutt

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

Well now i am having issues applying my calibration.
Code:
 curl -X POST -d @calibration.json -b cookie.txt http://10.0.0.132:56789/api/phprobes/1/calibrate
{"error":"invalid character '/' looking for beginning of value"}

I get an error when I try and apply the calibration.

here is contents of my calibration.json
Code:
[/LIST]
[
 {"expected":7.0, "observed": -310},
 {"expected":10.0, "observed": -21685},
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
@Ranjib

Well now i am having issues applying my calibration.
Code:
 curl -X POST -d @calibration.json -b cookie.txt http://10.0.0.132:56789/api/phprobes/1/calibrate
{"error":"invalid character '/' looking for beginning of value"}

I get an error when I try and apply the calibration.

here is contents of my calibration.json
Code:
[/LIST]
[
 {"expected":7.0, "observed": -310},
 {"expected":10.0, "observed": -21685},
I don't think you should need the [/LIST]. The following should be sufficient. (Your snippet was also missing the closing square brace.)

Code:
[
 {"expected":7.0, "observed": -310},
 {"expected":10.0, "observed": -21685}
]
 

Jonathan Troutt

Well-Known Member
View Badges
Joined
Apr 1, 2018
Messages
974
Reaction score
1,177
Location
Indianapolis, IN
Rating - 0%
0   0   0
I don't think you should need the [/LIST]. The following should be sufficient. (Your snippet was also missing the closing square brace.)

Code:
[
 {"expected":7.0, "observed": -310},
 {"expected":10.0, "observed": -21685}
]
You know I noticed it was missing the closing brace. So i redid it and made sure it was there but when i ctrl-c and then went to look at it again it was gone. Not sure why that is doing that let me try eliminating the list line.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Im going to experiment when i calibrate. My 4,7, and 10 calibration packets arrive today. Since reef pi is 2 point calibration, I should use 4 and 7 to calibrate, but im curious if i calibrate at 4 and 10 how close the 7.0 reading will be in the 7.0 solution..if its dang close, I may just use a 4 and 10 calibration.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
@Ranjib

So can you use 3 calibration samples if you wanted to? 10, 7 and 4?
For ph meters that may be measuring the whole range from 0 to 14, and have temperature compensation, ph meters usually use a 3 point calibration. The cal at 7 and 10 gives the alkaline slope, the 4 and 7 gives the acidic range slope. The calibration at 7 also gives the offset from 0, which is used to offset the whole range and figured in when compensating for temperature.
Since most of out tanks are within a few degrees of 25C or 77F where the standard is measured for ph, the temp conpensation is so small that it doesnt matter for our purposes. So a 2 point calibration is accurate enough. It would make a difference if you were running a special coldwater tank for trout at 50F, or using your ph probe for measuring during brewing beer at high temps.
 

Jonathan Troutt

Well-Known Member
View Badges
Joined
Apr 1, 2018
Messages
974
Reaction score
1,177
Location
Indianapolis, IN
Rating - 0%
0   0   0
For ph meters that may be measuring the whole range from 0 to 14, and have temperature compensation, ph meters usually use a 3 point calibration. The cal at 7 and 10 gives the alkaline slope, the 4 and 7 gives the acidic range slope. The calibration at 7 also gives the offset from 0, which is used to offset the whole range and figured in when compensating for temperature.
Since most of out tanks are within a few degrees of 25C or 77F where the standard is measured for ph, the temp conpensation is so small that it doesnt matter for our purposes. So a 2 point calibration is accurate enough. It would make a difference if you were running a special coldwater tank for trout at 50F, or using your ph probe for measuring during brewing beer at high temps.


you ever seen that documentary about corals below the ice sheet in antartica? I've always thought it would be cool to keep a tank that like. Be almost impossible to get stuff to put in it but it would still be neat if you could.

The trout tank comment jogged that thought. A trout tank would be amazing to!
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
you ever seen that documentary about corals below the ice sheet in antartica? I've always thought it would be cool to keep a tank that like. Be almost impossible to get stuff to put in it but it would still be neat if you could.

The trout tank comment jogged that thought. A trout tank would be amazing to!
I had a coldwater minnow/brook trout tank 15 years ago...back then they didnt have the chillers and powerheads they do now...it did well all winter in the basement, until summer hit...trout need cold water and lots of oxygen, and pristine water.
 
Last edited:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Thank you very much, knowing the lenght of the message (you said 31) i managed to send a "fake" constant value of pH 9.310 in ASCII code. Now i have only to implement the analogic pH reading and combining them.
Keep us posted.
 

TOP 10 Trending Threads

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 49 41.2%
  • More hurtful.

    Votes: 5 4.2%
  • I think it depends mostly on the technology.

    Votes: 47 39.5%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 36 30.3%
Back
Top
Home
Post thread…
Market
What's new