RaspberryPi Temperature Sensor

From Wurst-Wasser.net
Revision as of 20:42, 19 June 2013 by Heiko (talk | contribs) (Created page with "Time to build a temperature sensor with my Pi. === Schematics === === Configure the Pi === ==== Update the OS ==== apt-get update apt-get ugrade ==== Setup GPIO f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Time to build a temperature sensor with my Pi.

Schematics

Configure the Pi

Update the OS

apt-get update
apt-get ugrade

Setup GPIO for 1-wire device

modprobe w1+gpio
modprobe w1+therm

Check setup

cd /sys/bus/w1/devices
ls
cd XX
cat XX

Result:

?


Code