กลับไปหน้ารวมไฟล์
monitoring-industries-using-iot-4b9a23.md

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.

GOAL - To Prevent such Loses

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
Scan QR Code below with Blynk!
  • 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
Connect the devices and put it in the case like this!
  • <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!


🛠️ เจาะลึกเบื้องหลังการทำงาน (Deep Dive / Technical Analysis)

Standard Arduino sensors are meant for clean desks. The Monitoring Industries Using IoT project adapts these components for the harsh realities of factories. It focuses on using sensors to detect mechanical failures before they happen, transmitting the data wirelessly over heavily insulated networks.

The Sensor Suite for Machinery

You do not measure the air; you measure the steel.

  1. The Thermocouple: You bolt an MAX6675 K-Type Thermocouple directly to the engine block. Unlike a DHT11, this probe can measure up to 1024°C without melting!
  2. The Vibrational Analysis: You attach an MPU6050 Accelerometer to the motor housing.
  3. The ESP32 doesn't care about the angle of the motor; it runs high-speed math to measure the frequency of the vibrations. If the motor suddenly starts rattling violently due to a broken bearing, the accelerometer registers a massive spike in g-force!
  4. Current Sensing: An SCT-013 Non-Invasive Current Sensor is clamped around the main 220V power cable of the machine. The Arduino calculates exactly how many Amps the machine is drawing.

Modbus to Cloud Transmission

An ESP32 sits in a heavy IP67 waterproof enclosure.

  • The ESP gathers the heat, vibration, and amp data.
  • It cannot use standard Wi-Fi (factories have terrible signal). It uses an RS485 transceiver to push the data across 1,000 feet of twisted-pair copper wire to a central Gateway Node.
  • The Gateway Node pushes the aggregated factory data to an enterprise cloud platform (like AWS IoT or Ubidots).

Essential Industrial Hardware

  • ESP32 Dev Module or Arduino Pro Mini (For battery nodes).
  • MAX6675 Thermocouple Module.
  • SCT-013 100A Current Clamp.
  • RS485/Modbus TTL Converters.
  • Heavy IP67 NEMA Enclosures to protect against oil and dust.

ข้อมูล Frontmatter ดั้งเดิม

title: "Monitoring Industries Using IoT"
description: "Monitoring Industries using the power of Internet and automation."
author: "vimarsh"
category: "Sensors & Environment"
tags:
  - "blynk"
  - "internet of things"
  - "monitoring"
  - "industry"
views: 34957
likes: 35
price: 2450
difficulty: "Intermediate"
components:
  - "1x Soldering iron (generic)"
  - "1x Jumper wires (generic)"
  - "1x DHT11 Temperature & Humidity Sensor (4 pins)"
  - "1x PIR Motion Sensor (generic)"
  - "1x Arduino Mega 2560"
  - "1x Grove - Barometer Sensor (BMP280)"
  - "1x Breadboard (generic)"
  - "1x Grove - Gas Sensor(MQ2)"
  - "1x ESP8266 ESP-01"
tools: []
apps:
  - "1x Blynk"
downloadableFiles:
  - "https://create.arduino.cc/editor/vimarsh/081a1bd5-5882-444a-a2fc-0b6c570e8e07/preview"
  - "https://create.arduino.cc/editor/vimarsh/081a1bd5-5882-444a-a2fc-0b6c570e8e07/preview"
  - "https://create.arduino.cc/editor/vimarsh/d1a5fbe0-70e3-4969-9e69-e9b54dcdc57e/preview"
documentationLinks: []
passwordHash: "2b7c3ab9f57defd33336d2de4c7af4a17491ddba4bbee6ed302061f0ba1b90bc"
encryptedPayload: "U2FsdGVkX19YZ6CWqjeSWIeCwfJjDMKLSu0ddquC7w4aO4j6cs5VAqzqw8v68veWt3QjBi9G9Vzq8K8AA9ermg=="
seoDescription: "Industrial Monitoring system leveraging IoT and automation for real-time data and enhanced efficiency."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/monitoring-industries-using-iot-4b9a23_cover.jpg"
lang: "en"