Skip to content

alfalimajuliett/zeroWtempCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zeroWtempCode

Code for raspberry pi zero W temperature probe project

Installation

On a clean installation of Rasbian Desktop:

  1. Create a SSH Key
  2. Add it to GitHub
  3. Check out the repositories:
git clone git@github.com:alfalimajuliett/zeroWtempCode.git
git clone git@github.com:alfalimajuliett/QlabTempData.git

  1. From https://pimylifeup.com/raspberry-pi-temperature-sensor/
  • sudo nano /boot/config.txt and add dtoverlay=w1-gpio to the bottom of the file
  • Save and exit (ctrl x ; ctrl y)
  • sudo reboot
  • Wait ...
  • sudo modprobe w1-gpio; sudo modprobe w1-therm
  1. Run git config --global user.email patt0335@umn.edu; git config --global user.name "Mary"
  2. Run cd zeroWtempCode; ./temp_update_code.py and verify that the CSV is updated; cat ../QlabTempData/temp.csv
  3. pip install python-crontab
  4. Run install_temp_cron=True ./temp_update_code.py to install a cron configuration to run the program every hour

About

code for raspberry pi zero W temperature probe project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages