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.txtand adddtoverlay=w1-gpioto 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.pyand verify that the CSV is updated;cat ../QlabTempData/temp.csv pip install python-crontab- Run
install_temp_cron=True ./temp_update_code.pyto install a cron configuration to run the program every hour