Skip to main content

Hardware Details

The SGX-4OX-ROHS oxygen cell sits on the underside of the board. On the top, an LMP91000 analog front end biases the cell and turns its current into a voltage, an ADS1115 16-bit ADC converts that voltage, and an ATtiny404 talks to both chips over the board's own I2C bus. Your controller sees one I2C device: the ATtiny404, at 0x30 by default.

Key specifications​

SpecificationValue
MCU
Bridge MCUMicrochip ATtiny404, factory firmware
Interface
InterfaceI2C; analog output VOUT and analog inputs AIN1 to AIN3 on the header
Qwiic compatibleYes, 2 connectors
Default I2C address0x30
I2C address changeableYes, 0x30 to 0x37 with the ADDRESS switch
Breadboard compatibleNo
Power
Supply voltage3.3 V (no regulator)
Logic level3.3 V only
Other
Analog front endTexas Instruments LMP91000
ADCTexas Instruments ADS1115, 16-bit
Gas cellSGX-4OX-ROHS, electrochemical, oxygen (O2)
Measurement range0 to 25 % vol O2; maximum overload 30% O2
Response timeT90 under 10 s
Repeatability< ±2% SO2 equivalent
Cell outputLogarithmic, S = K ln(1/(1-C)); 0.1 ± 0.03 mA in air
Cell bias−600 mV
Operating conditions−40 to 60 °C, 15 to 90% RH
Expected cell lifeOver 60 months in air
Dimensions38 x 38 mm

After power-up the cell can take up to 15 minutes to settle.

Pinout​

Pinout of the board: top header GND, 3V3, SDA1, SCL1, GND, 3V3, SDA2, SCL2; side header GND, UPDI, 3V3; bottom header GND, VOUT, ALERT, LMPEN, GND, AIN1, AIN2, AIN3; with the jumper legend JP1 to JP6 and the I2C address switch (0x30 to 0x37)
Soldered Electrochemical O2 Gas Sensor Breakout (Qwiic) pinout
Pin markingPin nameDescription
Qwiic (x2)3V3, SDA1, SCL1, GNDPower and the controller's I2C bus. Either connector works; both carry the same four lines.
3V33.3 V supplyThe board's only supply. Every 3V3 pin and both Qwiic connectors are joined.
GNDGroundAll GND pins are joined.
SDA1, SCL1Controller I2C busThe bus your controller uses to reach the ATtiny404, the same lines as the Qwiic connectors. 10 kΩ pull-ups to 3V3.
SDA2, SCL2Internal I2C busThe bus between the ATtiny404, the LMP91000 (0x48) and the ADS1115 (0x49 by default). 10 kΩ pull-ups to 3V3.
VOUTFront end outputThe LMP91000's analog output voltage, which the ADS1115 converts on its AIN0 input.
ALERTADC alertThe ADS1115's ALERT pin, also wired to the ATtiny404.
LMPENFront end enableThe LMP91000's enable input. A 10 kΩ resistor holds it at GND, and it is also wired to the ATtiny404. You do not need to wire it.
AIN1, AIN2, AIN3ADC inputsThe ADS1115's other three inputs, free for your own analog signals.
UPDIProgrammingWith the 3V3 and GND beside it, the ATtiny404's UPDI programming connection.

Voltage and logic levels​

ConnectionSupported voltageNotes
3V3 pins and Qwiic connectors3.3 VNo regulator: what you feed in is what the chips get.
SDA1, SCL1, SDA2, SCL23.3 V logicPulled up to 3V3 through 10 kΩ.

Do not connect 5 V to the board. It is 3.3 V only and has no regulator or level shifter.

The board also has a 2.5 V reference for the front end; the libraries' presets all select it (REF_EXTERNAL). A footprint for an external gain resistor on the front end is left unfitted; the libraries' TIA_GAIN_EXTERNAL setting and setCustomTiaGain() function are for that case.

Dimensions​

The board measures 38 x 38 mm and has four 3.2 mm mounting holes, one in each corner. The gas cell is mounted on the underside.

Jumpers​

JumperDefaultFunction
ADDRESS switch (3 positions)0x30Sets the board's I2C address from 0x30 to 0x37. Each position connects one address line of the ATtiny404 to GND when on.
JP1ClosedConnects the front end's analog ground (AGND) to GND. Cut it to separate them.
JP2 to JP4JP2 closed, JP3 and JP4 openADS1115 address on the internal bus: JP2 ties ADDR to 3V3 (0x49), JP3 to SDA2 (0x4A), JP4 to SCL2 (0x4B).
JP5ClosedConnects the 10 kΩ pull-ups on SDA1 and SCL1. Cut it to disconnect them.
JP6ClosedConnects the 10 kΩ pull-ups on SDA2 and SCL2. Cut it to disconnect them.

Close only one of JP2, JP3 and JP4 at a time. All three join the ADS1115's ADDR pin: closing JP3 or JP4 while JP2 is still closed connects SDA2 or SCL2 to 3V3, and closing JP3 and JP4 together connects SDA2 to SCL2.