LampPi

 

Projects

Temperature Log

Temperature Log

What you will make

The system on a chip (SoC) of the RaspberryPi 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 RaspberryPi, take measurements from the temperature sensor at given intervals, and write them into log files that can be viewed later.


What you will learn

By completing the Temperature project you will learn:
◾ How to create a shell script
◾ How to write the temperature reading to a file
◾ How to add a timestamp
◾ How to start the program automatically


About

Contact

Links

Site Map

© LampPi 2018