Skip to main content

Arduino Library

The Electrochemical Gas Sensor Soldered library reads this board through the ElectrochemicalGasSensor class in Electrochemical-Gas-Sensor-SOLDERED.h. Give it a sensor preset and an address, and it returns the gas concentration in PPM. Its hydrogen sulphide preset, SENSOR_H2S, is written for the SGX-4H2S-100 cell and reads about 2.6 times too low with this board's SGX-4H2S-300 cell, so use a custom sensor type with 460 nA per ppm instead, as Use a custom sensor configuration explains.

Not installed yet? Follow Quick Start before using the functionality pages.

Functionality​

Each page starts with one verified library example and explains every function the example uses to get that result.