RaspberryPi Temperature Sensor: Difference between revisions
Jump to navigation
Jump to search
(→Code) |
|||
Line 6: | Line 6: | ||
=== Configure the [[Pi]] === | === Configure the [[Pi]] === | ||
==== Update the OS ==== | ==== Update the OS ==== | ||
This not necessary, but generally a good idea. | |||
apt-get update | apt-get update | ||
apt-get ugrade | apt-get ugrade | ||
==== Setup kernel modules for GPIO and 1-wire device ==== | ==== Setup kernel modules for GPIO and 1-wire device ==== | ||
modprobe w1+gpio | modprobe w1+gpio |
Revision as of 21:28, 19 June 2013
Time to build a temperature sensor with my Pi.
Schematics
Configure the Pi
Update the OS
This not necessary, but generally a good idea.
apt-get update apt-get ugrade
Setup kernel modules for GPIO and 1-wire device
modprobe w1+gpio modprobe w1+therm
Check setup
cd /sys/bus/w1/devices ls cd XX cat XX
Result:
?