XYO Series - First Sensor

XYO Series
Optical oxygen sensors
FEATURES
· Oxygen measuring range 0...300 mbar
ppO2 and temperature measurement
· Optional pressure sensor enables
additional 0...25 %O2 measurements
· Non-depleting optical technology
(fluorescence quenching by oxygen)
· Factory calibrated
· Low power operation
· 3.3 V TTL level RS232 interface
· RoHS compliant
ELECTRICAL CONNECTION
SPECIFICATIONS
Maximum ratings
Supply voltage
4.5...5.5 VDC
Supply current
<7.5 mA
(streaming 1 sample per second)
<20 mA peak
Temperature limits
Storage
Operating
Barometric pressure range
XYO...N
XYO...P
Humidity limits (non-condensing)
-30...60 °C
-30...60 °C
100...1400 mbar
500...1200 mbar
0...98 %RH
Pin
1
2
3
4
Connection
+Vs
GND
3.3 V RS232 Sensor Transmit
3.3 V RS232 Sensor Receive
Note:
Always apply power to the sensor pins 1 and 2
before attempting to communicate on pins 3 and 4.
Pins are on a 2.54 mm grid for PCB mounting via
sockets or hand soldering with a no-clean flux (do
not put the sensor through a PCB washing process)
E / 11818 / A
1/4
www.first-sensor.com
www.sensortechnics.com
XYO Series
Optical oxygen sensors
PERFORMANCE CHARACTERISTICS
(At ambient conditions, TA=20 °C, PA=1013 mbar. Following extreme temperature fluctuations, re-calibration
may be required.)
Characteristics
Oxygen measuring range
ppO2 partial pressure
O2 concentration (XYO...P)
Pressure sensor (XYO...P)
Temperature
ppO2 partial pressure
O2 concentration (XYO...P)
Accuracy
Resolution
Accuracy
Resolution
Measuring range
Accuracy
Resolution
Measuring range
Accuracy
Resolution
Response time (10 to 90 %)
Lifetime
Min.
Typ.
Max.
Unit
0
0
300
mbar
25
%O2
2
%FS
0.1
mbar
Determined by ppO2 and pressure accuracy
0.1
%
500
1200
±5
mbar
1
-30
60
°C
Indication only
0.1
°C
<30
s
5
years
RS232 PROTOCOL AND COMMANDS
RS232 setup
The following setup should be used when using the RS232 interface.
Baudrate
9600
Flow Control
None
Parity
None
Stop bits
One
Data Length
8 bits
RS232 command set
All RS232 communication is performed using ascii characters, the table shows the legal characters for each
description block. There are three modes available: Poll Mode, Stream Mode and Off Mode.
Description block Legal character(s)
H ex
<Command>
"M", "O", "%", "T", "P", "A", "#", "e" 0x4D, 0x4F, 0x25, 0x54, 0x50, 0x41, 0x23, 0x65
<Argument>
" 0" – " 9"
0x30 – 0x39
<Separator>
""
0x20
<Terminator>
"\r\n"
0x0D, 0x0A
Poll Mode (M 1)
Each request is built using a combination of the description blocks. A typical arrangement will be one of the
following formats:
<Command><Terminator>
<Command><Separator><Argument><Terminator>
Each response will be in the following format:
<Command><Separator><Argument><Terminator>
E / 11818 / A
2/4
www.first-sensor.com
www.sensortechnics.com
XYO Series
Optical oxygen sensors
Command description
Description of all commands and the valid arguments that can be applied to the interface when in Poll Mode (M1).
All commands are case sensitive.
Command Description
"M"
Output Mode
Arguments
0=Stream
1=Poll
2=Off
N/a
"O"
Request current ppO2 value
"% "
Request current O2 value
N/a
(only valid for XYO...P.
Otherwise returns "- - - - - -")
Request current temperature inside N/a
sensor
" T"
"P"
" e"
"A"
" #"
Request current barometric pressure N/a
(only valid for XYO...P.
Otherwise returns "- - - - - -")
Sensor status
N/a
Request all values
(see above: O, T, P, % and e)
Sensor information
N/a
R esp o n se
"M xx\r\n"
where xx equals the Argument of the
command
"O xxxx.x\r\n"
where xxxx.x equals the ppO2 in mbar
"% xxx.xx\r\n"
where xxx.xx equals the O2 in %
"T yxx.x\r\n"
where y equals the sign '-' or '+' and xx.x
equals the temperature in °C
"P xxxx\r\n"
Where xxxx equals the pressure in mbar
"e 0000\r\n" = Sensor Status Good
"e xxxx\r\n" = Any other response contact
First Sensor for advice.
See section Stream Mode (M 0)
0=Date of manufacture "# 0YYYY00DDD\r\n" (DDD=day of the year)
1=Serial number
"# xxxxx xxxxx\r\n"
2=Software revision "# xxxxx\r\n"
Example 1
Request: current ppO2 value
Response: 210.3 mbar
Legal characters Hex
"O\r\n"
"0x4F 0x0D 0x0A"
"0x4F 0x20 0x30 0x32 0x31 0x30 0x2E 0x33 0x0D 0x0A"
"O 0210.3\r\n"
Example 2
Request: streaming mode
Response: streaming mode
Legal characters Hex
"M 0\r\n"
"0x4D 0x20 0x30 0x0D 0x0A"
"M 00\r\n"
"0x4D 0x20 0x30 0x30 0x0D 0x0A"
Error codes
When a request has been unsuccessfully received, an error code may appear in a response format.
Response Description
Possible cause
"E 00\r\n" RS232 Receiver Overflow No <Terminator>
received before overflow
"E 01\r\n" Invalid Command
Unrecognised
<Command> received
"E 02\r\n" Invalid Frame
Incorrect character in
frame <Separator>
"E 03\r\n" Invalid Argument
<Argument> not allowed
or in limits
E / 11818 / A
Action
Check RS232 setup, confirm correct
termination.
Check command is valid. Check command
is upper Case "M" instead of "m".
Check correct separator is used.
Check Argument is no longer than 6
characters. Check Argument is within limits.
Check Argument is available for command.
3/4
www.first-sensor.com
www.sensortechnics.com
XYO Series
Optical oxygen sensors
Stream Mode (M 0)
By default stream mode is initiated on sensor power-up and will supply an output string approximately once
every second. This provides the data for ppO2 , Temperature, Pressure, %O2 and Sensor Status. The format and
equivalent block description is as follows:
"O xxxx.x T yxx.x P xxxx % xxx.xx e xxxx\r\n"
<Command><Separator><Argument><Separator> ... <Command><Separator><Argument><Terminator>
Off Mode (M 2)
In this mode, the sensor stops taking measurements and current consumption reduces to less than 6 mA
constantly.
OUTLINE DRAWING
dimensions
dimensions in
in mm
mm
ORDERING INFORMATION
Series
Options
XYO
Measuring range
M300 0...300 mbar ppO2
and temperature*
Options
N None
P Integrated pressure sensor
* with optional pressure sensor (P) additional
measurement of 0...25 %O2 and barometric
pressure 500...1200 mbar
Example:
XYO
M300
P
First Sensor reserves the right to make changes to any products herein. First Sensor does not assume any liability arising out of the application
or use of any product or circuit described herein, neither does it convey any license under its patent rights nor the rights of others.
E / 11818 / A
4/4
www.first-sensor.com
www.sensortechnics.com