Introduction: Arduino MQ-2 Smoke and Gas Sensitive Security Alarm

මෙහි දැක්වෙන්නේ Gas හා දුමට සංවේදී Security Alarm එකකි.

මෙය Arduino හා MQ-2 Smoke and Gas sensor යොදාගෙන නිර්මාණය කර ඇත.

Step 1: අවශ්‍ය කරන දෑ

1. 1x MQ-2 Smoke and Gas sensor

2. 1x Arduino board ( Arduino Uno, Mega, pro mini, nano)

3. 2x Red and Green led

4. 1x Bread board

5. Jumper cables

6. 1x 5v Buzzer

Softwares

Download Arduino IDE

http://www.arduino.cc

Step 2: සම්බන්ධ කරන්න අයුරු

Red Led VCC Pin---------Arduino Digital Pin 12 (D2)

Red led GND Pin------------Arduino GND pin

Green Led VCC Pin-----------Arduino Digital Pin 11 (D11)

Green led GND Pin------------Arduino GND pin

Buzzer VCC Pin------------Arduino Digital Pin 10 (D10)

Buzzer GND Pin------------Arduino GND pin

MQ-2 CONNECTION

VCC Pin-----------Arduino 5v Pin

GND Pin------------Arduino GND Pin

AO (Analog OUT pin)-----------Arduino analog Pin 5 (A5)

Step 3: Arduino Code

Download Arduino code

https://drive.google.com/file/d/1G780BNyi_jom0Yu8W...

Select Board and Serial Port on Arduino IDE,

Now Upload the Code.