DS18B20 on Raspberry Pi – Read failed CRC check [solved]

In a previous post I described the connection and usage of DS18B20 temperature sensors on a Raspberry Pi that serves my ADSB receiver. This setup was running for a while now and I have seen randomly read errors in /var/log/messages looking like this:

Jan  2 06:57:06 adsbreceiver kernel: [662143.679719] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 07:04:06 adsbreceiver kernel: [662563.782949] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 07:05:04 adsbreceiver kernel: [662622.182977] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 08:22:06 adsbreceiver kernel: [667243.852720] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 08:23:05 adsbreceiver kernel: [667303.023337] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 08:33:06 adsbreceiver kernel: [667903.780663] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 09:22:06 adsbreceiver kernel: [670843.967159] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 10:09:04 adsbreceiver kernel: [673662.309653] w1_slave_driver 10-000800507da4: Read failed CRC check
Jan  2 10:31:05 adsbreceiver kernel: [674983.100512] w1_slave_driver 10-000800507da4: Read failed CRC check

Continue reading


My ADSB Receiver Box – Temperature Sensors – Upgrade 2

The ADSB receiver OS image that I use provides several performance graphs including the CPU temperature. For receivers installed on a remote location that is maybe not enough to monitor what’s going on inside and outside the box. For that reason I decided to install additional temperature sensors in my ADSB receiver box. My choice was the the Dallas DS1820 1-wire temperature sensor. It’s easy to interface to an Raspberry Pi and the kernel comes already with drivers. Perfect for that purpose.

This upgrade is divided into two steps: 1. Connect the DS1820 to the Raspberry Pi and configure the kernel drivers – 2. Reconfiguring the collectd service and the shell script that is creating the performance graph so that the additional temperatures will be logged and plotted as well.

DS1820 sensors measuring inner and outer box temperature

Continue reading