Gas Leakage and Human Detection for Chemical Industries

by Ajith_V_Anil in Circuits > Arduino

1740 Views, 8 Favorites, 0 Comments

Gas Leakage and Human Detection for Chemical Industries

Capture.JPG

This project is for ensure safety of workers in chemical industries . This project is based on PIR and MQ2 gas sensor. its give us an alert on gas spreading and human presence in that gas leaked building . So lets get started ....

Supplies

ARDUINO UNO

MQ2 GAS SENSOR

PIR SENSOR

LEDS 6

BUZZER

BREADBOARD OPTIONAL)

CONNECTIONS

Capture.JPG

1) MQ2 GAS SENSOR SIGNAL PIN ==== ARDUINO ANALOG PIN A5

2) PIR SENSOR SIGNAL PIN ==== ARDUINO DIGITAL D7

3) BUZZER +VE ==== ARDUINO DIGITAL D8

4) LED4 ==== ARDUINO DIGITAL D9

5) LED3 ==== ARDUINO DIGITAL D10

6) LED2 ==== ARDUINO DIGITAL D11

7) LED1 ==== ARDUINO DIGITAL D12

8) ALL PINS VCC AND GROUND TO +5V AND GROUND

The Power Supply

the power to PIR LEDS BUZZER AND GAS SENSOR is taken from arduino. For making it easier we use a breadboard. The +5v and ground of arduino is connected to the + & - rail of breadboard. Then the Vcc(5V) for PIR and gas sensor is taken from +ve rail of breadboard. The cathode of all led ,-ve of buzzer and ground(GND) of all PIR and gas sensor is connected to -ve rail of breadboard.

The PIR

The PIR is a 4 terminal module consist of 5v, GND,digital output(Do) and analog output(Ao).We only connect (Do)

Or (Ao) in this project. I use (Do) for taking output. So (Do) is connected to digitalpin 7 (D7) of arduino.

The MQ2 GAS SENSOR

CODE

THIS IS THE ARDUINO CODE :

THE TINKERCAD FILE

SIMULATED WORKING VIDEO

Gas Leakage and Human Detection Circuit for Chemical Industries

MY YOUTUBE CHANNEL

Gas Leakage and Human Detection Circuit for Chemical Industries