-
Notifications
You must be signed in to change notification settings - Fork 10
Raspberry Pi Air Quality Station
For this project we will be following a blog post for a Raspberry Pi Air Quality Station from rigacci.org. However we will be taking a slight detour from the original part of the blog, so here is what we will be using.
- Raspberry Pi 2 Model B V1.1
- Adafruit CCS811 Air Quality Sensor Breakout - VOC and eCO2
- Plantower PMS5003 for PM2.5 and PM10
- BMP280 for Atmospheric Pressure, Humidity, and Temperature
- DS3231 AT24C32 Real Time Clock
- Canakit Raspberry Pi Wifi Adapter
I will be following the blog post line by line for the majority of the tutorial and will try my best to stick with the blog post to avoid confusion, however i will be writing notes in each section as a filler if there were things that i thought were missing.
For the wiring diagrams, i will be using fritzing and will be adding one sensor module at a time to finally work our way to the completed wiring diagram like so.
To open up the configuration for the raspberry pi, run the following in the command line
sudo raspi-config
I was not able to install the following packages, although i did not find it necessary for what we were trying to accomplish for our air quality station.
TODO: put packages that were not able to install
The documentation in the wiki was sufficient to properly install the RTC, although i skipped the AirPi software portion for now as i wanted to focus on getting the RTC working first.
As the blog mentioned, the RTC we purchased did had a recharging circuit and the battery we used was a CR2032 which is non-rechargeable. The surface-mount resistor was removed as shown in the diagram.
Continue on with the hardware test as stated in the blog.
So as to why we needed a RTC, the raspberry pi does not have a built-in RTC like your computer. Reason why is because it is so that the manufacturer can save money. The raspberry pi instead asks a server when it boots up to keep track of time, however this relies on internet connection. Since we were dealing with timestamps we thought it was necessary to use a RTC which will keep track of time for the raspberry pi.
Raspberry Pi 2 Model B GPIO Header