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

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
922
Rating - 0%
0   0   0
With reef pi set at 60s checks. I don’t see any real temp change on either tank.

With the heater controlling the 20g freshwater I had 3.5 degrees of spread. Interval was about an hour. On my 75g salt. I see 3 degrees and a period of 1.75 hrs.

I plan to try longer periods on the pi to get about 0.5 degree of spread.
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
39
Reaction score
77
Location
Mays Landing, NJ
Rating - 0%
0   0   0
we do check CRC code/checksum. any reason for you to think that we are reporting bogus value? or any checks we should be making?
I have thoughts about using moving average and auto correcting anomolous values.. but not for current releases (3.0)

The error value always went high and then recovered. The value would go from 78 to 180 and then back to 78 at the next pass. There was no time that the erroneous value was more than one cycle.

As for the length, it’s 3 meters. Certainly within range of the pull-up.

Now that the cycle is 30 seconds, there are zero errors in 13 hours.
 
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
The error value always went high and then recovered. The value would go from 78 to 180 and then back to 78 at the next pass. There was no time that the erroneous value was more than one cycle.

As for the length, it’s 3 meters. Certainly within range of the pull-up.

Now that the cycle is 30 seconds, there are zero errors in 13 hours.
Thats is a very good detailed information. Thank you for sharing. I'll read the ds18b20 docs again. I can recall encountering things like this couple of times in the very beginning, pre 1.0.. but nothing in past couple of years.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Thats is a very good detailed information. Thank you for sharing. I'll read the ds18b20 docs again. I can recall encountering things like this couple of times in the very beginning, pre 1.0.. but nothing in past couple of years.
@Ranjib
I did some research and 85C or 185F is the power up default reading of the ds18b20. From my research this points to communication failure most times, and usually ends up being bad cabling. Suggested cabling is twisted shielded. The drok sensors I am using are shielded cables, and I have not seen a problem with the 4 I have. The other suggested cabling is cat 5, which is what @Erica-Renee has suggested.

The 85 degree reading is the power-up state of the DS18B20 & DS1822 sensors see datasheet page 7 http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf. This means that the temperature sensor has either not received an instruction to do a temperature conversion, or it has not had the time or the power to do a conversion.
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
39
Reaction score
77
Location
Mays Landing, NJ
Rating - 0%
0   0   0
@Ranjib
I did some research and 85C or 185F is the power up default reading of the ds18b20. From my research this points to communication failure most times, and usually ends up being bad cabling. Suggested cabling is twisted shielded. The drok sensors I am using are shielded cables, and I have not seen a problem with the 4 I have. The other suggested cabling is cat 5, which is what @Erica-Renee has suggested.

The 85 degree reading is the power-up state of the DS18B20 & DS1822 sensors see datasheet page 7 http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf. This means that the temperature sensor has either not received an instruction to do a temperature conversion, or it has not had the time or the power to do a conversion.

I am using the Dronk sensors. I have two implemented on the same one wire. Again, now that the cycle is 30 seconds and not 60 seconds, there are no errors.
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
646
Location
United States
Rating - 0%
0   0   0
I am using the Dronk sensors. I have two implemented on the same one wire. Again, now that the cycle is 30 seconds and not 60 seconds, there are no errors.

How do you have both wired up to the same one-wire? I've got 2 of the dronk sensors (just arrived yesterday) and would prefer just one connection if possible. Two might be preferable if I have to swap them out for any reason though.
 

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
How do you have both wired up to the same one-wire? I've got 2 of the dronk sensors (just arrived yesterday) and would prefer just one connection if possible. Two might be preferable if I have to swap them out for any reason though.

Simply put, attach all wires in parallel. 1-wire is a multi-device bus and can support multiple devices.
 

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
How do you have both wired up to the same one-wire? I've got 2 of the dronk sensors (just arrived yesterday) and would prefer just one connection if possible. Two might be preferable if I have to swap them out for any reason though.

Simply put, attach all wires in parallel. 1-wire is a multi-device bus and can support multiple devices.
@theatrus @Ranjib , it seems as though pH functionality is right around the corner. Should I assume that it's safe to move forward with purchasing a double junction pH probe?

