One wire sensors
1-wire sensor and raspberry pi
Recently I learned about one wire sensors and I have several Raspberry Pi’s currently not in use; so time to put things together.
List of parts:
- Raspberry Pi B
- 10K Resistor
- Proto board
- Jumper wires
- Digital Temperature Temp Sensor Probe DS18b20 (http://amzn.com/B00KUNKR3M)
A git repo for this little project @ https://gitlab.com/isntall-us/rasp-pi-rrd-w1
This bash script is designed to work by just pluging in the device. Upon pluging a new device a new RRD db will be created using the One Wire UID. There is an option for a conf file that’ll allow for some customizations like coloring, title, or line type.
I used the diagram and some instructions from https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/hardware