Scripts for environmental monitoring with a Raspberry Pi.
- DS18S20 temperature sensor
- DHT11 temperature and humidity sensor
- SHT2x temperature and humidity sensor
- SHT7x temperature and humidity sensor
- BME280 temperature, humidity and pressure sensor
- BME680 temperature, humidity, pressure and air quality sensor
Usage:
python3 w1_temp.pyfor DS18S20python3 dht11.pyfor DHT11python3 sht21.pyfor SHT2xpython3 sht75.pyfor SHT7xpython3 bme280.pyfor BME280python3 bme680.pyfor BME680
Other tools/files:
example_sensor.pyis an example filepython3 graph.pydoes some simple analysis (ROOT required)sh initi2c.shcan be used to reset the i2c bus after an errorpython3 make_image.pycan be used for picture taking with a connected web camREADME.mdis this file
Usage:
python3 sensor_monitor.py --<sensors> --dir <directory>for continuous read-out, results are saved topython3 sensor_monitor_gui.pycontains a GUIpython3 server.py <file>reports the current measurement status to a TCP client
Still under development
- You can compile
monitor.ccfor a continuous measurement of some sensors