Difference between revisions of "DS18B20"

From Review or Discard at Will
Jump to: navigation, search
(Arduino: add link)
(Add schematic)
Line 2: Line 2:
 
=DS18B20=
 
=DS18B20=
 
==Pinout==
 
==Pinout==
[[File:Ds18b20-pinout.jpg|200px]] [http://www.hobbytronics.co.uk/ds18b20-arduino Image found at]
+
[[File:Ds18b20-pinout.jpg|200px]] [http://www.hobbytronics.co.uk/ds18b20-arduino DS18B20 Image found here]
 +
[[File:Rpi2-DS18B20.png|600px]]
 +
 
 +
==Resources==
 +
* [https://en.wikipedia.org/wiki/1-Wire 1-Wire] at wikipedia.
 +
 
 
==Raspberry Pi==
 
==Raspberry Pi==
  
Line 20: Line 25:
  
 
===Resources===
 
===Resources===
* [https://en.wikipedia.org/wiki/1-Wire 1-Wire] at wikipedia.
 
 
* [http://www.raspberrypi-spy.co.uk/2012/06/simple-guide-to-the-rpi-gpio-header-and-pins/ Simple Guide to the RPi GPIO Header and Pins]
 
* [http://www.raspberrypi-spy.co.uk/2012/06/simple-guide-to-the-rpi-gpio-header-and-pins/ Simple Guide to the RPi GPIO Header and Pins]
  

Revision as of 15:14, 4 May 2017

DS18B20

DS18B20

Pinout

Ds18b20-pinout.jpg DS18B20 Image found here Rpi2-DS18B20.png

Resources

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


BBB

Resources

Arduino

Resources