Skip to content

Community-Sensor-Lab/Air-Quality-Sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air Quality Sensor V4 with Provisioning and Sen5x 🌱

Welcome to our ASRC Community Sensor Lab! We're still building this space but feel free to use the materials available. Contact [email protected] if you have any questions. We'll try to answer as soon as possible!

The Air Quaity Sensor (AQS) is a low-cost, low-power DIY device with sensors for CO2, temp-pressure-relativehumidity, PM2.5 (dust or smoke), VOC (Volitale Organic Compound), and NOx (Nitrate). It has an on-board logger and WiFi chip allowing connection to Google Sheets for real time data reporting.

If you wish to learn more about VOC and NOx, below are some references that can help:


Air Quality Sensor V4 code contains a provisioning function allowing a more flexible way of providing networking and google sheet information to the sensor without having to upload the code everytime. It currently also have a saved state feature where the last input is saved and will be used on startup allowing it to connect to the most recently connected wifi and google sheet. Forced provisioning is also enabled to allow the user to update the saved info without the need to reupload our code.


Contents:

Starting From Scratch💡

Soldering

Assembly

Arduino IDE

If you are new to Arduino, below is a guide on installing Arduino onto your computer along with the instructions on how to install the required libraries and board managers needed to run our code. There are also additional setup instructions included in the guide for the WiFi and Real-Time-Clock.


Downloading Code From Github 🐈‍⬛

If you are new to Github, Welcome! Check out our guide:


Setting Up Your Arduino Sensor

If you are new to the process of setting up a sensor, you can check out the guide we made that allows you to test the built sensor to make sure each component of the sensor is working as intended.

Setting Up Google Spreadsheet

HTTP-Request-to-Google-Spreadsheet 🌐

The Air Quality Sensor can post data in (almost) real-time to a spreadsheet online through HTTP methods! For instructions on getting the AQS connected with a Google Spreadsheet, take a look at our guide: HTTP Posting to Google Spreadsheet.
In our guide we provide:

  • A template specifically for the Air Quality Sensor
  • Step-by-step instructions to using the Google Script Editor for the AQS and deploying your app script
  • Managing troubleshooting issues
  • Step-by-step instructions to then connecting your App Script to the AQS through the Arduino IDE

Provisioning and Saved State Feature

Our Air-Quality Sensor allows you to input wifi and google sheet information on the fly! For instructions on how our provisioning feature works and how to utilize it, take a look at our guide: Intro to AQS-CSL-V4 Provisioning


Parts List 🖥

Here are the materials you will need with links of where to find them.

FeatherM0-Microcontroller-Boards

Board Board Image Use Link
Feather M0 WiFi (WINC1500)) Connects to WiFi network. Brain of the system Adafruit
Featherwing Logger (RTC microSD) Slot for microSD. Has a real time clock Adafruit
Featherwing OLED 128x64 Displays data values and can graph functions Adafruit
Feather Terminal Block Foundation that connects the components together Adafruit

Sensors

Sensor Sensor Image Use Purchase Link
Sensirion SCD30 CO2 NDIR Measures CO2 in PPM Digi-Key
BME280 Temp. Press. Rel Humidity Measures temperature C, pressure hPa and relative humidity % Digi-Key
Sensirion SEK-SEN5X Measures particulate matter PM2.5+, VOC, NOx Digi-Key

Additional-Parts

Part Part Image Use Purchase Link
MiniBoost 5V Boosts battery pawer to 5V Digi-Key
Battery Lithium Polymer LiPo 3.7V Device's battery Digi-Key
Battery Coin cr1220 Clock Battery Digi_Key
Micro SD non volatile memory Digi-Key
Jumper Wires Connects sensor components using the breadboard Sparkfun

Diagram 🔦

Solar Integration ☀️

The Air Quality Sensor can be powered by the sun! For instructions on getting the AQS connected to a solar panel visit our document guide: Solar Integration for the AQS.

Versions 🛠

Air-Quality-Sensor-V4

This is currently still being worked upon. The code has been updated to allow communication from the google sheet to the sensor and allow provisioning so that the Wifi information does not need to be inputted into the code beforehand allowing it to be more versatile.Upcoming-Version-4.0

Air-Quality-Sensor-V3

This is our current utilized version of code for our Air Quality Sensor. The code on this page is the latest code that is stable for usage. Bigger display screen, power booster, PM 2.5 and differential pressure sensors are included in this version Version-3.0

Air-Quality-Sensor-V2.1

Code from version 2.1 of the Air Quality Sensor can be seen on the branch Version-2.1

Air-Quality-Sensor-v1

Code from the first version of the Air Quality Sensor can be seen on the branch Version-1

About

reuploaded after accidentally deleting the repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages