1

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-gpio and sudo modprobe w1-therm commands.
  • I then go to the /sys/bus/w1/devices/ directory and run ls and nothing shows up.
  • I have added dtoverlay=w1-gpio to the boot config.txt.
  • I have also tried using a new sensor and a new resistor and I am getting the same problem.
Rohit Gupta
  • 343
  • 2
  • 4
  • 11
TomB
  • 34
  • 4

1 Answers1

0

As Joan suggested me to try, Rasperry Pi OS was the solution. Thanks =)

TomB
  • 34
  • 4