Introduction: Gas Leakage Detector Using Arduino

This is a gas leakage detector. If it detects gas above a threshold the buzzer will make sound. To turn of the alarm find the leakage first and solve it and press the button for 3 second.

Components Required:

Arduino Nano

MQ-6 Gas Detector Sensor

Buzzer

Button

Jumper Wires

USB Cable for Arduino Nano

Step 1: Schematic and Code

The buzzer is connected in pin 13.

The button is on pin 12 and it is pulled down.

MQ-5 gas sensor is in A0.

Find the code from below link:

get the code