Project tutorial
Monitoring Industries Using IoT

Monitoring Industries Using IoT © GPL3+

Monitoring Industries using the power of Internet and automation.

  • 4,869 views
  • 8 comments
  • 20 respects

Components and supplies

Ardgen mega
Arduino Mega 2560 & Genuino Mega 2560
The Main Microcontroller
×1
Esp01
Everything ESP ESP8266 ESP-01
To connect to WiFI and do communication stuff.
×1
Ovna7lqwpyyfnb674kepm9w7
Seeed Grove - Barometer Sensor (BMP280)
To get Temperature and Air Pressure
×1
386 00
DHT11 Temperature & Humidity Sensor
Or DHT22 Or DHT21. To get Humidity/Temp..
×1
Gas sensor mq jtwyvn2dye
Seeed Grove - Gas Sensor(MQ2)
To get ppm of CO, LPG and Smoke
×1
12002 04
Breadboard (generic)
Or Perfboard
×1
11026 02
Jumper wires (generic)
As per Need
×1
13285 01
PIR Motion Sensor (generic)
To Detect Motion
×1

Necessary tools and machines

09507 01
Soldering iron (generic)
If need to Solder anything (Not Required if no need)

Apps and online services

Blynk logo new svawbywyip
Blynk
The Server/Application

About this project

The project aims to monitor the factories andgetting the information on your smartphone or other devices using IoT.

Background

The project aims in monitoring the gases, temperature, humidity, noise, barometric pressure, etc. and report the information on your smartphone. And also tells about the harmful conditions for the workers.

According to the most recent fire statistics from the National Fire Protection Association (NFPA), an average of 37, 000 fires occur at industrial and manufacturing properties every year. These incidents result in 18 civilian deaths, 279 civilian injuries, and $1 billion in direct property damage. - So, if we can detect flammable gases and chances of where fires and accidents can occur the project can save damage to life and property.

About

This project is to monitor any manufacturing plant remotely for temperature, motion, humidity and carbon dioxide etc. The project has uses Arduino Mega and ESP8266 and various sensors. With the use of IoT, this project will send you the data remotely to your E-mail /SMS about the current weather and concentration of gases in the plant. The program has also set the parameters and if the results are not within the parameters it will notify the results with warning so that immediate action will be taken to prevent the fire... It can also take pictures while sending notification<by the use of ArduCam>. With the use of motion sensor it will help to monitor unauthorized entry after the office hours as set in parameters. This project uses Blynk as server and app to view your data. I planned to use Arduino Cloud but it is not available for ESP8266. This project will also expanded for monitoring the Health of each employees working in the plant by measuring their BP and heart rate with a future wearable device in the safety jacket...

Components

Arduino Stuff

  • First gather all the components.
  • You need to upload the sketch “Calibrate_MQ2”and keep the MQ2 connected to Arduino on A0 in Fresh Air. The Serial Monitor will show the Ro value which needs to be replaced in the Final Sketch!
  • Download the Blynk App
  • And scan the QR code <attached below> to duplicate the project
  • It will send the auth token to your email address you signed up with
  • Change the SSID, password, auth token and Ro value in the Industries_Monitor sketch!
  • After that upload the “Industries_Monitor” to your Arduino Mega and connect the ESP8266 and other sensors according to the schematics
  • <Schematics are attached below >
  • < Codeis attached below >
  • The Project IS COMPLETE!

Server Side

  • The server side of the project is managed by Blynk, a free application/host.
  • The sending and receiving of data is being handled by POST, PUT, GET, etc. ; on the phone and esp8266.
  • You can also setup your own server. Help here:
https://github.com/blynkkk/blynk-server

View Data

  • Install Blynk on your smartphone from the App Store/Play Store
  • Open the project which you had made before by scanning the QR code!
  • Edit the email address and other thing which you want to
  • Press the play button to get live feed from your device!
  • You can see the temperature, humidity, air pressure, motion, gas readings...
  • You can also see a chart with history for weather readings <***SuperChartWidget Required>
  • If the gas readings (CO, LPG, Smoke) have increased then, the server will tell the device to turn on the exhaust or crank up its speed if connected to it and turn on a loud siren to inform management about the increase in the readings..
  • <**Details about this are in Eventor Widget of Blynk>

Working

I used an Arduino Mega to make the project! The project does not require lots of pins but boards with more memory will only work.

The Arduino Mega is connected to ESP8266 board to connect to Wi-Fi. The ESP8266 will be used to connect to Wi-Fi and the server and communicate with it through MQTT Protocol. The ESP8266 is connected via serial interface.

The system I made will monitor the temperature and pressure (using BMP280) and the humidity (using DHT11)!

Since the modern factories/industries use fossil fuel or other gases; The system also monitors gases like carbon monoxide (silent killer), LPG and smoke using MQ2 gas sensor. It also has a PIR motion sensor to detect humans and motion activity.

Most of the work of analyzing the data the data will be done on the server side. Here the server is Blynk. The server is hosting the web page and managing the entry of data and its analysis which has to be done. It uses and event-or widget to give notifications and other stuff based on the information sent by the device.

You will understand the working of the server if you see the code and Blynk interface!

Code

Industries_Monitor
Code for Arduino Mega Final Sketch
Calibrate_MQ2
Code to get Ro Val for MQ2 Connect MQ2 to A0

Schematics

Scematics(png)
This is the Scematic of the Project in PNG!
Attach MQ2 to the board with Power Pins and Analog Pin(A) connected to pin A0 of Arduino Mega...
Also connect Data pin of PIR Sensor to pin 7 of Arduino mega //Configurable in Blynk!
Monitoring industries using iot bb stiy5maedo
The QR code for Blynk Project
Download Blynk App
Scan It!
Screenshot 20180903 0911291 jxvhjhwqwo

Comments

Similar projects you might like

Arduino Bluetooth Basic Tutorial

by Mayoogh Girish

  • 454,652 views
  • 42 comments
  • 236 respects

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 285,512 views
  • 95 comments
  • 671 respects

Security Access Using RFID Reader

by Aritro Mukherjee

  • 229,333 views
  • 38 comments
  • 236 respects

OpenCat

Project in progress by Team Petoi

  • 195,972 views
  • 154 comments
  • 1,362 respects
Add projectSign up / Login