Instructables

Raspberry Pi Temperature Logger

Step 5: Datalogger Program

Picture of Datalogger Program
Load and run the example program using the following command:

python temp_logger.py 


The example program is very simple: 

It reads the temperature from the temperature sensor every 60 seconds and logs it to a text file (Tempdata.txt)

 
Remove these adsRemove these ads by Signing Up