CIRCUIT DIAGRAM
CODE
The Gas Alert System is a safety project designed using Arduino UNO in Tinkercad. It detects the presence of harmful gases (such as LPG, methane, or smoke) using a gas sensor and triggers an alert mechanism like a buzzer and an LED.This system simulates a basic gas leakage detection and warning mechanism useful in households, laboratories, and industries.
Components Used:
Arduino UNO
MQ-2 Gas Sensor (for detecting gases like LPG, smoke, methane, etc.)
Buzzer (for audible alert)
Red LED (for visual alert)
Resistors (220Ω for LED)
Breadboard
The MQ-2 gas sensor detects the concentration of gas in the air.
If the gas concentration crosses a certain threshold, the sensor outputs a high signal.The Arduino reads this signal from the sensor.
When a gas leak is detected:
The buzzer is activated to give an audible alarm.
The LED turns ON to give a visual warning.
If no gas is detected, the system remains idle, and the buzzer and LED stay OFF.
CLICK BELOW LINK TO TRY THIS PROJECT IN TINKER CAD