I have an issue with a DS18B20 on a NanoPi NEO Air. I activated the 1-wire bus by using these commands:
When I read the DS18B20, I get lots of CRC errors and as well an error message in dmesg:
I'm quite sure this is not an issue of a broken connectivity or a wrong pullup resistor cause when I use a raspberry pi, everthing works fine. Nevertheless I also tested with another DS18B20 and various pullup resistors, but I got the same error messages. I use nanopi-air-core-qte-sd4g-20160927.img with the latest updates.
Is there anybody with a working DS18B20 or do you have any hints how I can fix this?
Thanks
Thomas
Code: Select all
modprobe w1-gpio-board gpio=203
modprobe w1_gpio
When I read the DS18B20, I get lots of CRC errors and as well an error message in dmesg:
Code: Select all
while [ 1 ] ; do
cat /sys/devices/w1_bus_master1/28-000006b67845/w1_slave
done
ff ff ff ff ff ff ff ff ff : crc=c9 NO
63 01 4b 46 7f ff 0d 10 15 t=-62
ff ff ff ff ff ff ff ff ff : crc=c9 NO
63 01 4b 46 7f ff 0d 10 15 t=-62
ff ff ff ff ff ff ff ff ff : crc=c9 NO
63 01 4b 46 7f ff 0d 10 15 t=-62
61 01 4b 46 7f ff 0f 10 02 : crc=02 YES
61 01 4b 46 7f ff 0f 10 02 t=22062
ff ff ff ff ff ff ff ff ff : crc=c9 NO
61 01 4b 46 7f ff 0f 10 02 t=-62
62 01 4b 46 7f ff 0e 10 03 : crc=03 YES
62 01 4b 46 7f ff 0e 10 03 t=22125
ff ff ff ff ff ff ff ff ff : crc=c9 NO
62 01 4b 46 7f ff 0e 10 03 t=-62
ff ff ff ff ff ff ff ff ff : crc=c9 NO
62 01 4b 46 7f ff 0e 10 03 t=-62
dmesg:
[ 4012.148871] w1_slave_driver 28-000006b67845: 18S20 doesn't respond to CONVERT_TEMP.
[ 4012.978825] w1_slave_driver 28-000006b67845: 18S20 doesn't respond to CONVERT_TEMP.
[ 4013.808828] w1_slave_driver 28-000006b67845: 18S20 doesn't respond to CONVERT_TEMP.
[ 4015.468823] w1_slave_driver 28-000006b67845: 18S20 doesn't respond to CONVERT_TEMP.
[ 4017.138923] w1_slave_driver 28-000006b67845: 18S20 doesn't respond to CONVERT_TEMP.
[ 4017.968826] w1_slave_driver 28-000006b67845: 18S20 doesn't respond to CONVERT_TEMP.
I'm quite sure this is not an issue of a broken connectivity or a wrong pullup resistor cause when I use a raspberry pi, everthing works fine. Nevertheless I also tested with another DS18B20 and various pullup resistors, but I got the same error messages. I use nanopi-air-core-qte-sd4g-20160927.img with the latest updates.
Is there anybody with a working DS18B20 or do you have any hints how I can fix this?
Thanks
Thomas