,

MQ-4 Methane Gas Sensor Module

Availability:

In stock


 

MQ-4 methane sensor
Using MQ series of gas sensor probe, stable performance
Methane gas has a better recognition
Sensitivity adjustable, stable performance
Fast response, fast recovery
Working voltage 5V, digital (TTL level) analog dual output.
Port Description: DO for the digital output, AO for the analog output.
With a fixed bolt hole, easy to install
Only the schematic
Note the following information for reference
A brief description:Prefix = o ns = “urn: schemas-microsoft-com: office: office”
First, the size:32 mm X22 mm X27 mmlongXwidthXhigh
Second, the main chip:LM393, & Lt;ZYMQ-4 gas sensor
Third, the working voltage: DC5Volts
Fourth, features:
1, with a signal output instructions.
2, two-way signal output (analog output andTTLLevel output)
3,TTLOutput valid signal is low. (When the output low signal light, can be directly connected MCU)
4, analog output0 to 5VThe higher the voltage, the higher the voltage.
5,Methane, natural gas has a high sensitivity
6, with a long service life and reliable stability
7, rapid response to recovery characteristics
Fifth, application:
For home, industrial methane, natural gas detection devices
【Description】
【test program】
Implementation features:
1,When the measured concentration is greater than the set concentration, the microcontrollerIOPort output low
/ ************************************************* *******************
Implementation: This version of the matching test procedures
Using the chip: AT89S52
Crystal: 11.0592MHZ
Baud rate: 9600
Compilation Environment: Keil
【Declaration】 This program is only for learning and reference, please indicate copyright and author information! In this case,
************************************************** ******************* /
/ ************************************************* *******************
Note: 1, when the measured concentration is greater than the set concentration, the microcontroller IO output low
************************************************** ******************* /
#include
#define uchar unsigned char / / macro definition of unsigned char type
#define uint unsigned int // macro Defines an unsigned integer
/ ************************************************* *******************
I / O definition
************************************************** ******************* /
Sbit LED = P1 ^ 0; / / definition of the first port P1 port (ie P1.0) as the indicator
Sbit DOUT = P2 ^ 0; / / definition of the first port P2 P2 (ie P2.0) for the sensor input
/ ************************************************* *******************
Delay function
************************************************** ******************* /
Void delay () // Delay the program
{
Uchar m, n, s;
For (m = 20; m> 0; m–)
For (n = 20; n> 0; n–)
For (s = 248; s> 0; s–);
}}
/ ************************************************* *******************
Main function
************************************************** ******************* /
Void main ()
{
While (1) // infinite loop
{
LED = 1; / / off the P1.0 port lights
If (DOUT == 0) / / When the concentration is higher than the set value, the implementation of conditional function
{
Delay (); / / delay anti-jamming
If (DOUT == 0) / / determine the concentration is higher than the set value, the implementation of the condition function
{
LED = 0; / / light up P1.0 port lights
}}
}}
}}
}}
/ ************************************************* *******************
End

aeProduct.getSubject()

350.00

In stock

 

MQ-4 methane sensor
Using MQ series of gas sensor probe, stable performance
Methane gas has a better recognition
Sensitivity adjustable, stable performance
Fast response, fast recovery
Working voltage 5V, digital (TTL level) analog dual output.
Port Description: DO for the digital output, AO for the analog output.
With a fixed bolt hole, easy to install
Only the schematic
Note the following information for reference
A brief description:Prefix = o ns = “urn: schemas-microsoft-com: office: office”
First, the size:32 mm X22 mm X27 mmlongXwidthXhigh
Second, the main chip:LM393, & Lt;ZYMQ-4 gas sensor
Third, the working voltage: DC5Volts
Fourth, features:
1, with a signal output instructions.
2, two-way signal output (analog output andTTLLevel output)
3,TTLOutput valid signal is low. (When the output low signal light, can be directly connected MCU)
4, analog output0 to 5VThe higher the voltage, the higher the voltage.
5,Methane, natural gas has a high sensitivity
6, with a long service life and reliable stability
7, rapid response to recovery characteristics
Fifth, application:
For home, industrial methane, natural gas detection devices
【Description】
【test program】
Implementation features:
1,When the measured concentration is greater than the set concentration, the microcontrollerIOPort output low
/ ************************************************* *******************
Implementation: This version of the matching test procedures
Using the chip: AT89S52
Crystal: 11.0592MHZ
Baud rate: 9600
Compilation Environment: Keil
【Declaration】 This program is only for learning and reference, please indicate copyright and author information! In this case,
************************************************** ******************* /
/ ************************************************* *******************
Note: 1, when the measured concentration is greater than the set concentration, the microcontroller IO output low
************************************************** ******************* /
#include
#define uchar unsigned char / / macro definition of unsigned char type
#define uint unsigned int // macro Defines an unsigned integer
/ ************************************************* *******************
I / O definition
************************************************** ******************* /
Sbit LED = P1 ^ 0; / / definition of the first port P1 port (ie P1.0) as the indicator
Sbit DOUT = P2 ^ 0; / / definition of the first port P2 P2 (ie P2.0) for the sensor input
/ ************************************************* *******************
Delay function
************************************************** ******************* /
Void delay () // Delay the program
{
Uchar m, n, s;
For (m = 20; m> 0; m–)
For (n = 20; n> 0; n–)
For (s = 248; s> 0; s–);
}}
/ ************************************************* *******************
Main function
************************************************** ******************* /
Void main ()
{
While (1) // infinite loop
{
LED = 1; / / off the P1.0 port lights
If (DOUT == 0) / / When the concentration is higher than the set value, the implementation of conditional function
{
Delay (); / / delay anti-jamming
If (DOUT == 0) / / determine the concentration is higher than the set value, the implementation of the condition function
{
LED = 0; / / light up P1.0 port lights
}}
}}
}}
}}
/ ************************************************* *******************
End

aeProduct.getSubject()

Based on 0 reviews

0.0 overall
0
0
0
0
0

Be the first to review “MQ-4 Methane Gas Sensor Module”

There are no reviews yet.