Gas Detection System With Arduino
by hughalfy14 in Circuits > Arduino
365 Views, 1 Favorites, 0 Comments
Gas Detection System With Arduino
This is an example of a GAS DETECTION SYSTEM using Arduino
Supplies
For this project, you'll need the MQ2 Gas Sensor, An lcd with the 12C Module, 1x Arduino UNO, and some jumper wires
Connect the Sensor to the Board
Attach the sensor accordingly:
VCC to Vin
GND to Ground
A0 to A0
Connect the I2c Lcd Module to the Board
Connect the I2c module according to this:
GND to Ground / G
VCC to 5 VOLT / 5V
SDA to A4 / SDA
SCL to A5 / SCL
You can get the I2c library from here:
https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
Connecting the Buzzer
Connect the WHITE WIRE in the picture to D2 and the BLACK WIRE to GND / GROUND
The longer leg of the buzzer connects to DIGITAL PIN 2 and the shorter leg to GND / GROUND
Uploading the Code
Upload this code into your Arduino board.
Remember to install the I2c library from either GitHub or Arduino IDE itself
Downloads
Example of How It Should Work
This is an example of how it should be working.
This invention is to alert people when there is gas around. Put it near you stove or kitchen to quickly detect any gas leak and when you hear a buzzer you'll know what to do
Downloads
Thank You
Thank you for staying till the end of this tutorial. I hope this can help you with your daily life.
Have fun and Good luck
Until we meet again