Upload
venkata-ranjith-kummari
View
291
Download
0
Embed Size (px)
Citation preview
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
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
BLOCK DIAGRAM
Beaglebone black
Mq3 sensor Signalconditioner
Server(cloud9 ide)
WebpagePlot.ly
Mq7 sensor Signal conditioner
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
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
MQ3 SENSOR
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
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.
INTERFACING BEAGLEBONE BLACK WITH SENSORS
LCD INTERFACING
LCD PINS BBB PINSRSENDATA
SOFTWARESoftware Compatibility:1.Debian2.Android3.Ubuntu
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
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.
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.
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
PLOT.LY WEB PAGE FOR USER INTERFACE
Working processNode
webserver on port
Node socket io listener
Bone script
Page.html
Laptop/tabletWeb browser
Co and methane level plots
Fetch html
THANK YOU