Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unreliable DS18B20 Readings
#1
Hi:
I recently set up a robo-tank with this configuration:
  • Reef-pi Deluxe Aquarium Controller Fully Assembled
  • 'pi zero w
  • the recommended Alarmpore Power Adapter from Amazon 
  • one 0-10V LED channel driving Mean Well ELN-60-48P supplies (my white LEDs)
  • another 0-10V LED channel driving Mean Well ELN-60-48P supplies (my royal blue LEDs)
  • one DC channel driving a return pump via a Digital Loggers, inc IoT relay     
  • a second DC channel driving a return pump via another Digital Loggers, inc IoT relay
  • One DS18B20 1-WIRE Waterproof Digital Temperature Sensor Probe - 3 meter cable  in the display tank, one sample per minute
  • A second DS18B20 1-WIRE Waterproof Digital Temperature Sensor Probe - 3 meter cable measuring ambient temperature, one sample per minute


With the system assembled, configured and running upstairs in my office, the temp sensors seemed to be working reliably and the pump and lighting controls behaved as programmed/expected.  When I moved everything into the fish tank room and hooked it up, the temp sensors became unreliable.  Specifically, after a variable and inconsistent amount of run time (sometimes many hours, sometimes only a few minutes), they will begin to read some small negative value, and produce an error like:
temperature sub-system. Failed to read sensor RoomTemp. Error:open /sys/bus/w1/devices/28-3c01d075740d/w1_slave: no such file or directory
occasionally, the system will recover from this and begin to produce accurate readings, but that's more the exception than the rule.  Powering down the entire system, including removing the supply power from the Robo Tank and waiting a couple of minutes will restore correct operations upon reboot.

Evidently, this is a know issue w/raspberries, and is discussed in this thread:
https://www.raspberrypi.org/forums/viewt...p?t=164059

To begin to diagnose/resolve this issue, I have established that two of the conjectures/issues thought to exacerbate the problem are not central to my case.  In the cited thread, it is suggested that long sensor leads are problematic, and that some counterfeit 'Chinese' DS18B20 parts are inferior.  I had a couple of DS18B20 samples that were shipped directly to me from Maxim, so I screwed one of those directly into one of the green plastic couplers, and the problem persists.

Any thoughts about how to debug/diagnose and resolve this issue would be appreciated!

Thanks for reading,
Phil
[-] The following 1 user Likes pwest's post:
  • Rob F
Reply to top


Messages In This Thread
Unreliable DS18B20 Readings - by pwest - 06-19-2021, 09:04 AM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 02:34 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-19-2021, 04:25 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 05:28 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-19-2021, 06:56 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 07:26 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-20-2021, 01:56 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-20-2021, 03:07 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-20-2021, 04:17 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-20-2021, 04:39 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 09:22 AM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 02:52 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 04:27 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 04:41 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 05:07 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 05:50 PM
RE: Unreliable DS18B20 Readings - by pwest - 07-04-2021, 03:33 PM
RE: Unreliable DS18B20 Readings - by Rob F - 07-04-2021, 07:10 PM
RE: Unreliable DS18B20 Readings - by pwest - 07-10-2021, 04:14 PM
RE: Unreliable DS18B20 Readings - by Rob F - 07-10-2021, 05:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved]DS18B20 all temp sensors disappeared kukulin 1 1,478 11-05-2021, 09:21 AM
Last Post: Rob F

Forum Jump:

Current time: 04-29-2024, 02:32 AM