Hi,
i try to use the 1-wire temperature sensor DS18B20 exactly as in the tutorial. Calling the example from GitHub causes this:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/seeed_ds18b20.py", line 21, in __init__
self.device_folder = glob.glob(self.base_dir + '28*')[0]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "examples/BasicRead.py", line 14, in <module>
main()
File "examples/BasicRead.py", line 5, in main
DS18B20 = seeed_ds18b20.grove_ds18b20()
File "/usr/local/lib/python3.7/dist-packages/seeed_ds18b20.py", line 31, in __init__
raise OSError (None, meg)
OSError: [Errno None]
#############################################################################
Please use 'sudo sh -c "echo dtoverlay=w1-gpio,gpiopin=5 >> /boot/config.txt"' then reboot to enable the w1
#############################################################################
I did enable 1-wire via raspi-config, so boot/config.txt contains:
[all]
dtoverlay=w1-gpio
If i do a ls on /sys/bus/w1/devices/, i get:
00-180000000000 00-980000000000 00-e80000000000 w1_bus_master1
So, there is no sensor, right?
dmesg shows:
[ 59.601604] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
[ 59.609201] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
I am on Raspberry Pi 3 Model B Rev 1.2. Can you give me a hand?