Mini Project of Embedded System

Done using Proteus

Gas Leak Detection System

This project is a Gas Leak Detection System designed to detect the presence of gas leaks in the environment using an MQ-2 gas sensor. Upon detection of a gas leak, the system triggers an audible alarm, displays a warning message on an LCD screen, and activates an LED indicator to signal the detection. This system aims to enhance safety by providing an early warning to prevent potential accidents.

Components Used

  • LM044L (LCD Display): Monochrome LCD display module with a 4-line by 20-character display, used for displaying text readouts.
  • Buzzer: Audio signaling device that emits sound when activated, used for alerting and notifications.
  • Arduino Simulino Uno: Simulated version of the Arduino Uno microcontroller used for virtual prototyping and testing.
  • Relay: Electromechanical switch used to control a high-power circuit with a low-power signal.
  • LED: Light Emitting Diode used for visual indication.
  • Logic State: Refers to the binary condition of a digital signal (high or low voltage level).
  • MQ-2 Gas Sensor: Versatile sensor used for detecting a range of gases including methane, propane, hydrogen, alcohol, smoke, and carbon monoxide.

Simulation Details

Working of the System

  • Initialization: Upon powering on, the Arduino initializes all components. The LCD displays a welcome message indicating that the gas leak detection system is active.
  • Gas Detection: The MQ-2 gas sensor detects the presence of gas. When the logic state is high (gas detected), the sensor's analog output is read by the Arduino.
  • Alarm Activation:
    • Audible Alarm: The relay is activated, powering the buzzer which produces a loud sound.
    • Visual Indicator: The LED turns on.
    • LCD Message: The LCD displays a warning message indicating a gas leak.