Skip to content

Raspberry Pi Air Quality Station

Jason edited this page Aug 28, 2018 · 28 revisions

Introduction

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.

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.

Basic Software Setup

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 for the installation portion, however i did not find it to be necessary for what we were trying to accomplish with the air quality station.

sudo apt-get update
sudo apt-get install build-essential python-dev python-smbus git i2c-tools
git clone https://github.com/adafruit/Adafruit_Python_GPIO.git
cd Adafruit_Python_GPIO
sudo python setup.py install

Useful Commands

To show core temperature of the processor

vcgencmd measure_temp

To find current i2c connection

i2cdetect -y 1 

Useful Diagrams

Raspberry Pi 2 Model B GPIO Header