This topic covers how to setup a OneWire digital bus specifically for the DSB1820 temperature probes on a Raspberry Pi. This is particularly in reference to the Raspberry Pi - Refrigeration Analyzer. Please direct general project questions to the Refrigeration Analyzer: General Discussion thread.
Right away, temperature data can be acquired using the following commands:
sudo modprobe w1-gpio sudo modprobe w1-therm
Edit the boot/config.txt on your raspberry pi with:
sudo nano /boot/config.txt
Add the following line to the end of the config.txt file.
The temperature probes are located in the following directory.
To view the current temperature reading you can use:
This is where I took the time to identify and label each probe by its unique device address.
That is it for the basics!
A simple script for reading real-time data is posted below.