I am trying to setup DS18B20 for Raspberry Pi. I have followed the instructions from Adafruit Lesson 11
- updated RBPI kernal to 4.19
- setup wiring (see below) with 10k resistor
- verified signal (yellow to black) using multimeter ~ 2.4-2.6V
- updated the config.txt file in boot directory
restarted and then ran the following code.
~ $ sudo modprobe w1-gpio ~ $ sudo modprobe w1-therm ~ $ cd /sys/bus/w1/devices /sys/bus/w1/devices $ ls /sys/bus/w1/devices $
there is nothing returned after the "ls" command indicating that the directory is empty. According to the instructions, if successful then I should see a device listed 28-xxxx.
DS18B20 : RBPI
red : Pin 1 (3.3V)
black : Pin 9 (GND)
yellow : Pin 7 (GPIO4)