A Gas Alarm Circuit using MQ Sensor and Buzzer gives quick warning when gas level becomes dangerous.
MQ Sensor senses gas leak fast and buzzer makes loud sound when gas is found.
Circuit runs on 5V and uses very few parts.
It is good for low-cost safety at home, kitchen and workplace.
Circuit Working:

Parts List:
| Part Name | Value | Quantity |
|---|---|---|
| Resistors | 1k 1/4 watt | 1 |
| Preset 10k | 1 | |
| Capacitor | Electrolytic 22uF 25V | 1 |
| Semiconductors | IC LM3915 | 1 |
| Gas Sensor Module MQ-2 Module | 1 | |
| LEDs any | 10 | |
| Buzzer 5V | 1 | |
| On/Off Switch SPST Switch | 1 |
In the above circuit diagram the MQ Gas Sensor gives an analog voltage.
Voltage increases when gas level increases.
This voltage goes to Pin 5 of LM3915.
LM3915 works like a voltage meter and lights LEDs from low to high.
More gas means more LEDs turn ON.
The 10k preset sets sensitivity.
The 1k resistor sets reference level.
The Dot/Bar Pin selects Dot Mode or Bar Mode.

In the above circuit diagram the sensor output drives the buzzer.
When sensor output goes high because of gas the buzzer gets power and makes sound.
The 22uF capacitor smooths the signal so buzzer sound becomes steady.
Formulas with Calculation:
Below is the formula with calculation for Gas Alarm Circuit using MQ Sensor and Buzzer:
LM3915 reference current Ir = 12.5V / R1
If R1 = 1k then Ir = 12.5V / 1000 = 0.0125A
LED current is almost same as Ir, so each LED gets around 12mA.
Sensor output Vo increases with gas.
LM3915 lights each level at 125mV step.
Step voltage = Vref / 10
If Vref = 1.25V then step = 1.25 / 10 = 0.125V
How to Build:
To build a Gas Alarm Circuit using MQ Sensor and Buzzer follow the below steps:
- Collect all parts same as circuit diagram.
- Connect MQ Sensor Module VCC pin to +5V.
- Connect GND pin to Ground.
- Connect Aout pin to LM3915 Pin 5.
- LM3915 pins 1,10,11,12,13,14,15,16,17,18 go to LED cathode.
- LED anode side go to +5V.
- Pin 2 of IC LM3915 go to GND.
- Pin 3 go to +5V.
- Pin 4 goes to GND.
- Pin 5 go to Aout pin of MQ Sensor.
- Pin 6 and Pin 7 join through with 1k resistor.
- Pin 8 go to Ground.
- Pin 9 go to switch one end and other switch end goes to +5V for Dot or Bar Mode.
- 10k preset first pin go to GND, second pin go to pin 8 and third pin go to +5V.
- Buzzer positive pin goes to +5V.
- Buzzer negative go to DOUT pin of MQ Sensor.
- 22uF capacitor positive side goes to +5V.
- And negative side go to GND.
Conclusion:
This system gives simple and low-cost gas indicator with no microcontroller.
IC LM3915 shows gas level on LEDs and buzzer gives quick alarm when gas comes.
Circuits are easy to make using 5V supply and common parts.
Leave a Reply