Looking For Anything Specific?

Header Ads

Home Security LPG Gas Detection System using MQ-2 Gas Sensor module and 4 Digit 7 Segment Display

INTRODUCTION

This project is all about detecting gas content in the atmosphere and displaying it in 4 digits 7 segment display. In this, the MQ2 gas detector Detects the gas content in the atmosphere i.e. the amount of LPG or propane and some other gases in the atmosphere. After that the data (amount of gas content) is sent to the 4 digit 7 segment display which shows the amount of gas content. There is a buzzer also which turns on as the amount of gas is high in the atmosphere.


HARDWARE REQUIRED

  • Arduino UNO with USB cable - 1
  • Male to male jumper wires – 40 pieces
  • 9v Battery - 1
  • Snapper with DC Jack – 1
  • MQ2 gas sensor module -1
  • Breadboard 830 pt -1
  • 4 Digit 7 Segment - 1

SOFTWARE REQUIRED

Arduino IDE 1.8.5   (programmable platform for Arduino)



SPECIFICATIONS

4 Digit 7 Segment Display                            

A 7 segment LED display consists of 7 LEDs arranged in such a way that it can display numbers from 0 to 9. The arrangement of LEDs in the display can be either common anode or common cathode. In this project, a 4 – digit 7 – segment LED display is used to display numbers using Arduino. Either a compact module containing four 7- segment LED displays can be used or four individual 7 – segment displays can be used by multiplexing them.

MQ-2 Gas Sensor                         

The Gas Sensor(MQ2) module is useful for gas leakage detection (home and industry). It is suitable for detecting H2, LPG, CH4, CO, Alcohol, Smoke or Propane. Due to its high sensitivity and fast response time, the measurement can be taken as soon as possible. The sensitivity of the sensor can be adjusted by the potentiometer.


CIRCUIT CONNECTION

  • Connect GND pin of Arduino UNO to breadboard for further GND connection.
  • Connect GND pin of Buzzer and MQ Sensor to the GND Pin pf Arduino Uno.
  • Connect Pin 5V of Arduino Uno with 5V VCC pin of MQ2 gas sensor.
  • Connect A0 pin of MQ2 gas Sensor Module with A5 of Arduino UNO.
  • Connect VCC of a buzzer with Digital pin 13 of Arduino Uno.
  • Connect D1, D2, and D4 & D5 pin of 4 digit 7 segment display to the Digital 6,5,4,3 pin of Arduino Uno respectively.
  • Connect Digital Pin 6 of 4 digit 7 segment display to Digital pin 2 of the Arduino Uno via 220-ohm resistor.
  • Connect Pin 7, 10, 11 of 4 digit 7 segment display to the 7, 10, and 11 of Arduino Uno respectively.
  • Connect Pin 8, 9 and 12 of 4 digit 7 segment display to 220-ohm resistance each individually and further connect the resistance to the Digital pin 8, 9, and 12 of Arduino UNO.

CODE


https://drive.google.com/open?id=1KGn7Qh94UbrfT2EQBwhc3WPUYuiPZnzU



WORKING AND OUTPUT

This project is all about detecting gas content in atmosphere and displaying it in 4 digit 7 segment display. In this the MQ2 gas detector Detects the gas content in the atmosphere i.e. the amount of LPG or propane and some other gases in the atmosphere. After that the data (amount of gas content) is sent to the 4 digit 7 segment display which shows the amount of gas content. There is a buzzer also which turns on as the amount of gas is high in atmosphere.

Post a Comment

0 Comments