Description
MQ-9 CO Carbon Monoxide Analog Flammable Gas Sensor Detector Module Board
Module Application:
Suitable for gas leakage monitoring devices in homes or factories, suitable for monitoring devices such as carbon monoxide and combustible gases. It can test carbon monoxide 10 to 1000ppm CO and combustible gas 100 to 10000ppm.
Module Features:
1. It adopts high quality double panel design with power indication and TTL signal output indication;
2. It has DO switch signal (TTL) output and AO analog signal output;
3. The TTL output valid signal is low. (When the output is low, the signal light is on, it can be directly connected to the MCU or relay module)
4. The voltage of the analog output is higher with the higher the voltage.
5. Good sensitivity to carbon monoxide detection.
6, there are four screw holes for easy positioning;
7, product dimensions: 32 (L) * 20 (W) * 22 (H)
8, has a long service life and reliable stability
9, fast response recovery characteristics
Electrical Performance:
Input voltage: DC5V Power consumption (current): 150mA
DO output: TTL digital quantities 0 and 1 (0.1 and 5V)
AO output: 0.1-0.3V (relatively non-polluting), the highest concentration voltage is about 4V
Special reminder: After the sensor is energized, it needs to be preheated for about 20S, and the measured data is stable. The heating of the sensor is a normal phenomenon, because there is a heating wire inside, if it is hot, it is not normal.
Test Program:
Implementation function: this version of the supporting test program
Using the chip: AT89S52
Crystal: 11.0592MHZ
Baud rate: 9600
Compilation environment: Keil
[Declaration] This program is only for learning and reference. Please quote the copyright and author information!
Description: 1. When the measured concentration is greater than the set concentration, the MCU IO port outputs a low level.
#define uchar unsigned char//macro definition unsigned char type
#define uint unsigned int // macro defines unsigned integer
I/O definition
Sbit LED=P1^0;//Define the first bit of the P1 port of the microcontroller (ie P1.0) as the indication end
Sbit DOUT=P2^0;//Define the first bit of the P2 port of the microcontroller (ie P2.0) as the input of the sensor
Delay function
Void delay()//delay program
Uchar m,n,s;
For(m=20;m>0;m–)
For(n=20;n>0;n–)
For(s=248;s>0;s–);
Void main()
While(1) //infinite loop
LED=1; / / extinguish P1.0 port light
If(DOUT==0)// When the concentration is higher than the set value, the condition function is executed.
Delay();//delay anti-interference
If(DOUT==0)//determine when the concentration is higher than the set value, execute the condition function
Package:
1pc MQ-9 Gas Detecter