LPG Gas Detection Using MQ2 Sensor — Arduino Safety Prototype
An early Arduino safety prototype using an MQ2 gas sensor to read LPG/gas levels and trigger buzzer-style alert behavior.
Early project demo
Watch the demo directly on this page.
Open on YouTubeOverview
LPG Gas Detection Using MQ2 Sensor was an early Arduino safety experiment from 2021 focused on detecting gas sensor readings and using a buzzer as an alert output. In the video demo, Parth explains the board/code setup and shows how the project was built around the MQ2 sensor. The GitHub code reads analog sensor values from the MQ2 sensor, prints readings to the serial monitor, and connects the logic to buzzer output behavior. This was not just a theory exercise. It was part of Parth's early pattern of taking real-world ideas — safety, sensing, alerts, automation — and implementing them through Arduino/C code and physical electronics. This project is useful because it shows Parth experimenting with a practical safety use case, not only decorative electronics. It adds another sensor domain to his early work: gas detection, analog readings, threshold logic, and alert systems.
Problem solved
The project explored how an LPG/gas sensor could be used to detect increased gas readings and trigger an alert. It introduced the idea of sensor-based safety monitoring using a simple Arduino setup.
What it does
The Arduino sketch reads analog input from an MQ2 gas sensor, prints the sensor value through serial output, compares readings against a threshold value, and uses a buzzer output as the alert mechanism.
Contribution
Parth worked with the Arduino board, MQ2 sensor, buzzer output, and C/Arduino code to create a gas-detection prototype. The project shows early hands-on learning with analog sensor readings, thresholds, and safety-style alert logic.