A compact photoluminescence (PL)-based O-2 sensor utilizing an organic light emitting device (OLED) as the light source is described. The sensor device is structurally integrated. That is, the sensing element and the light source, both typically thin films that are fabricated on separate glass substrates, are attached back-to-back. The sensing elements are based on the oxygen-sensitive dyes Pt- or Pd-octaethylporphyrin (PtOEP or PdOEP, respectively), which are embedded in a polystyrene (PS) matrix, or dissolved in solution. Their performance is compared to that of a sensing element based on tris(4,7-diphenyl-1,10-phenanthroline) Ru II (Ru(dpp)) embedded in a sol-gel film. A green OLED light source, based on tris(8-hydroxy quinoline Al (Alq(3)), was used to excite the porphyrin dyes; a blue OLED, based on 4,4'-bis(2,2'-diphenylvinyl)-1,1'-biphenyl, was used to excite the Ru(dpp)-based sensing element. The 02 level was monitored in the gas phase and in water, ethanol, and toluene solutions by measuring changes in the PL lifetime tau of the O-2-sensitive dyes. The sensor performance was evaluated in terms of the detection sensitivity, dynamic range, gas flow rate, and temperature effect, including the temperature dependence of tau in pure Ar and 02 atmospheres. The dependence of the sensitivity on the preparation procedure of the sensing film and on the PS and dye concentrations in the sensing element, whether a solid matrix or solution, were also evaluated. Typical values of the detection sensitivity in the gas phase, S-g tau(0% O-2)/tau(100% O-2), at 23 degrees C, were similar to 35 to similar to 50 for the [Alq(3) OLED[/[PtOEP dye] pair; S-g exceeded 200 for the Alq(3)/PdOEP sensor. For dissolved oxygen (DO) in water and ethanol, SDO (defined as the ratio of tau in de-oxygenated and oxygen-saturated solutions) was similar to 9.5 and similar to 11, respectively, using the PtOEP-based film sensor. The oxygen level in toluene was measured with PtOEP dissolved directly in the solution. That sensor exhibited a high sensitivity, but a limited dynamic range. Effects of aggregation of dye molecules, sensing film porosity, and the use of the OLED-based sensor arrays for O-2 and multianalyte detection are also discussed. (c) 2006 Elsevier B.V. All rights reserved.