electrochemical O3 ozone sensor module
-
Description
RKO3Y electrochemical ozone module is a general-purpose, miniaturized module. The use of electrochemical principles to detect O3 in the air has good selectivity and stability. Built-in temperature sensor for temperature compensation; also has digital output and analog voltage output mode, easy to use. RKO3Y is a universal gas module designed and manufactured by combining mature electrochemical detection technology with sophisticated circuit design.
Module features
High sensitivity, high resolution, low power consumption, long service life Provide UART data output method
High stability, excellent anti-interference ability, temperature compensation, excellent linear outputMain application
Portable meters, disinfection cabinets, air quality monitoring equipment, air purifiers, fresh air ventilation systems, smart home equipment and other places.O3 sensor module technical parameter
Product Number
RK03Y
Detect gas
ozone
Interference gas
Chlorine, hydrogen peroxide etc...
Output method
UART output (3.3V voltage level)
Operating Voltage
3.7v~5.5v
Preheat time
No heating
Response time
≤60s
Recovery time
≤30s
Range
0~5ppm/10ppm/50ppm/100ppm
Accuracy
0.01ppm
Operating temperature
-20~50℃
Working humidity
15%RH-90%RH (no condensation)
Storage temperature
0~40℃
life
≥5 years
Module size
17.8*17.7*9mm
Pin spacing
2.0mm
Module SizePin definition
Table 2
Pin Name
Pin description
Pin1
Vin(Voltage input 3.7V~5.5V)
Pin2
UART(TXD)0~3V Data output
Pin3
UART(RXD)0~3V Data input
Pin4
GND
Pin5 to pin11
Hang
Protocol
1. General settings
Table 3
Baud rate
9600
Data bit
8 bits
Stop bit
1bit
Check Digit
N0
2. Communication command
Communication is divided into an active upload type and question and answer type. The factory defaults to upload actively, and the concentration value is sent every 1S.
If the user switches to Q&A mode and needs to change to active upload again, send the following command line format: Electrochemical Ozone Module Agreement.
Table 4
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Start
Keep
Switch
command
Active upload
Keep
Keep
Keep
Keep
Check value
0xFF
0x01
0x78
0x40
0x00
0x00
0x00
0x00
0x47
The display format of actively uploaded data is as follows:
Table 5
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Start
Gas name (O3)
Unit (ppb)
Decimal places None
High gas concentration
Low gas concentration
Full scale high
Full scale low
Check value
0xFF
0x17
0x04
0x00
0x00
0x25
0x13
0x88
0x25
Notes: Gas Concentration Value (PPB)=(Gas Concentration High*256+Gas Concentration Low). When converted to PPM: PPM= PPB/1000.
1PPM ozone is equivalent to 1.34mg/m3. 1mg/m3 ozone is equivalent to 0.746PPM.
When the user needs the question and answer mode, he can close the actively uploaded data by sending the following command format and then send the command to read the concentration. The command line format for closing active upload is as follows:
Table 6
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Start
Keep
Switch
command
Q&A
Keep
Keep
Keep
Keep
Check value
0xFF
0x01
0x78
0x41
0x00
0x00
0x00
0x00
0x46
In Q&A mode, the command format for readin
gIn Q&A mode, the command format for reading concentration is as follows:
Table 7
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Start
Keep
Command
Keep
Keep
Keep
Keep
Keep
Check value
0xFF
0x01
0x86
0x00
0x00
0x00
0x00
0x00
0x79
The returned display format of sensor concentration value is as follows:
Table 8
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Start
Command
High gas concentration (ug/m3)
Low gas concentration (ug/m3)
Keep
Keep
High gas concentration (ppb)
Low gas concentration (ppb)
Check value
0xFF
0x86
0x00
0x2A
0x00
0x00
0x00
0x20
0x30
Gas concentration value = high gas concentration * 256 + low gas concentration
3. Checksum calculation
Checksum = (Inverted (Byte1+Byte2+……+Byte7)) + 1
The reference routine is as follows:
- /************************************************* *********************
- *Function name: unsigned char FucCheckSum(uchar *i,ucharln)
- *Function description: Sum check (take the sum of 1\2\3\4\5\6\7 of the sending and receiving protocol to be reversed + 1)
- Function description: Add element 1 of the array to the penultimate element and take the inverse +1 (the number of elements must be greater than 2)
**********************************************************************/
unsigned char FucCheckSum(unsigned char *i,unsigned char ln)
{
unsigned char j,tempq=0;
i+=1;
for(j=0;j<(ln-2);j++)
{
tempq+=*i;
i++;
}
tempq=(~tempq)+1;
return(tempq);
}
Gas concentration value = high gas concentration * 256 + low gas concentration