System based on Raspberry Pi and GrovePi to display temperature, humidity and other air quality parameters
Released under The MIT License, see LICENSE.txt file for more details
- Raspberry Pi 1 Model B
- USB power adapter for the Pi
- GrovePi+ board (firmware version 1.2.7)
- Grove RGB LCD display
- Grove temperature and humidity (DHT) sensor or Grove temperature and humidity (DHT) Pro sensor
- Grove air quality sensor
- Lego bricks for the case
It is expected that you have already set up GrovePi on your Raspberry Pi.
- Connect the display and both sensors.
- Connect the display to the port I2C-1.
- Connect the DHT sensor to the port D7.
- Connect the air quality sensor to the port A0.
- Download the python script.
- Depending on which DHT sensor you are using, you have to adapt the value assigned to
DHT_SENSOR_TYPE
at the beginning of the script. Its comment explains more. - Run the script:
python air-quality-measurement-system.py