Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitBangingDS18B20

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')


Usage
import DS18B20 as ds
DS_DPIN=27
DS_ID=28-000488404883
ds.read(True,DS_DPIN,DS_ID)

About

Method to access the DS18B20 sensor using Rapsberry Pi GPIO

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages