Projects using this component

Gas Sensor Operation
Project that measures the gas density in the environment with MQ series gas sensor and alarms with LED and buzzer when it exceeds the threshold value. Teaches analog gas measurement and threshold comp

Flame and Gas Sensor Alarm
Advanced security project that uses flame sensor and gas sensor together and alarms with flashing LED and buzzer when fire or gas leakage is detected.

ESP32 MQ-2 Gas/Smoke Detector Alarm
In this project, combustible gas (LPG, methane, propane) and smoke detection is performed using an MQ-2 gas sensor module, and a siren-like alarm is played through a passive buzzer upon detection. The sensor's analog output (A0) is connected to an ADC pin on the ESP32 to read gas concentration; the alarm is triggered when the threshold is exceeded. Sensitivity is adjusted via the module's potentiometer. The passive buzzer is driven using `tone()` to produce a two-frequency siren effect.