I built mine as though they were stand alone, and just used the typical 3.5mm splitter that you would use for headphones. It works well, and it allows me to pull and work on the probes one at a time if need be.
 
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
You can get the probe... but this is software, issues can creep up any time, so nothing is guaranteed till I ship it :). Also the changes I am making is primarily tested with the ph board, not the base board. That will come later
 

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
You can get the probe... but this is software, issues can creep up any time, so nothing is guaranteed till I ship it :). Also the changes I am making is primarily tested with the ph board, not the base board. That will come later

@theatrus is working on the baseboards as well. Seems like the two efforts are coming together at around the same time.
 

lotus02

Community Member
View Badges
Joined
Jan 29, 2018
Messages
58
Reaction score
69
Rating - 0%
0   0   0
I have bin reading all can find on the reef-pi and ordered all the parts just like to ask is any new sketches for the builds as they don't match the pictures as for layout. Trying to read through all 480 plus pages is taking a long time to see if any have bin added. I'm building 3 of these. And I would like to say thank you for all time you have put into it, and for sharing it
 
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
I have bin reading all can find on the reef-pi and ordered all the parts just like to ask is any new sketches for the builds as they don't match the pictures as for layout. Trying to read through all 480 plus pages is taking a long time to see if any have bin added. I'm building 3 of these. And I would like to say thank you for all time you have put into it, and for sharing it
Thank you for considering reef-pi. You dont have to read through this entire thread, most of it is dated and not very relevant (if not incorrect ) for the current version. Start a build thread and let us know your questions, and we'll help you out.
 
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
I have bin reading all can find on the reef-pi and ordered all the parts just like to ask is any new sketches for the builds as they don't match the pictures as for layout. Trying to read through all 480 plus pages is taking a long time to see if any have bin added. I'm building 3 of these. And I would like to say thank you for all time you have put into it, and for sharing it
Can you elaborate what you mean by sketches? Schematic/breadboard image?
 

lotus02

Community Member
View Badges
Joined
Jan 29, 2018
Messages
58
Reaction score
69
Rating - 0%
0   0   0
Can you elaborate what you mean by sketches? Schematic/breadboard image?
I should have said Schematic or breadboard image not sketches

adafruit_products_3C7C1F2D-2C40-499F-8F28-E33EFA0A16FF.jpeg


adafruit_products_CC28123F-93D9-4C3C-B836-5819198C227F.jpeg


adafruit_products_Screen_Shot_2018-10-19_at_12.23.24_AM.png
 

lotus02

Community Member
View Badges
Joined
Jan 29, 2018
Messages
58
Reaction score
69
Rating - 0%
0   0   0
sorry I'm new to this.
LED strip control circuit Schematic or breadboard image , looks different in the picture and i can't see behind the chip to how it is done,
there must be some wire connection on the bottom going to the 2 Pole Terminals too?
 
Last edited:

lotus02

Community Member
View Badges
Joined
Jan 29, 2018
Messages
58
Reaction score
69
Rating - 0%
0   0   0
what I have is 3 touch screen case with raspberry pi 3 b in each I'm going to make a cable to go a build box with the proto board mounted.
I started to build on a breadboard for now have, temp-prob, 4 power on 8 relay, the green and red led lights are on gpio 18 & 19 just to the dimming waiting on the pca9685 boards to come. the yellow led to going to show the heater coming on&off by the temp-prob just need to pick a gpio pin for it.
I still need to find how many gpio pins I can use.
my main tank is a 300gal reef I have 5 Kessil a360, 6 mars black box led lights to add more blue, 2 T5s in front & 2 T5s in back. still need to put some night moon lights in.

breadboard.jpg


screens.jpg


300gal reef tank.jpg
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
reporting back on the memory issue, not seeing it in all of my builds. I am running 2.1 where this should be visible. There are some cases where I can see the jump, but its not necessarily due to leak, and its not fatal. Here is a dashboard of ph monitor running for almost 3 weeks continuously now. I dont keep the dashboards open .. so thats a factor which is not tested
Screen Shot 2019-02-03 at 2.26.59 PM.png

Since upgrading to reef-pi 2.2 memory has been really low, I raised some of the default setting but memory is still running very low. At this point I am leaning towards your thought that it was simply recording too much information and running out of memory vs memory leak.

Screenshot at 2019-02-04 20-56-29.png
 
Back
Top