Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Security & Surveillance

Gas Leak Alarm with MQ6 LPG Sensor and GSM Alert Module

Gas Leak Alarm with MQ6 LPG Sensor and GSM Alert Module

March 11, 2026 /Posted byJayesh Jain / 0

Table of Contents

  • Why LPG Leak Detection Matters in India
  • MQ6 vs MQ2 for LPG
  • Components
  • Arduino Detection Code
  • Automation: Fan and Valve
  • LPG Safety Guidelines India
  • FAQ

Why LPG Leak Detection Matters in India

India uses over 300 million LPG (Liquified Petroleum Gas) cylinder connections for domestic cooking. LPG is heavier than air and settles to the floor in enclosed spaces. Concentrations above 2.15% in air are explosive when ignited. LPG leak accidents cause hundreds of deaths and thousands of injuries annually in India, typically from delayed detection of slow cylinder valve leaks or faulty regulator O-rings. A gas leak alarm with MQ6 sensor costs Rs 200-500 to build and provides lifesaving protection.

Recommended: MH-SR602 Mini Motion Sensor Detector Module For Arduino – MH-SR602 PIR Sensor – integrate with gas alarm for presence detection to automatically escalate alert when someone is in the kitchen during a gas leak event.

MQ6 vs MQ2 for LPG

Both sensors detect LPG, but they have different sensitivities:

  • MQ2 (Rs 40-80): Sensitive to LPG, propane, methane, smoke, alcohol, hydrogen. Suitable for general gas leak detection. Less selective.
  • MQ6 (Rs 60-100): Optimised for LPG and butane/propane gases specifically. Lower cross-sensitivity to cooking smoke, alcohol, and hydrogen. Better for dedicated LPG kitchen alarms in Indian homes where cooking also generates smoke.

For a dedicated LPG alarm in an Indian kitchen, MQ6 is the better choice as it produces fewer false alarms from cooking. For a combined smoke/gas alarm, MQ2 covers more scenarios.

Components

  • Arduino Uno or ESP8266 NodeMCU
  • MQ6 LPG gas sensor (Rs 60-100)
  • SIM800L GSM module (Rs 200-350) for SMS alert
  • 5V relay module x2 (for exhaust fan and solenoid gas valve)
  • Loud buzzer or siren module (Rs 15-80)
  • 12V solenoid gas safety valve (Rs 800-2,000 – optional but recommended)
  • 230V exhaust fan (existing kitchen exhaust)

Arduino Detection Code

#define MQ6_PIN A0
#define BUZZER 8
#define FAN_RELAY 9
#define VALVE_RELAY 10
int cleanAir=0, alarmThreshold=0;
void setup(){
  Serial.begin(9600);
  Serial.println("Preheating MQ6 sensor (20s)...");
  delay(20000);
  long sum=0;
  for(int i=0;i<100;i++){ sum+=analogRead(MQ6_PIN); delay(10); }
  cleanAir=sum/100;
  alarmThreshold=cleanAir*1.8; // 80% above clean air = LPG present
  Serial.print("Clean air baseline: "); Serial.println(cleanAir);
}
void loop(){
  int reading=analogRead(MQ6_PIN);
  if(reading>alarmThreshold){
    tone(BUZZER,2400);
    digitalWrite(FAN_RELAY,HIGH); // turn on exhaust fan
    digitalWrite(VALVE_RELAY,LOW); // close solenoid valve (NC valve)
    // sendSMS("+91XXXXXXXXXX","GAS LEAK DETECTED IN KITCHEN!");
  } else {
    noTone(BUZZER);
    if(reading<cleanAir*1.2){
      digitalWrite(FAN_RELAY,LOW);
      digitalWrite(VALVE_RELAY,HIGH);
    }
  }
  delay(200);
}

Automation: Fan and Valve

On gas detection, two safety actions should trigger automatically:

  1. Turn on exhaust fan: Connect the kitchen exhaust fan to a 230V relay (rated for 230V/10A). When gas is detected, activate the fan to ventilate the kitchen before concentration reaches explosive levels.
  2. Close solenoid gas valve: A 12V normally-closed solenoid valve installed on the gas supply line automatically cuts off gas flow when de-energised. This stops new gas from entering even if the alarm is not heard. Cost: Rs 800-2,000 for a 1/2-inch 12V NC solenoid valve from plumbing suppliers.

