Project tutorial
Hazardous Gas leak detection

Hazardous Gas leak detection © GPL3+

Hazardous Gas leak detection system employ an audible alarm to alert people and lock all the air tight gates.

  • 8,434 views
  • 18 comments
  • 21 respects

Components and supplies

Apps and online services

About this project

Safety plays a major role in today’s world and it is necessary that good safety systems are to be implemented in places of Chemical plant. The main objective of the work is designing Arduino based toxic gas detecting, alerting and protecting system. The hazardous gases like Hydrogen sulfide, Nitrogen dioxide and Carbon monoxide are sensed and displayed the status every second in the LCD display. The advantage of this automated detection, alerting system and protecting system over the manual method is that it offers quick response time and accurate detection of an emergency and in turn leading faster diffusion of the critical situation.

In this project when the gas sensor senses the emission of hazardous gases like Hydrogen sulfide, Nitrogen dioxide and Carbon monoxide, it will generate the alerting sound and alert everyone and also the electric motors will close the electric gates and control the emission of hazardous gases.

https://www.youtube.com/watch?v=rOakn7tmbJg

Code

Hazardous Gas leak detectionC/C++
When Hazardous Gas detect then a warning is displayed on LCD and automatic air tight doors are locked to control emissions of hazardous gases.
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 10, 11, 12, 13);

int Gas_Sensor_Value = 0;
int Gas_sensor = A0;
int Piezo = 3;
int electric_motor_1 = 4 ;
int electric_motor_2 = 5 ;
int electric_motor_3 = 6 ;
int electric_motor_4 = 7 ;


 

void setup() 
{
  lcd.begin(16, 2); // set up the LCD's number of columns and rows:
  pinMode(Gas_sensor, INPUT);
  pinMode(Piezo, OUTPUT);
  pinMode(electric_motor_1, OUTPUT);
  pinMode(electric_motor_2, OUTPUT);
  pinMode(electric_motor_3, OUTPUT);
  pinMode(electric_motor_4, OUTPUT);
}
void loop() 
{
   lcd.clear();
   Gas_Sensor_Value = analogRead(A0);

   if( Gas_Sensor_Value >= 700)
   {
    digitalWrite(Piezo, HIGH);
    digitalWrite(electric_motor_1, HIGH);
    digitalWrite(electric_motor_2, HIGH);
    digitalWrite(electric_motor_3, HIGH);
    digitalWrite(electric_motor_4, HIGH);
    lcd.print("Caution:Gas leak"); // Print a message to the LCD.
     
   delay(1000);
   }
  else
  {
   digitalWrite(Piezo, LOW);
   digitalWrite(electric_motor_1, LOW);
   digitalWrite(electric_motor_2, LOW);
   digitalWrite(electric_motor_3, LOW);
   digitalWrite(electric_motor_4, LOW);
   lcd.print("The environment"); // Print a message to the LCD.
   lcd.setCursor(0,1); 
   lcd.print("is Safe"); 
    delay(1000);
  }
  }

Schematics

Hazardous Gas leak detection
I am using Arduino, a gas sensor and four electric motors for air tight gates.
Arduino project udtmbvkwuw
Hazardous Gas leak detection
This is the video of the working project
arduinos_video_PSFrajunse.mp4

Comments

Similar projects you might like

Smoke Detection using MQ-2 Gas Sensor

by Aritro Mukherjee

  • 441,183 views
  • 89 comments
  • 261 respects

How to make gas leak alert security alarm using arduino

Project tutorial by Shashwat Raj

  • 6,257 views
  • 3 comments
  • 8 respects

Arduino And MQ2 Gas Sensor

Project showcase by Mahamudul Karim Khondaker

  • 24,673 views
  • 12 comments
  • 24 respects

Hazardous Gas Detector with LED Indication

Project showcase by Patel Darshil

  • 6,327 views
  • 2 comments
  • 14 respects

Make a Gas Leak Monitor

Project tutorial by Jasper

  • 5,599 views
  • 3 comments
  • 18 respects
Add projectSign up / Login