Difference between revisions of "DS18B20"
(Initial creation) |
(Add pinout) |
||
Line 1: | Line 1: | ||
{{Blockquote|DS18B20}} | {{Blockquote|DS18B20}} | ||
+ | =DS18B20= | ||
+ | ==Pinout== | ||
+ | [[File:Ds18b20-pinout.jpg|200px]] [http://www.hobbytronics.co.uk/ds18b20-arduino Image found at] | ||
==Raspberry Pi== | ==Raspberry Pi== | ||
Revision as of 10:51, 4 May 2017
DS18B20
Contents
DS18B20
Pinout
Raspberry Pi
# add this line to /boot/config.txt
dtoverlay=w1-gpio
modprobe w1-gpio
modprobe w1-therm
# device directory
cd /sys/bus/w1/devices
ls -l
# cd to your unique DS18B20 identifier
cat w1_slave
Resources
- 1-Wire at wikipedia.
- Simple Guide to the RPi GPIO Header and Pins