Difference between revisions of "DS18B20"
(Add pinout) |
(→Arduino: add link) |
||
Line 28: | Line 28: | ||
==Arduino== | ==Arduino== | ||
===Resources=== | ===Resources=== | ||
+ | * [https://arduino-info.wikispaces.com/Brick-Temperature-DS18B20 Brick-Temperature-DS18B20] |
Revision as of 10:54, 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