Thursday 12 July 2018

Plotting temperature over time on a Raspberry Pi

A while back I assembled a temperature measuring system using a DS18B20 temperature sensor which was read by an Arduino fitted with an Ethernet Shield.



To record the temperature over time, I wrote a simple Python program running on a Raspberry Pi 3 to access the Arduino over my local network.

It was not the most elegant of programs, but it recorded the time and temperature into a CSV file.

The CSV file was then opened in Libre Calc, and the results plotted out.