OCS-3F 2.1data Sheet
OCS-3F 2.1data Sheet
cn
The OCS-3F 2.1ultrasonic oxygen sensor is a new type of gas sensor. It can be used to measure the
concentration and flow of the oxygenerator. It uses UART digital output, analog voltage output, LED lights and
other means to send the test results.
Specification
Connectors
The arrangement of connectors are showed as above. The function of each connector described below:
NO. Function
J1 Analog Output
J2 Digital Output (UART)/Power Input/Power Output
J3 LED Output
J5 Power Supply
Pins
J1 ---- Analog Output
Pin 1 0-2.5V(0-99.9% O2)
Pin 2 0-2.5V(0- 10L/min)
Pin 3 GND
J5 ---- Power
2
[email protected]
www.winpower.com.cn
Pin 1 +12V Power
Pin 2
Pin 3 GND
3
[email protected]
www.winpower.com.cn
Dimensions
Dimensions
4
[email protected]
www.winpower.com.cn
Hardware
Connect sensor pin Vin-RXD-TXD-GND with 12V-TXD-RXD-GND.(Customers must use 3.3v/5vTTL
level. RS232 level needs conversion)。
Software
BaudRate: 9600
DataBits: 8
StopBits: 1
Parity(check bits): NO
0x16 0x09 0x01 0x01 0xF4 0x00 0x64 0x00 0xD2 0x00 0x00 0xB5
Concent Concent Flow Flow Temperature Temperature
ACK LB CMD (High (Low (High (Low (High Byte) (Low Byte) ST1 ST2 Checksum
Byte) Byte) Byte) Byte)
Hex to Decimal:
Decimal Hex
Concent = 50.0% =0x01F4
Flow =10.0 L/min =0x0064
Temperature =21.0 ℃ =0x00D2
Checksum:
C language:
char getCheckSum(char *getbuff)
{
char i, checksum;
for( i = 0; i < 11; i++)
{
checksum += getbuff [i];
}
checksum = 0x00 – checksum;
return checksum;
}
Mode 2 (QueryMode)
When the sensor can not receive query data for 4s continuously, it sends the data automatically in the period of
500ms.
Byte count
Host sends 11 01 01 ED 4
The sensor 16 09 01 (Concent-High) (Concent-Low) (Flow-
answers High)(Flow-Low)(Temperature-High)(Temperature- 12
Low)) [ST1] [ST2] [CS]
Note: Query mode needs customization, if you need this mode, please communicate in advance.