background image

 

Implementation: 

You have three methods you can use this module. The first method is to use this 
device as  a  standalone  module  where, when  gas  is  detected  in  the  MQ2  the 
buzzer will make a noise and D1 will light up to inform you that Methane, Butane 
or  LPG  has  been  detected.  You  may  use  the  potentiometer  R3  to  adjust  the 
sensitivity of the detector. 

Note: Do not expose the sensor to open flame!  

 

The second method to use this module is to connect the third pin to Arduino 
analog pin and use analog read sketch to read the values from this module. 

 

This example code can be found in the Arduino IDE under 
File>Examples>Basics>AnalogReadSerial. 

 

The third method to use this module is to connect the fourth pin to Arduino 
digital pin and use digital read sketch to read when the sensor is active high or 
active low.  

 

This example code can be found in the Arduino IDE under 
File>Examples>Basics>DigitalReadSerial. 

 

 

 

 

 

 

 

Содержание AK-325

Страница 1: ...Methane Butane and LPG Detector D I Y Kit for detecting methane CH4 butane C4H10 and LPG in household or workplace environment using the MQ2 Part Number AK 325 Level Intermediate...

Страница 2: ...PG Detector for Arduino Analog Digital Methane Butane and LPG Detector for Raspberry Pi Digital This is a D I Y kit that requires soldering through hole components on the main single sided printed cir...

Страница 3: ...220k Red Red Black Orange 1 Light Emitting Diode D1 D2 3mm Red LED 2 Ceramic Capacitor C1 C2 104 100nF 2 Transistors Q1 S9012 Epitaxial Silicon PNP 1 Q2 S9013 Epitaxial Silicon NPN 1 IC Chip U1 LM393...

Страница 4: ...ING ALCOHOL IT WILL DAMAGE THE COMPONENTS 2 Open the package and verify the components refer to section 4 Bill of Materials on page 3 3 Lay down all the components on your workbench and proceed to the...

Страница 5: ...rid of any pre existing residue glue or dirt This way the solder will create a better joint with the copper surface d Have your flush cutter needle nose plier or tweezers handy e Having a roll of pap...

Страница 6: ...s section on page 3 All soldering will be done on the backside of the board You may proceed to solder the ceramic capacitors and the LEDs in place by following the labelling on the board It is recomme...

Страница 7: ...pay attention to the labelling of the transistors as one is an SS9012 and the other is SS9013 They both have different functions and must go in the correct place for this circuit to work Insert the 4...

Страница 8: ...s to solder this component Option 1 As shown in the photo solder the secondary board on the backside of the board To install in the correct orientation use the MQ2 solder point as reference Option 2 A...

Страница 9: ...te Do not expose the sensor to open flame The second method to use this module is to connect the third pin to Arduino analog pin and use analog read sketch to read the values from this module This exa...

Отзывы: