Difference between revisions of "RaspberryPi Temperature Sensor"

From Wurst-Wasser.net
Jump to: navigation, search
(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...")
 
(Schematics)
Line 2: Line 2:
  
 
=== Schematics ===
 
=== Schematics ===
 
+
[[Image:RaspberryPiDS18B20.png|300px]]
  
 
=== Configure the [[Pi]] ===
 
=== Configure the [[Pi]] ===

Revision as of 21:16, 19 June 2013

Time to build a temperature sensor with my Pi.

Schematics

RaspberryPiDS18B20.png

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