Arduino Gas Leakage and Flame Detection With Alert System and Real Time Monitoring
by ROBO HUB in Circuits > Arduino
1802 Views, 10 Favorites, 0 Comments
Arduino Gas Leakage and Flame Detection With Alert System and Real Time Monitoring
Hello friends in this instructabes i will show you how i made this Arduino Gas leakage and Flame Detection with Alert System and Real Time Monitoring.
By the name itself you might have already know what is this project all about.
Well let me also quickly tell you what this project is actually about and what made me to build this project.
Most of us have already seen the gas detection system that is found in the ceiling of the office! Well that works in the similar way when it gets exposed to flame the fuse inside it breaks and it sprays water.
This project was inspired from that but here instead of spraying water i will use LED to show you the workings and not to mention you can also connect to other components like for example the water pump also when the sensor detects the flame or gas.
To make the device more sensitive considering the safety i have added 2 separate here in this project.
For the detection of flame i have added the flame sensor and for the detection of gas i have added the MQ2 gas sensor modules.
Both of these sensor really does a great job when it comes to preactical use cases.
To make the device interactive i have added LCD module that shows the values in real time, and the best part is there is 2 seperate rows to mention if the sensor detects the flame or gas.
Now in short let me tell you how this project works, as soon you connect this to power supply the project is ready for using.
The flame sensor is sensitive to fire and if it detects it immediately triggers the buzzer accompanying the led and also the same is shown in the LCD module, and the same is for gas sensor also.
I strongly recommend you to build this project as you can learn a lot about sensor and circuits.
Supplies
These are the components that you need to build this project
Arduino Uno from amazon
LCD module with I2c
LED - Red Color
Jumper Cables
Cardboard
Hot glue and superglue
18650 Batteries x2
Battery Holder
DC Pin
Programming Cable and Arduino IDE
Note that these are affiliate links and upon qualifying sales i may receive a small percentage of sales at no extra cost to you
Circuit and Codes
The circuit is simple and dont panic by seeing the cable connections! I will make the circuit simple by breaking down the steps one by one component wise.
To begin with there are 5 components and i will go with connections of every one
Flame sensor
This has 3 pins and the signal pin is connected to D2
Whereas the power and ground is connected to 3v and GND pins respectively
Gas sensor
Here also the Ground and Power pins are connected to GND and 5v Pins of the Uno board
The signal pin that is A0 on the gas sensor is connected to A0 on the Uno board
Buzzer and LED
Sinec we have limittaion of the GND pins of the Uno board i have connected the ground of both componnets into one
Whereas the positive pins from LED is connected to D13 and the Buzzer is connected to D8
LCD module
Scl and Sda is connected to A5 and A4 pins whereas the Positive and Gnd is connected to 5v and the ground pins respectively.
This completes the connection, Now open your IDE and use the below file for program, You may need to install drivers if it shows errors.
Select proper port and board type and click on upload button and now we can move ahead with next steps.
You can take your hobby projects to next level by upgrading the parts with CNC parts from JLCCNC.
Can you believe they are offering CNC Machining at just $1? Claim the $70 welcome coupons from JLCCNC Here
They use advanced technology to produce CNC parts that can suit your various needs, So for your next project keep JLCCNC in your mind.
Downloads
Setting Up Components
I will use a rectangular piece of cardboard to place all the components, Well the size of cardboard is left to you.
Since i wanted to make this project look compact i used a small piece of cardboard, If the size is bigger you may have to extend the length of cables.
Start by placing the arduino uno board first on the cardboard and secure with double side tape or glue(slighly small amount).
Later i will place the LCD and to secure the base i used small amount of hot glue.
I had some 3d printed parts that i upcycled from my previous project to hold the gas sensor and the flame sensor.
The led was carefully connected to popsicle stick holder that gives a great look.
Secure all these components well and make sure you have some space reserved for the battery also(i kept it on the back side of the LCD).
Finally after all this is complete, connect the dc pin to the uno and now we are ready with this project! Cant wait to test this and let see how this is done in the next step
How to Use
I will use battery supply to power this project, I used 2 lithium ion batteries connected to holder and then to a DC pin.
This is then connected directly to the uno board power supply, After you connect this to uno you should see the message on LCD screen and all the components will be active.
Allow few seconds for the gas sensor to work efficiently since it has a gas sensing filament cased inside mesh that will be ready to use after heating.
Now you can test the project, I used lighter for flame and when you bring it near to the flame sensor the red led glows along with buzzer and the LCD shows flame detected as Yes.
Now i only passed some gas from the same lighter to the gas sensor and like the previous one here also you can see the alert system getting active.
Also did you know not only one but you can expose both flame and gas sensor together and see the device working properly.
Untill the sensor stops sensing the gas or flame the buzzer will beep, You can take this project one step further by connecting water spray pump also instead of LED.
Working Video
If you did not watch the working video then you are missing lot of things from this project!
This is a detailed step by step build video of this project, I have shown the using of this project and definitely you will love it.
There are plenty of upgrades you can do to this project using various modules, i would like to see that from you guys.
Show me the build that you have made in the i made it section here on the instructables and i would really appreciate your work.
This was all about this project, If you have any questions let me know that in the comments, Thank you and have a happy build.