Coder Social home page Coder Social logo

community-sensor-lab / air-quality-sensor Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 6.0 34.58 MB

Air Quality Sensor measures and saves data on Carbon Dioxide, Temperature, Pressure, Relative Humidity, VOC, NOX, and Particulate Matter

Home Page: https://linktr.ee/communitysensorlab

C++ 90.18% JavaScript 9.82%
sensors temperature co2-sensor pressure relative-humidity community sensirion feather-m0 community-science air-quality-sensor

air-quality-sensor's Introduction

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

air-quality-sensor's People

Contributors

eterxy avatar rictolcrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

air-quality-sensor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.