Only reset the solenoid valve (allow gas flow again) after confirming the leak is resolved and the MQ6 reading returns to baseline.

LPG Safety Guidelines India

  • Mount MQ6 sensor at 30cm above floor level (LPG is heavier than air)
  • Never mount near cooking flame or directly above the stove
  • Check for LPG leaks by smell, not by lighting a match
  • In India, check cylinder valve and regulator O-ring annually (BIS IS 9062 standard O-ring should be replaced annually)
  • Keep cylinder in ventilated area – never inside a closed cabinet
  • In case of leak detected: do not turn on/off any electrical switch (spark hazard), open all windows, evacuate, call LPG distributor

Frequently Asked Questions

What concentration of LPG is dangerous?

LPG (predominantly propane and butane) lower explosive limit (LEL) is 2.15% in air. At 10% of LEL (0.215% or 2,150 ppm), many sensors trigger a first-level alert. At 25% of LEL (0.54%), most professional detectors trigger an alarm. For home use, set your MQ6 alarm to trigger at about 40-50% of LEL for adequate warning time before dangerous concentration is reached.

My MQ6 alarm keeps triggering when I cook – how do I fix it?

MQ6 is much more selective for LPG than MQ2, but high-heat cooking (deep frying, tempering with ghee) still produces some aldehydes and ketones that cross-sensitise. Raise the detection threshold slightly (multiply baseline by 2.0 instead of 1.8) and add a 5-second sustained reading filter. Also ensure the sensor is not directly above the stove – mount it 30cm above floor, away from the cooking area but within 1m of the gas cylinder connection point.

Can I install this system in a piped gas (PNG) kitchen?

Yes – PNG (Piped Natural Gas) used in cities like Mumbai, Delhi, Pune, Hyderabad is primarily methane. MQ6 is less sensitive to methane than LPG but still detects it at elevated concentrations. For PNG, the MQ4 sensor (optimised for methane/natural gas) is a better choice. MQ2 works for both LPG and PNG. Install at ceiling level for PNG (methane is lighter than air and rises to ceiling).

Is a solenoid gas valve legal to install on an Indian LPG cylinder?

Yes – 12V solenoid valves installed at the point of use (after the regulator, on the gas supply tube to the stove) are legal and recommended for safety. They do not affect the BIS-certified cylinder pressure regulator. Choose a valve rated for LPG (not water or air) with appropriate pressure rating. Some Indian insurance policies actually offer discounts for LPG safety valve installation.

Shop Security & Surveillance at Zbotic

Tags: gas leak alarm India, kitchen gas alarm DIY, LPG gas detector GSM alert, LPG leak detector India, MQ6 LPG sensor Arduino
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
Access Control Turnstile: RFID...
blog access control turnstile rfid gate for office buildings 599871
blog smart surveillance camera object detection with opencv 599875
Smart Surveillance Camera: Obj...

Related posts

Svg%3E
Read more

Trail Camera: Wildlife and Property Monitoring India

April 1, 2026 0
Table of Contents Trail Cameras for Indian Wildlife PIR-Triggered Camera Design ESP32-CAM Configuration for Trail Use Night Vision with IR... Continue reading
Svg%3E
Read more

Solar Powered Security Camera: Off-Grid Surveillance

April 1, 2026 0
Table of Contents Off-Grid Surveillance Needs in India Solar Panel and Battery Sizing Power Management Circuit ESP32-CAM Low Power Optimisation... Continue reading
Svg%3E
Read more

Remote Viewing Setup: Access Cameras from Anywhere

April 1, 2026 0
Table of Contents Remote Viewing Options P2P Cloud vs Port Forwarding Dynamic DNS Setup VPN for Secure Access Mobile App... Continue reading
Svg%3E
Read more

Motion Detection Zones: Reduce False Alarms

April 1, 2026 0
Table of Contents The False Alarm Problem How Motion Detection Works in Cameras Setting Detection Zones Sensitivity Adjustment Object Size... Continue reading
Svg%3E
Read more

Security Camera Placement: Best Positions for Coverage

April 1, 2026 0
Table of Contents Camera Placement Principles Height and Angle Guidelines Coverage Overlap Strategy Indian Home Layouts Commercial Property Placement Avoiding... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now