I am following the instructions at
http://projects.privateeyepi.com/home/temperature-sensor-project-using-ds18b20To connect a temperature sensor to my Raspberry Pi 3 running Rasbian ver. 8 jessie, with recent update and upgrade
I am using a DS18B20 temperature sensor connected to the Raspberry Pi as per instructions and have doubled-checked to determine that all wiring is correct.
at the command prompt I run following:
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
ls
this resulted in an empty directory listing
then the following command:
sudo nano /boot/config.txt
and edit file by adding following two lines to bottom of file:
# 1-wire settings
dtoverlay=w1-gpio.gpiopin=4
save, exit and reboot
then repeat the commands at top of this list (sudo modprobe etc. etc.)
but still I get an empty directory listing
Can anyone advise on why the Raspberry Pi is not recognizing my temp sensor (I have tried two units with same result)
Thanks very much