18
BEAGLEBONE BLACK BASED AIR QUALITY MONITORING SYSTEM USING IOT PROJECT GUIDED BY Mr.D.NARENDER SINGH PRESENTED BY B.YESWANTH-12H61A0469 R.GANESH-12H61A04A3 T.KOUSHIK- 12H61A04B0

Air quality monitoring system

Embed Size (px)

Citation preview

Page 1: Air quality monitoring system

BEAGLEBONE BLACK BASED AIR QUALITY MONITORING SYSTEM USING IOT

PROJECT GUIDED BY Mr.D.NARENDER SINGH PRESENTED BY

B.YESWANTH-12H61A0469 R.GANESH-12H61A04A3T.KOUSHIK-12H61A04B0

Page 2: Air quality monitoring system

Definition of air pollution

• The air we breathe may not be visible, but contains a variety of substances. Apart from the nearly fixed concentration of nitrogen, oxygen, inert gases, carbon dioxide, it contains substances like Particulate Matter, dust, toxic gases, smoke from vehicles, micro-organisms etc. change in the values of these gases due to natural or human efforts is called air pollution.

• Sources and Causes of Air Pollution• Few of the common sources of air pollution have been listed below• Transport vehicles• Brick kilns, steel factories and other industries• Thermal power plants• Household chulhas• Burning of wastes, firecrackers, bonfires and forest fires• Soil erosion• Volcanoes• Cosmic dust• The sources of air pollution vary a lot. Their contribution to the total air pollution depends

Page 3: Air quality monitoring system

BLOCK DIAGRAM

Beaglebone black

Mq3 sensor Signalconditioner

Server(cloud9 ide)

WebpagePlot.ly

Mq7 sensor Signal conditioner

Page 4: Air quality monitoring system

start

Read sensor inputs

Comparing them with preset values

Value is

Alerting the user

Upload the dataSetting up a server

Creating a webpage for user

interface

Read for upload data

Display it on webpage

low high

Page 5: Air quality monitoring system

BeagleBone BLACKIntroduction● Credit card sized single-board computer● AM3358 1GHz ARM Cortex-A8● 4GB eMMC flash storage● 512MB DDR3 RAM● Dual PRU 32-bitmicrocontrollers● Open hardware

Page 6: Air quality monitoring system

MQ3 SENSOR

Page 7: Air quality monitoring system

MQ7 SENSOR

• Surface resistance of 2-20k in 100ppm Carbon Monoxide

• Working Temperature -20 (+or-)2 ℃ ℃relative humidity 65%(+or-)5% RL:-10KOhm+or-5%

• Preheat time No less than 48 hours Detecting range:20ppm-2000ppm carbon monoxide

Page 8: Air quality monitoring system

SIGNAL CONDITIONER MANIPULATING AN ANALOG SIGNAL IN SUCH A WAY THAT IT MEETS THE

REQUIREMENTS OF NEXT STAGE FOR FURTHUR PROCESSING.

MOST COMMON USE IS IN ANALOG TO DIGITAL CONVERTERS.

INPUTS: D.C VOLTAGE, CURRENT, SENSOR INPUTS, THEMISTOR, LVDT OR RVDT.

OUTPUTS: VOLTAGE,CURRENT, FREQUENCY, TIMER OR COUNTER, RESISTANCE AND OTHERS.

Page 9: Air quality monitoring system

INTERFACING BEAGLEBONE BLACK WITH SENSORS

Page 10: Air quality monitoring system

LCD INTERFACING

LCD PINS BBB PINSRSENDATA

Page 11: Air quality monitoring system

SOFTWARESoftware Compatibility:1.Debian2.Android3.Ubuntu

Page 12: Air quality monitoring system

DEBIAN OPERATING SYSTEM COMMANDS

• nano airpollution.py……………………………………..to see the program• ls –al……………………………………………………………to display list of files• Cron tab e……………………………………autorun of program for every 15mins• nano /etc/network/interfaces…………..to change network configuration• reboot…………………………………o.s will reboot • Python airpollution.py………………………………………to run the program• cd/etc……………………………………………………….change directory• get apk_install filename…………………..to install a software from the servers

Page 13: Air quality monitoring system

PHYTHON

Python is a widely used high-level, general-purpose, interpreted, dynamic programming language.

its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java

Python interpreters are available for installation on many operating systems, allowing Python code execution on a wide variety of systems.

Page 14: Air quality monitoring system

ALGORITHM

• Start the process.• Import gpio , analog and math packages.• Declare necessary variables like co for mq7 value

and methane for mq2 value.• Write the infinite loop for reading sensor values.• Do necessary mathematical calculations for

measuring constant levels of gases.• Provide the required amount of delay time.• End the process.

Page 15: Air quality monitoring system

CLOUD9 IDE

• Cloud9 Integrated Development Environment is an online programming server which is allocated on demand.

• We can develop our program by using our hardware pheripherals through cloud9 and can access it from anywhere at any time.

• The user don’t have any idea about where the program will be stored.only a simple interface for accessing the module will be given.

Example:google docx

Page 16: Air quality monitoring system

PLOT.LY WEB PAGE FOR USER INTERFACE

Page 17: Air quality monitoring system

Working processNode

webserver on port

Node socket io listener

Bone script

Page.html

Laptop/tabletWeb browser

Co and methane level plots

Fetch html

Page 18: Air quality monitoring system

THANK YOU