/ofxDS18B20

OpenFrameworks 1-wire interface to DS18B20 temperature sensor for RaspberryPi

Primary LanguageC++

ofxDS18B20

OpenFrameworks 1-wire interface to DS18B20 temperature sensor for RaspberryPi

Setup:

  • Configure your hardware (see links below)

  • edit /boot/config.txt

  • sudo nano /boot/config.txt
  • Add to the end of the file:
  • dtoverlay=w1-gpio
  • edit /etc/modules
  • sudo nano /etc/modules
  • Add to the end of the file:
  • w1-gpio
  • w1-therm
  • Reboot

  • Add ofxDS18B20 folder to your OF Addons folder

  • Compile, run and measure temperature!

  • See these links for additional information: