Description
MQ-2 MQ-3 MQ-4 MQ-5 MQ-6 MQ-7 MQ-8 MQ-9 MQ-135 Detection Smoke methane liquefied Gas Sensor Module for Arduino Starter DIY Kit


- [Statement] This procedure is used only for study and reference, please indicate the copyright and author information!
- ************************************************** ******************* /
- / ************************************************* *******************
- Note: 1, when the measured concentration is greater than the set density, single-chip IO port output low
- ************************************************** ******************* /
- # Include // library files
- #define uchar unsigned char // macro definition unsigned char
- #define uint unsigned int // macro definition unsigned int
- / ************************************************* *******************
- I / O definitions
- ************************************************** ******************* /
- sbit LED = P1 ^ 0; // define microcontroller P1 port of the first one (ie P1.0) to indicate the end
- sbit DOUT = P2 ^ 0; // define the microcontroller P2 port first one (ie P2.0) as an input sensor
- / ************************************************* *******************
- Delay function
- ************************************************** ******************* /
- void delay () // delay procedure
- {
- uchar m, n, s;
- for (m = 20; m> 0; m–)
- for (n = 20; n> 0; n–)
- for (s = 248; s> 0; s–);
- }
- / ************************************************* *******************
- The main function
- ************************************************** ******************* /
- void main ()
- {
- while (1) // infinite loop
- {
- LED = 1; // off P1.0 port lights
- if (DOUT == 0) // When the concentration is higher than the set value, the implementation of the Con
- {
- delay (); // delay interference
- When if (DOUT == 0) // determine the concentration higher than the set value, the implementation of the Con
- {
- LED = 0; // P1.0 port lights lit
- }
- }
- }
- }
- / ************************************************* *******************
- End
- ************************************************** ****************** /
DO output : TTL digital 0 and 1 ( 0.1 and 5V)
AO output :0.1-0 .3 V ( relative to pollution ) , the maximum concentration of a voltage of about 4V
Special note: After the sensor is powered,needs to warm up around 20S,measured data was stable,heat sensor is a normal phenomenon,because the internal heating wire,if hot is not normal .




Gas may be used in homes and factories leakage monitoring device suitable for the detection of gas, butane,propane, methane, smoke,etc.
MQ-3 Product Overview:




MQ-4 Product Overview:




Product Overview:
Size: 32X22X27mm/
Main Chip: LM393, ZYMQ-5 gas sensor
Operating Voltage: DC 5V
Input Voltage: DC5V
Power: 150mA
DO Output: 0.1V/5V
AO Output: 0.1-0.3A
Features:
Indication of the signal output
Dual signal output (analog output, and TTL level output)
TTL output signal is low. (When low output signal light, and can be connected directly to the microcontroller)
0 ~ 5V analog output voltage, the higher the concentration, the higher the voltage
Liquefied petroleum gas, natural gas, city gas, better sensitivity
Has a long life and reliable stability
Fast response and recovery characteristics
Applications :
Liquefied petroleum gas, natural gas, coal gas monitoring device suitable for home or industrial. Excellent resistance to alcohol, smoke interference ability
MQ-6
Product Overview:




MQ-7 Product Overview:




Product Overview:




Product Overview:
-
NOTE:
After the sensor is powered, need to warm about 20S, measured data becomes stable, heat sensor is normal
-
Reviews
There are no reviews yet.