I have a raspberry pi 400 running ubuntu server.
- I have a DS18B20 with a 4.7k resistor connected from the power to the data wire.
- I boot up the pi and run the
sudo modprobe w1-gpioand
sudo modprobe w1-thermcommands.
- I then go to the
/sys/bus/w1/devices/directory and run
lsand nothing shows up.
- I have added
dtoverlay=w1-gpioto the boot config.txt.
- I have also tried using a new sensor and a new resistor and I am getting the same problem.