Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dveeden/raspberry_pi_hygro
Raspberry Pi with SHT11 humidity & temp measurement
https://github.com/dveeden/raspberry_pi_hygro
Last synced: about 1 month ago
JSON representation
Raspberry Pi with SHT11 humidity & temp measurement
- Host: GitHub
- URL: https://github.com/dveeden/raspberry_pi_hygro
- Owner: dveeden
- Created: 2013-01-06T10:17:57.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-22T09:16:23.000Z (about 11 years ago)
- Last Synced: 2023-03-23T22:11:53.237Z (over 1 year ago)
- Language: Python
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Overview
========
This code will read the temperature and humidity. The results will
be printed and stored in a MySQL database. There are a few graphs
based on the data in the database.Setup
=====
The setup I created this project for is the following:
- Raspberry Pi (rev 2)
- SHT11 Humidity & Temperature sensor
- 20x2 LCD HD44780 CompatibleDownload
========
To download the code with git:git clone [email protected]:dveeden/raspberry_pi_hygro.git
Configuration
=============
Copy the rpi-hygro.cnf.sample to rpi-hygro.cnf and adjust the settings
to your configuration.Data Collection
===============
The sens.py must be ran by root:nohup sudo ./sens.py &
Graphs
======
Run graph-min-max.py and/or graph-overview.py. This must
be done on a machine wich can access the database.Requirements
============
On the database macine:
- MySQL (Tested with 5.5)On the machine which does the collection:
- Python
- MySQL Connector/Python
- Adafruit CharLCD
- rpiSht1xOn the machine which generates the graphs:
- Python
- MySQL Connector/Python
- matplotlibReferences
==========
- http://shop.tuxgraphics.org/electronic/detail_sht11.html
- http://shop.tuxgraphics.org/electronic/detail_lcd_20x2.html
- http://pypi.python.org/pypi/rpiSht1x
- https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code
- https://dev.mysql.com/doc/relnotes/connector-python/en/index.html
- http://matplotlib.org/