Skip to content

Gas Leakage detection system#104

Merged
Tejas-Santosh-Nalawade merged 3 commits into
acesdit:mainfrom
shirshanag:feat/gas-sensor
Oct 21, 2025
Merged

Gas Leakage detection system#104
Tejas-Santosh-Nalawade merged 3 commits into
acesdit:mainfrom
shirshanag:feat/gas-sensor

Conversation

@shirshanag

@shirshanag shirshanag commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

🔍 Overview

This PR adds the complete implementation of a Gas Detection System using an ESP32, MQ Sensor, I2C LCD, Buzzer, and LED.

The system detects the presence of harmful gases and provides real-time alerts through both visual and audible indicators.

✅ Changes Made

🧠 Implemented core gas detection logic using analog input (GPIO 32)

💡 Integrated I2C LCD (0x27) for displaying gas status messages

🔔 Added buzzer and LED alerts for dangerous gas levels

🔁 Mapped sensor values to percentage scale (0–100) for better readability

📟 Displayed "Normal Condition" or "Gas Detected!!" dynamically on LCD

🧾 Added clear documentation comments inside the code

🧰 Included serial monitoring for debugging and calibration

🧪 Testing Performed

✅ Tested on ESP32 board with MQ-2 sensor

✅ Verified LCD shows accurate gas status

✅ Buzzer activates when gas level ≥ 65%

✅ LED lights up simultaneously with buzzer alert

✅ No hardware or software conflicts detected

Contributor: @shirshanag

Added detailed readme for Gas Leakage Detection System project, including features, components, circuit connections, code explanation, sample output, future enhancements, dependencies, and instructions on how to run the project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants