Method to access the DS18B20 sensor using Rapsberry Pi GPIO
-
configDS18B20.c Application to set bit resolution of the DS18B20.
-
DS18B20Scan.c Application to connect multiple DS18B20 on one GPIO.
-
DS18B20V2.c Application to Connect one DS18B20 per GPIO but read them together.
to compile
gcc -lrt -o configDS18B20 configDS18B20.c gcc -lrt -o DS18B20Scan DS18B20Scan.c gcc -lrt -o DS18B20V2 DS18B20V2.c
Python Add-on
To install
cd python
sudo python setup.py install
sudo python3 setup.py install
Example
DS_Array.py Read 30 sensors in less than one second using Tkinter
Help inside module
python
help('DS18B20')