Skip to content

Measuring temperature with DS18B20 on Raspberry pi and display measured data.

Notifications You must be signed in to change notification settings

ystrem/temperature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

temperature

Measuring temperature with DS18B20 on Raspberry pi and display measured data.

Here is sources which I used:

  1. Reading temperature from DS18B20 - Read temperature from thermometer, then the value save to the t.log and sqlite DB .

  2. Displaying measured data - js library, read file temp.log, and display measured data in graph.

https://github.com/danvk/dygraphs

  1. Cron daemon in linux run the python code every minute (Read temperature from thermometer, then the value save to the t.log and sqlite db for late usage).

pi@raspberrypi ~/temperature $ crontab -e

To the bottom of the file add this line.

*/5 * * * * pi cd temperature && python /home/pi/temperature/temperature.py

About

Measuring temperature with DS18B20 on Raspberry pi and display measured data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages