Code for raspberry pi zero W temperature probe project
On a clean installation of Rasbian Desktop:
- Create a SSH Key
- Add it to GitHub
- Check out the repositories:
git clone git@github.com:alfalimajuliett/zeroWtempCode.git
git clone git@github.com:alfalimajuliett/QlabTempData.git
sudo nano /boot/config.txt
and adddtoverlay=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
- Run
git config --global user.email patt0335@umn.edu; git config --global user.name "Mary"
- Run
cd zeroWtempCode; ./temp_update_code.py
and verify that the CSV is updated;cat ../QlabTempData/temp.csv
pip install python-crontab
- Run
install_temp_cron=True ./temp_update_code.py
to install a cron configuration to run the program every hour