About This Project

In this project, we will learn how to use an air quality monitoring system to check the quality of air in our surroundings.

Project Info

  • Programming Platform: Arduino IDE
  • Difficulty: Intermediate
  • Estimated Time: 3 Hr
  • Category: Arduino
  • MQ-135 Sensor, LCD 16×2 Display, Jumper wires, Arduino UNO, and uploading cable A to B, Breadboard.

Introduction

The Air Quality Sensor, also known as Chemiresistors is a sensor that can detect unusual and dangerous gas around our vicinity. Venomous gas can cause serious illness so to avoid these types of gasses we need a special sensor. In the air quality monitoring system project, we will be using the sensor called MQ2 Gas Sensor to detect unusual gasses around our surroundings.

LCD 16×2 Display: LCD stands for Liquid Crystal Display. It is an electronic device used in many electronic devices such as mobile phones, computers, TV, Automobiles, Aerospace, and many more. The LCD display can be a seven-segment or LED (Light Emitting Diode) segment. It is popular and widely used across the globe due to its simple construction and user-friendly. The main advantage of using an LCD display is that it is inexpensive and long-lasting. LCD has become more popular in this era due to the evolution of robotics and smart activities.

Arduino: Arduino is an open-source programmable electronics platform that is based on easy-to-use hardware and software. It is a well-known component for building electronics and robotics projects. It works together with a piece of software called Arduino IDE (Integrated Development Environment) that runs on the computer to write a program and upload it to the Arduino board. Its operating voltage is ranging from 3.3v to 5v.

On the basis of constructions, Arduino has three different types viz. Arduino Nano, Arduino Uno, and Arduino Mega. All three boards have different numbers of Input and Output Pins regardless of the same working principles.

The Arduino IDE is a simplified version of the C++ programming language, and it is easier to learn to program. The central part of an Arduino board is the Microcontroller which is responsible for Input/Output, Read/Write, storing data, and most importantly processing.

Jumper Wire: A jumper wire is an electrical conductor used for building electronics and robotics projects. It is used only in low voltage and current because of its small conductor diameter. It is available in different lengths and colors.

Components Required

Sr. no. Image Component Quantity
1 MQ2-gas-sensor MQ-135 Air quality sensor 1
2 lcd-16x2-display LCD 16×2 Display 1
3 jumper-wire Jumper Wires As Per Requirement
4 arduino Arduino 1
5 cable-a-to-b USB cable A to B 1

Building Guide

Step 1: Assembly

  • Collect all the necessary components required for air quality monitoring system project.

air-quality-monitoring-system-project

Step 2: Circuitry

  • GND to GND pin of the Arduino
  • VCC to 5V of the Arduino
  • A0 to A0 of the Arduino

Step 3: Connections between LCD and Arduino UNO are given below. Follow the same procedures.

CODING:

Step 4: After coding and uploading the above code, you will see that the quality of the Air is displayed on the LCD display.

quality-of-air-display-on-lcd-screen

The following code will help you to make Arduino based air quality monitoring system

Code

Description

Download Code

Arduino Based Air Quality Monitoring System project Code

Libraries

Description

Download Code

Liquid Crystal Display