Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

Pi-Temperature-Station

A Raspberry Pi-based temperature sensing station. The setup uses 2 DS18B20 digital temperature sensor modules and one USB TEMPer sensor. The data is then fed back to Adafruit.io

Resources

The basic code for the temperature sensing python script was found here: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/overview

Details about including Adafruit.io were found here: https://github.com/adafruit/io-client-python

The drivers for the TEMPer sensor were found here: https://github.com/padelt/temper-python

Information on how to create an Upstart Service was found here: https://stackoverflow.com/questions/17747605/daemon-vs-upstart-for-python-script

Installation

Install Upstart sudo apt-get install upstart

Follow the Adafruit.io installation instructions:

  • Add dtoverlay=w1-gpio to /boot/config.txt using sudo nano /boot/config.txt

  • Reboot

  • Run the following the check that the temperature device(s) works:

    sudo modprobe w1-gpio

    sudo modprobe w1-therm

    cd /sys/bus/w1/devices

    ls

    cd 28-xxxx (change this to match what serial number pops up)

    cat w1_slave

  • Follow the TEMPer-python installation instructions

  • Place the temperature sensing python script in the pi user home directory

  • Place the Adafruit APIkey in a files in the pi user home directory called apikey.txt

  • Place the thermoservice.conf file in /etc/init

  • Change the permissions for the thermometer.py file: sudo chmod +x thermometer.py

  • Reboot the Pi

About

Configuration for Raspberry Pi-based temperature sensors connected to Adafruit.io

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.