Internet of Things Final Project Report: Faculty: Yokesh Babu S Slot: C1+TC1 Team Member
Internet of Things Final Project Report: Faculty: Yokesh Babu S Slot: C1+TC1 Team Member
Internet of Things Final Project Report: Faculty: Yokesh Babu S Slot: C1+TC1 Team Member
Slot: C1+TC1
Team Member
Kuldeep Singh-17BCE0086
Ashish Paudel-18BCE2494
● The main objective of IoT Air Monitoring System is that the Air pollution is
an increasing issue now a days. It is necessary to measure air quality and
keep it under control for a better future and healthy life for everyone. Due to
flexibility and low cost Internet of things (IoT) is getting popular. If people
are exposed to air pollutants for long period of time, they are likely to suffer
from critical respiratory diseases . If air quality continues to get worse then it
may become a big problem for the governments. Hence, air pollution
monitoring systems are very important in monitoring the air pollution before
the situation becomes worst.
● The commercial meters obtainable in the market are Fluke-CO- 220 carbon
monoxide meter for CO, AmprobeCO2 meter for CO2,LPG leakage
detection alarm of ForbixSemicon LPG gas leakage. The researchers in this
field have established various air quality monitoring systems based on
Wireless sensor network, GSM(global system for monitoring) and
GIS(geographical information system). Recently each and every
technology has limitations according to the intended function of zigbee is
meant for users with zigbee transceiver, bluetooth. C. V. Saikumar et al. [7]
proposed that IoT can be used to monitor the air pollution in the
environment. For IoT purpose they used WSN (Wireless Sensor Network).
Implementation of WSN based air pollution monitoring systems is difficult
as it needs certain specification which is not either open- hardware or open-
software.
● Wireless sensors are used in most of the in real time applications for
collecting physical information. The impossible measurements in typical
ways have currently become attainable using the wireless technology. The
monitoring system using Internet of Things (IoT) which is capable of
detecting vehicles causing pollution on the city roads and measures various
types of pollutants, and its level in air.
● In our project we are using two ultrasonic sensors which sense the level of
garbage bin and two gas sensors which detect the harmful gases in the air
.This sensors are connected to the avr family microcontroller which is
interfaced with LCD display which shows the status of bins .We also used
wi-fi module which is used to transmit data for webpage applications .We
are using one buzzer which gives beep whenever any dustbin is full.The
whole system is powered by 12V transformer
The frame work of the proposed system uses IoT to address the vehicular
pollution in realtime applications. Two gas sensors MQ135, MQ9 are used to
monitor the pollutants continuously to maintain the quality of the air.
As soon the pollution level from the vehicle goes beyond the dangerous zone the
system warns the driver/owner of the Vehicle on his web application that the
vehicle is producing more pollution and he should check the vehicle.
Components Used
● This is MQ-9 Carbon Monoxide, Methane, and LPG Gas Sensor Module
can be used to sense Carbon Monoxide and Methane Gas. Sensitive
material of MQ-9 gas sensor is SnO2, which with lower conductivity in
clean air.
● It makes detection by the method of cycle high and low temperature, and
detect CO when the low temperature (heated by 1.5V). The sensor’s
conductivity is higher along with the gas concentration rising.
● When high temperature (heated by 5.0V), it detects Methane, Propane etc.
combustible gas and cleans the other gases adsorbed under low
temperature.
3. ARDUINO 101
A learning and development board that delivers the performance and low-
power consumption of the Intel® Curie™ Module with the simplicity of
Arduino at an entry-level price. It keeps the same robust form factor and
peripheral list of the UNO with the addition of onboard Bluetooth LE
capabilities and a 6-axis accelerometer/gyro to help you easily expand your
creativity into the connected world.
4. ESP8266
The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP
protocol stack that can give any microcontroller access to your WiFi
network. The ESP8266 is capable of either hosting an application or
offloading all Wi-Fi networking functions from another application
processor. Each ESP8266 module comes pre-programmed with an AT
command set firmware, meaning, you can simply hook this up to your
Arduino device and get about as much WiFi-ability as a WiFi Shield offers
(and that's just out of the box)! The ESP8266 module is an extremely cost
effective board with a huge, and ever growing, community.
Architecture(Layout)/Pin diagram
Code
#include <SoftwareSerial.h> //including the software serial UART library which
will make the digital pins as TX and RX
#include <LiquidCrystal.h>
4; int sound=6;
float
temp_read,Temp_alert_val,Temp_shut_v
int
buttonState1=0;
int
buttonState2=0;
long duration,duration1,duration2,duration3;
Serial.begin(9600);
lcd.begin(16,2);
mySerial.begin(9600
);
esp8266.begin(1152
00);
pinMode(motor,OUTP
UT);
pinMode(sound,INPU
T);
module
sendData("AT+CWMODE=2\r\n",1000,DEBUG);
sendData("AT+CIFSR\r\n",1000,DEBUG); // Get the IP address of ESP8266
sendData("AT+CIPMUX=1\r\n",1000,DEBUG); // Configure
ESP8266 for multiple connections
lcd.setCursor(0,0); // Sets the location at which subsequent text written to the LCD
will be displayed
lcd.print("Air : ");
lcd.setCursor(0,1); // Sets the location at which subsequent text written to the LCD
will be displayed
lcd.print("MQ9: ");
//lcd.print("Animal: ");
void loop()
float sensor_volt;
sensorValue = sensorValue/100.0;
//-----------------------------------------------/
sensor_volt =
(sensorValue/1024)*5.0; RS_air
= (5.0-sensor_volt)/sensor_volt;
//Serial.print("sensor_volt = ");
//Serial.print(sensor_volt);
lcd.print( sensor_volt);
//Serial.println(R
0); delay(1000);
float s=analogRead(2);
//so=(100-((s/1023.00)*100));
lcd.setCursor(7,0); // Sets the location at which subsequent text written to the LCD
will be displayed
lcd.print(s);
//t = sensors.getTempCByIndex(0);
delay(1000);
webpage += "</h3>";
if(s>180)
webpage +=
"<h3>MQ9: ";
webpage +=
sensor_volt; webpage
+= "";
webpage +=
"</h3>";
if(sensor_volt>200
{
webpage += "<h3>MQ9 Quality: ";
webpage += " Ab
Normal"; webpage +=
"</h3>";
String cipSend =
"AT+CIPSEND="; cipSend +=
connectionId;
cipSend += ",";
cipSend +=webpage.length();
cipSend +="\r\n";
sendData(cipSend,1000,DEB
UG);
sendData(webpage,1000,DEB
UG);
closeCommand+="\r\n";
sometime
while(esp8266.available()){
ESP8266 response+=c;
if(debug)
Serial.print(response);
return response;
Result/Screen Shots
We tested our device by placing in front of the exhaust of the motor bike and
observed the value of the sensor increased linearly and went beyond the danger
value after which our web application started showing that the air quality is
abnormal
Conclusion
The system to monitor the air of environment using IoT technology is proposed to
detect quality of air. With use of IoT technology enhance the process of monitoring
various aspects of environment such as air quality monitoring issues. In an
environmental air, the different pollutant gases are present which lead to different
diseases in human especially respiratory diseases.
Our device correctly measured the pollution from the vehicle and warned the
owner to chech for his vehicle.
References
1. Waghmare, V., Hirve, A., Bhavsar, S., Dingore, U., & Mahajan, R.
(2019). Internet of Things (IoT) Based System for Monitoring and
Controlling Air Pollution
2. Sharma, M., Dubey, A. K., Kumar, K., Agarwal, V., & Singh, S.
(2018). Design and Implementation of IoT Based Air Pollution
Monitoring System. Bhagwan Parshuram Institute of Technology, 34.
3. Rushikesh, R., & Sivappagari, C. M. R. (2015, October). Development
of IoT based vehicular pollution monitoring system. In 2015
International Conference on Green Computing and Internet of Things
(ICGCIoT) (pp. 779-783). IEEE.
4. Manna, S., Bhunia, S. S., & Mukherjee, N. (2014, May). Vehicular
pollution monitoring using IoT. In International Conference on Recent
Advances and Innovations in Engineering (ICRAIE-2014) (pp. 1-5). IEEE.
5. Kumar, N. S., Vuayalakshmi, B., Prarthana, R. J., & Shankar, A. (2016,
November). IOT based smart garbage alert system using Arduino UNO. In
2016 IEEE Region 10 Conference (TENCON) (pp. 1028-1034). IEEE.