Open mcfrojd opened 1 year ago
Thanks Sarah. :-) I think you maybe got lucky and a good batch of sensors was used to make your 5m ones. Would you mind posting their serial numbers please?
Am unsure the SN but think it would be one of these numbers ???
TemperatureType /TemperatureType 1 @4000000065b843c429dc25fc INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Fridge @4000000065b843c429e5cabc INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 2 @4000000065b843c429edecc4 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName External @4000000065b843c429f6e5a4 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/TemperatureType /TemperatureType 2 @4000000065b843c42a0c658c INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/CustomName /CustomName Internal
Thanks Sarah. it looks like your serial numbers are 28-022010ed82ae, 28-485e4c1f64ff and 28-53754c1f64ff.
With reference to this- https://github.com/cpetrich/counterfeit_DS18B20 I think I have family B clones which have a wide swing of temperature conversion times that may result in a time greater than Maxim spec. I suspect that on occasion this exceeds the time the driver expects and this causes the crash. It could also cause a timing clash between sensors so the more sensors you have the higher the chance of timing issues. This is speculation on my part, not gospel, but would explain why the sensors can be fine for hours before they drop out. If your kernel and your clone will let you change the sensor resolution (mine doesn't) then a lower resolution should reduce the response time but without access to the raspberry pi kernel module I can't prove or improve this so my solution would be to use genuine Maxim chips and waterproof them yourself if needed. On the other hand you might get lucky and find clone sensors with low response times. Caveat emptor.
P.S. I've just found another suggestion that might help. it has pro's and con's though. once your system has found the connected sensors, run this in terminal- echo 0 > /sys/bus/w1/devices/w1_bus_master1/w1_master_search it turns off searching for more devices and reduces use of resources. turn it back on if you change the sensors- echo 1 > /sys/bus/w1/devices/w1_bus_master1/w1_master_search
Update- I've been running one genuine sensor and one 5m cabled clone sensor in parallel for 42 hours now and all looks good, no drop-outs. Strangely the 5m ones do seem to be the better option of the cloned ones. even if you just need a 1m cable buy the 5m and cut the cable. I'll add another genuine sensor tonight on a 16m screened twisted pair cable and see how that goes.
Hi!
I am experimenting with some temp-sensors in my caravan. I tried to be clever and created an expandable/module based build using TP-cables and RJ45-connectors. The idea is to use wall-boxes or joint pieces for the connections, and custom lenght TP-cable.
If my professional drawing is understandable, you'll get the idea:
(1-wire = DS18B20). My problem right now is that one of the two DS18B20's in the first box, keeps failing after a short period of time. 30-60 minutes. Venus is reporting "open circuit" on the "disconnected" sensor. The other two seems to be ok.
My question for you is;
In my experience it’s cheap sensors buddy
Hello
In the 1Wire Bus, you should only use one pullup resistance on the data line near to the RPi
Best regards
Thank you for quick answers, guys! I split my 2xtemp-device into two singles and put a pullup resistance on the connector nearest the RPi. It really made no difference, but I am now able to isolate the sensor that keeps failing. I guess I'll have to buy a new sensor and try again after the upcoming trip :)
I am running a Raspberry Pi 3b+ with the latest release candidate v3.20~4.
( I have the same problem on my production system, a pi 4 with v3.01 ) VenusOS-TemperatureService version 0.5 Using two DS18B20 temperature sensors with a 4.7kohm resistor.
I have no trubbel setting them up and using them for a couple of days. But after some time the two DS18B20 temperature sensors will end up disconnected.
And this is the only thing i find in the logs at /data/log/VenusOS-TemperatureService/current
The CPU temperature keeps connected.
Is there any way to find out why they get disconnected? A reboot wount make them come back to life, instead they disappear.
Running setup with option "i" wount make them come back to life. But if i disconnect the 3.3v pin and connect it again they will come back.
This is in the log after a reboot, running setup with the option "i" and the disconnect and reconnect the 3.3v pin