Skip to content

imclab/temperature-log

 
 

Repository files navigation

Temperature Log

The BCM2835 system on a chip (SoC) of the Raspberry Pi has a temperature sensor that can be used to measure its temperature from the command line. It can provide information on how much heat the chip has generated during operation and also report on the temperature of the environment. This project's aim is to create a simple shell script that can run automatically as you boot up your Raspberry Pi, take measurements from the temperature sensor at given intervals, and write them into log files that can be viewed later.

Requirements

Hardware

For accurate timestamps in your logs, you can optionally use a Real Time Clock accessory

Worksheet & included files

  • The worksheet
  • (Optional) Final version of the shell script: temperature_log.sh
    • Download to your Pi with wget http://goo.gl/vV2SF5 -O temperature_log.sh --no-check-certificate

Licence

Unless otherwise specified, everything in this repository is covered by the following licence:

Creative Commons Attribution 4.0 International Licence

Temperature Log by the Raspberry Pi Foundation is licensed under a Creative Commons Attribution 4.0 International Licence.

Based on a work at https://github.com/raspberrypilearning/temperature-log

About

Take temperature measurements from the Raspberry Pi's CPU at given intervals and log the data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%