DS18B20

From Review or Discard at Will
Revision as of 15:18, 4 May 2017 by Jeffa (talk | contribs)
Jump to: navigation, search

DS18B20

DS18B20

Pinout

Ds18b20-pinout.jpg DS18B20 Image found here

Resources

1-Wire at wikipedia.

Raspberry Pi

Schematic

Rpi2-DS18B20.png

Code

# 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


BBB

Resources

Arduino

Resources