Skip to main content

Hardware Details

The SGX-4SO2 cell produces a small current that rises with the SO2 concentration. The LMP91000 analog front end biases the cell and turns that current into a voltage, using a 2.5 V reference on the board. The ADS1115 converts the voltage to a 16-bit number. An ATtiny404 microcontroller with factory firmware drives both chips over its own I2C bus and answers your controller as one I2C device on the Qwiic bus.

Key specifications​

SpecificationValue
Interface
InterfaceI2C (Qwiic), analog
Qwiic compatibleYes
I2C address default0x30
I2C address changeableYes, 0x30 to 0x37 by switch
Connectors2x Qwiic, 2.54 mm headers
Breadboard compatibleNo
Power
Supply voltage3.3 V (no regulator)
Logic level3.3 V only
Other
GasSulphur dioxide (SO2)
Gas cellSGX-4SO2, electrochemical
Measurement range0 to 20 ppm; maximum overload 100 ppm
Cell output signal400 ± 100 nA per ppm
Resolution0.1 ppm typical (electronics dependent)
Response timeT90 under 30 s
AccuracyRepeatability under ±2% SO2 equivalent; linear within ±5% up to 20 ppm
Operating conditions-30 to 50 °C, 15 to 90% RH (non-condensing), 800 to 1200 mbar
Expected cell lifeOver 24 months in air
Analog front endTexas Instruments LMP91000
ADCTexas Instruments ADS1115, 16-bit
Bridge MCUMicrochip ATtiny404 (factory firmware)
Dimensions38 x 38 mm

The gas cell's performance figures apply at 20 °C, 50% RH and 101 kPa.

Pinout​

Pinout drawing of the breakout: power, I2C, analog and control pins on the three headers, the address switch, both Qwiic connectors and the JP1 to JP6 jumper legend
Soldered Electrochemical SO2 Gas Sensor Breakout (Qwiic) pinout

The board has two I2C buses. Bus 1 (SDA1, SCL1, and both Qwiic connectors) is the one your controller uses. Bus 2 (SDA2, SCL2) runs between the ATtiny404, the LMP91000 and the ADS1115.

Pin markingPin nameDescription
3V3Power3.3 V supply input, shared with both Qwiic connectors
GNDGroundGround
SDA1, SCL1I2C bus 1The bus your controller talks on; also on both Qwiic connectors
SDA2, SCL2I2C bus 2The board's internal bus between the ATtiny404, the LMP91000 (address 0x48) and the ADS1115
VOUTAnalog outThe LMP91000's analog output, the voltage the ADC measures
ALERTControlThe ADS1115's ALERT pin
LMPENControlThe LMP91000's enable line, pulled to GND by a 10 kΩ resistor on the board and also connected to the ATtiny404
AIN1, AIN2, AIN3Analog inThe ADS1115's other three inputs, free for your own analog signals. The Arduino and MicroPython libraries read only VOUT (AIN0), so they give no readings from these inputs.
UPDIProgrammingThe ATtiny404's programming pin, on the side header with 3V3 and GND

Voltage and logic levels​

ConnectionSupported voltageNotes
3V3 pins and Qwiic3.3 VNo regulator: the headers and both Qwiic connectors share one 3.3 V supply
I2C (SDA1, SCL1)3.3 V logic10 kΩ pull-ups to 3.3 V, removable with JP5

Power the board from 3.3 V only, and use a controller with 3.3 V I2C logic.

Dimensions​

The board measures 38 x 38 mm. It has four 3.2 mm mounting holes.

Jumpers​

The ADDRESS switch, a three-switch DIP block, sets the board's I2C address from 0x30 to 0x37. Pass the same address to the library.

JumperDefaultFunction
ADDRESS switch 1 to 3Address 0x30I2C address of the board, 0x30 to 0x37
JP1ClosedConnects the analog ground (AGND) to GND. Cut it to separate them.
JP2 to JP4JP2 closed, JP3 and JP4 openADS1115 address on bus 2: JP2 ties ADDR to 3V3 (0x49), JP3 to SDA2 (0x4A), JP4 to SCL2 (0x4B). Leave as shipped (see the warning below).
JP5ClosedConnects the 10 kΩ pull-ups on SDA1 and SCL1. Cut it to remove them.
JP6ClosedConnects the 10 kΩ pull-ups on SDA2 and SCL2. Cut it to remove them.

Leave JP2 to JP4 as shipped: JP2 closed, JP3 and JP4 open. The board's factory firmware reads the ADS1115 for you, and it is not confirmed that the firmware finds the ADC at 0x4A or 0x4B, so moving the ADC address with JP3 or JP4 may stop the board from giving readings.

If you do change them, close only one of JP2, JP3 and JP4. All three connect to the same ADDR pin, so two closed jumpers short 3V3 to SDA2, 3V3 to SCL2, or SDA2 to SCL2, depending on which pair you close.