SGX-4CO I2C communication and code library

Customer:

I’m looking for code for this sensor breakout for I2C. I’ve searched the repository but can’t find any code. I’ve been running a script polling 2 bits from I2C address 0x49, which a scanner identified, but it’s not working. Is there code available online?

Originally submitted via email support on 26 January 2025. Migrated to the forum for community visibility.

Soldered Support:

The datasheet for the on-board sensor is available at: https://sgx.cdistore.com/datasheets/sgx/ds-0334-sgx-4no-250-datasheet.pdf

The software library is here: GitHub - SolderedElectronics/Soldered-Electrochemical-Gas-Sensor-Arduino-Library · GitHub

The library includes sensorType structs which configure the sensor: https://github.com/SolderedElectronics/Soldered-Electrochemical-Gas-Sensor-Arduino-Library/blob/d5805979b311ff2f456b3e86d0d7ed/src/sensorConfigData.h#L101

You need to use SENSOR_CO when initializing.

The on-board potentiostat is the LMP91000. Here’s its documentation for configuration: https://www.ti.com/lit/ds/symlink/lmp91000.pdf?ts=&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FLMP91000

If you need the hardware files, let me know.