Air Pollution Monitoring | IoT-Data Viz-ML

1,564

19

5

About: Currently in 3rd yr. of my B.Tech degree in Electronics & Telecommunication Engineering from KIIT University, Bhubaneswar, India. A few programming languages at which I'm intermediate are C, C++, PYTHON....

So this is basically a complete IoT Application which includes hardware part as well as software part. In this tutorial you will see how to set up the IoT device and how to us it to monitor the different types of pollution gases present in the air. So this tutorial includes IoT and Data Science.

Programming Languages involved are C Programming and Python.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components Required

Hardware:

1) NodeMCU - An ESP8266 powered microcontroller, perfect for building IoT applications.

2) MQ2 Gas Sensor - A simple gas sensor to detect the different types of gases present in the air.

Software:

3) Arduino IDE installed in you PC / Laptop

4) Jupyter Notebook, Python & different libraries - You can do the setup by following this video tutorial.

Step 2: Setting Up Device (Hardware Setup)

1) The NodeMCU is set inside the breadboard.

2) Gas Sensor Connection:

a) Vcc is connected to Vin port of the NodeMCU.

b) GND is connected to the GND pin of NodeMCU

c) A0 pin is connected to the A0 pin of the NodeMCU

3) Servo Motor Connection

a) +ve pin of Servo Motor is connected to Vin of NodeMCU

b) -ve pin is connected to the GND of NodeMCU

c) The actuator pin or the output pin is connected to the D0 pin of NodeMCU.

4) LEDs Connection

a) The +ve pins of the LEDs are connected to the Vin port of the NodeMCU and the -ve pins to the GND of the NodeMCU

Step 3: Software ( Coding & Visualization)

Get the Arduino Code and the visualization code below. Everything is mentioned step by step. Watch the full video to get a detailed overview of this project.

https://github.com/debadridtt/Air-Pollution-Monitoring-using-IoT-Data-Viz.-ML

Wireless Contest

Participated in the
Wireless Contest

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    5 Discussions

    0
    None
    jaswanthr6

    6 months ago

    hay could pleas give me the <ESP8266WIFI.h> lib file or SHARE ME A LINK

    1
    None
    asqw666

    1 year ago

    Hi can you please upload the circuit diagram. It would be a great help.

    0
    None
    AbdullahA36

    1 year ago

    hello there,
    does it use machine learning to predict ?.
    thanks

    0
    None
    Swansong

    1 year ago

    That would have been useful when I lived in San Antonio, sometimes it can get bad there because of all the cars.

    1 reply
    1
    None
    DebadriDSwansong

    Reply 1 year ago

    hehe. I'm actually kind of researching as well on this topic. Do not forget to vote and share if you like this project