Skip to content

AiryFi is an open-source portable sensor that can deliver the quantity and mass of suspended particulates. It includes a PMSA003 sensor that uses a digital output with a 5V working voltage to offer information on suspended particulate matter (PM1.0, PM2.5, and PM10) in the air per unit volume.

License

sbcshop/AiryFi_Software

Repository files navigation

AiryFi

AiryFi is an open-source portable sensor that can deliver the quantity and mass of suspended particulates. It includes a PMSA003 sensor that uses a digital output with a 5V working voltage to offer information on suspended particulate matter (PM1.0, PM2.5, and PM10) in the air per unit volume.

Features

  • PMSA003 sensor for monitoring Air Quality
  • On board TFT display
  • Battery Powered
  • BME 280 sensor for temperature and humidity monitoring
  • ESP8266-12E
  • Type-C charging

Specifications

  • Battery charging
  • Optional debug port
  • Battery Voltage Sensor
  • Boost convertor of 3.7 to 5 volt

Hardware Overview

AiryFi consists of ESP8266-12E, USB type-C Port for charging and communication, CP2102, Battery Connector, On/Off switch, Flash, PMSA003 sensor selection jumper, BME280 and many more. let's take a closer look on our AiryFi board, and see what other hardwares are present on it:

ESP8266-12E

It is a SoC (System on Chip) WiFi microchip for TCP/IP having capability of a microcontroller. It has many general purpose input output(GPIO) pins for interfacing different types of sensors and other monitoring devices. In this device by using ESP8266-12E module we can use this board as server or as client for receiving and sending its data to the user and from the user to AiryFy board respectively with the help of an Android Application.

USB Type-C Port

For charging and communication with the AiryFy board

CP2102

The CP2102/9 is a highly-integrated USB-to-UART Bridge Controller providing a simple solution for updating RS232 designs to USB using a minimum of components and PCB space. It is a driver IC for interfacing between USB to our ESP8266.Install driver form below link
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads

Sensor Selection Jumper

This jumper is provided to interfacing between ESP and PMS sensor for getting PMS sensor data. Please make sure during the code uploading in AiryFi board, this jumper removed.

Reset and Flash Button

Reset button is provided for resetting ESP8266 and so this board. Flash button is for flashing or updating firmware in ESP8266 chip.

Battery Connector and ON/OFF

Battery connector is used for connecting a 3.7volt battery for powering-up AiryFi and this connector also works as the battery charging port. ON/OFF switch is used for toggle ON and OFF this board according to our need to save battery power consumption.

Attention:

  • Please make sure that powering battery of AiryFi board should not be more than 3.7volt. voltage of your baord more than 3.7volt can damage your AiryFi board. The connection should be proper (+ive and -ive terminal will be in right manner).

Pinouts/Reserved of pins of AiryFy

For uploading latest firmware to ESP8266 module please click on below link

https://github.com/nodemcu/nodemcu-flasher

Uploading Code

  • During uploading the code to AiryFi please make sure that sensor selection jumper is open as shown in below image

  • After uploading code, connect the sensor selection jumper as it is for successful reading of sensor on running code in our AiryfI board

Steps To Setup the AiryFi

First thing first, install the CP2102 usb driver to detect our board as a usb device in your system. We have provided a Zip file(pololu-cp2102-windows-220616.rar) of it in this Repository. After downloading and extracting the zip file locate setup file compatible with your system and inatall this driver. You can also visit to below link for download the cp2102 drver for your system; https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads and download the CP210x VCP based on your operating system and install it.

  1. Download and install Arduino IDE https://www.arduino.cc/en/software

  2. Open Arduino IDE

  3. Now install Esp8266 board, for this go to file -> preferences

    • Paste two urls,in "additional board manager urls"

      http://arduino.esp8266.com/stable/package_esp8266com_index.json

      https://dl.espressif.com/dl/package_esp32_index.json

    • Now install ESP8266 board, go tools -> boards -> board manager

    • Write ESP8266 in search bar

    • Lets, check boards are install or not, go to tools -> boards

  4. Now go to sketch -> include library -> manage libraries

  5. Install all libraries which is mention below

  • Arduino_GFX_Library.h (Install Arduino_GFX_Library.h version 1.3.1 other version has some issue)

  • ESP8266WiFi.h

  • PMS.h

  • Adafruit_Sensor.h

  • Adafruit_BME280.h

  • Wire.h

  • SPI.h

  1. Choose Port and ESP8266 board from board manager

Working Guide with AiryFi

  • For Display the sensors data simply on LCD without internet, upload the code of directory "Air-monitoring Data On LCD".
  • To see your sensor data on your smartphone open the directory "Air-monitoring Data on Smartphone" and setup your device according to provided instruction in it.
  • To send your sensor data on any cloud plateform(Thingspeak) upload the code of directory "Air-monitoring Data On Thingspeak". You can also choose any of your choice cloud plateform to send your sensor data(necessary changes will require).
  • "Battery Monitoring" code will show battery voltage and a worning when battery of this board gets discharge

Documentations

Related Products

Air Monitoring HAT

Pico Air Monitoring

Air Monitoring Breakout

Pico Sense HAT

Product License

This is open source product. Kindly check LICENSE.md file for more information.

Please contact support@sb-components.co.uk for technical support.

About

AiryFi is an open-source portable sensor that can deliver the quantity and mass of suspended particulates. It includes a PMSA003 sensor that uses a digital output with a 5V working voltage to offer information on suspended particulate matter (PM1.0, PM2.5, and PM10) in the air per unit volume.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages