In order to keep tracking the air quality such as CO2( which will make people drowsy), TVOC (Total Volatile Organic Compounds, which might damage people's health), temperature, humidity to make people feel more comfortable in the room. I want to build a data center, to collect data from types of sensors and plot these data in a website, also I want to compare these data with outside weather by the collected data from the government.
- Raspberry Pi 4
- Arduino Uno
- Raspberry Pi 4 for Raspberry Pi Camera 2(new)
- DS18B20: detect temperature
- DHT22: detect Humidity and temperature
- SHARP GP2Y1014AU: detect PM2.5
- Gravity CCS811: detect CO2 and TVOC
- Raspberry Pi Camera 2(for the power consumption of extension cord)
- Raspberry Pi:
- pyserial
- arduino
- arduino-mk
- Arduino:
- pusubclient
- ArduinoJson
- DFRobot_CCS811
- DallasTemperature
- OneWire
- DHT
- PMS
- SoftwareSerial
to show the data collected from local and opensourse website and manage a way to show them
- Collect data from local, and save them into db
- Collect data from web, and save them into db
- show the data by grafana, let me check it by internet
- show the data by local screen, let me check it in my room
- [] Add a local e-ink screen
- [] Add co2 sensor
- [] Add power consumption data of extension cord
- [] Read extension cord data by seven segment LED
- [] Find a way to control e-ink screen
- [] try c
- try microPython
- Reduce failed reading
- Move functions into a package
- Merge
readElectricity.py
intoreadSensor.py
usingasycio
library
- air quality (pm2.5) https://data.epa.gov.tw/
- weather https://opendata.cwb.gov.tw/
shutter speed too slow, sometimes there will be a afterimage -> trying to speed up and change some pre-process parameter to keep image reading quality
datasheet
Gravity: CCS811 Air Quality Sensor SKU: SEN0318