I would really appreciate some advice on this. Being a TOTAL noob I have closely followed a guide on the internet explaining how to use a DS18b20 sensor with my Raspberry Pi. The guide is http://www.cl.cam.ac.uk/freshers/raspberrypi/tutorials/temperature/ and has been fairly easy to follow.
I changed the raspi.list file to read "deb http://archive.raspberrypi.org/debian/ wheezy main untested" and then run apt-get update and apt-get upgrade. All that went without a hitch.
I then connected the DS18b20 to 3v, Ground and Data (gpio#4) connecting the data and 3v via a 4.7 ohm resistor.
I've then used the console to run;
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
This all works fine. However, when type ls
, the guide tells me that I should see the serial number of the sensor listed followed by w1_bus_master1
.
All I actually get is w1_bus_master1
but no serial number. I've tried everything I can think of (which isn't much). Is anybody able to offer some guidance on what the problem might be?
Many thanks
Raspnoob.