Update README.md

This commit is contained in:
2017-11-16 20:33:07 +01:00
committed by GitHub
parent 106b774098
commit a5ae635e7d

View File

@@ -128,3 +128,22 @@ Edit /etc/dhcpcd.conf as follows:-
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
```
14. set up w1 thermometer sensing
```
DS18B20
W1-thermometer sensing on RPI3
wiring schema: https://cdn-learn.adafruit.com/downloads/pdf/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing.pdf (firrt schema - I used GPIO BCN #17)
edit /boot/config.txt - at the end insert (rpi2 doesn't need the gpiopin, but rpi3 does! see for more info: http://raspberrypi.stackexchange.com/questions/37157/ds18b20-no-longer-working, rpi would need only: dtoverlay=w1-gpio):
dtoverlay=w1-gpio-pullup,gpiopin=17
reboot
issue the following commands, the last directory has a variable name, based on the sensor's serial number!
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices
ls
cd 28-xxxx (change this to match what serial number pops up)
cat w1_slave
```