From a5ae635e7dbf54d2f014d98e511df450ed1699df Mon Sep 17 00:00:00 2001 From: visocicaguy Date: Thu, 16 Nov 2017 20:33:07 +0100 Subject: [PATCH] Update README.md --- controller/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/controller/README.md b/controller/README.md index baa3325..74cf369 100644 --- a/controller/README.md +++ b/controller/README.md @@ -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 +```