Close
0%
0%

LPG Gas Leakage Detector using Arduino

Here we have designed Arduino based LPG gas detector alarm that will detect the leakage and creates an alert.

Similar projects worth following
135 views
0 followers
We have designed an Arduino based LPG gas detector which gives an alert notification when it will detect the leakage

About Project

LPG Gas Sensor Module

This module consists of an MQ3 sensor that actually recognizes LPG gas, a comparator (LM393) for comparing MQ3 output voltage with a reference voltage. When LPG gas is detected it will give high output.

A potentiometer is basically used for controlling the sensitivity of gas detecting.

Working of the Project

LPG gas sensor module is used to detect LPG Gas. When LPG gas leakage sensed, it will give a HIGH pulse on its DO pin and Arduino constantly reads its DO pin.

When Arduino receives a HIGH pulse from the LPG Gas sensor module it displays the“LPG Gas Leakage Alert” message on 16x2 LCD and stimulates buzzer which beeps again until the gas detector module doesn't recognize the gas in environment. When Arduino gets a LOW pulse from the LPG Gas detector module, then LCD will show the“No LPG Gas Leakage” alert message. 

Arduino manages the complete process of this system like reading LPG Gas sensor module output, sending a message to LCD and stimulating buzzer. We can set the sensitivity of this sensor module by inbuilt potentiometer located on it.

IoT Training is the way to learn more about IoT Devices.

  • 1 × Arduino UNO
  • 1 × LPG gas sensor module
  • 1 × Buzzer
  • 1 × BC 547 Transistor
  • 1 × LCD - 16x2

View all 7 components

  • 1
    Step 1

    #include
    LiquidCrystal lcd(3, 2, 4, 5, 6, 7);

    #define lpg_sensor 18
    #define buzzer 13

    void setup()
    {
    pinMode(lpg_sensor, INPUT);
    pinMode(buzzer, OUTPUT);
    lcd.begin(16, 2);
    lcd.print("LPG Gas Detector");
    lcd.setCursor(0,1);
    lcd.print("Circuit Digest");
    delay(2000);
    }

    void loop()
    {
    if(digitalRead(lpg_sensor))
    {
    digitalWrite(buzzer, HIGH);
    lcd.clear();
    lcd.print("LPG Gas Leakage");
    lcd.setCursor(0, 1);
    lcd.print(" Alert ");
    delay(400);
    digitalWrite(buzzer, LOW);
    delay(500);
    }

    else
    {
    digitalWrite(buzzer, LOW);
    lcd.clear();
    lcd.print(" No LPG Gas ");
    lcd.setCursor(0,1);
    lcd.print(" Leakage ");
    delay(1000);
    }
    }

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates