In this section we'll discuss how to wire up a Dallas Instruments DS18B20 1-wire digital thermal sensor. We'll see how to navigate to it in linux and test to make sure it's working. We'll also briefly discuss 1 wire networks. There is more information below on 1 wire networks not discussed in this video.
Connections:
[ Ссылка ]
GPIO Diagram:
[ Ссылка ]
Pinout for Pin 1 etc:
[ Ссылка ]#
Explicit Instructions in text:
[ Ссылка ]
Add the following line to /boot/config.txt
dtoverlay=w1-gpio
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
ls
cat w1_slave
About 1-wire networks:
[ Ссылка ]
Reliable Long 1-wire networks
[ Ссылка ]
Ещё видео!