Pins Connection
- Arduino Digital pin 0 is connected with the (+ve) pin of Buzzer
- Arduino Digital pin 1 is connected with the (+ve) pin of LED1(green)
- Arduino Digital pin 2 is connected with the (+ve) pin of LED2(red)
- Arduino Analog pin A0 is connected with A0 Pin of MQ2 Gas sensor
- Arduino 5v Power pin is connected with VCC pin of Gas sensor
- Arduino GND Power pin is connected with GND pin of Gas sensor
- Arduino GND Power pin is connected with (-ve) pins of LED’s with resistance
- Arduino GND Power pin is connected with GND pins of a Buzzer with resistance
How to make Smoke Detection Alarm using Arduino?
Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards can read digital & analog inputs from the sensors and The MQ2 smoke sensor is sensitive to smoke gases like LPG, Butane, Propane, Methane, Alcohol, Hydrogen.
In this article, We will learn how can we make a Smoke Detector Alarm using Arduino. When the MQ2 Gas Sensor will detect the smoke level high, the red led will glow and the buzzer will start.