Arduino Library
The Electrochemical Gas Sensor Soldered library reads this board through
its ATtiny404 at address 0x30 to 0x37. Include it with
#include "Electrochemical-Gas-Sensor-SOLDERED.h", pick the preset for your
gas cell, and read the concentration in PPM or PPB.
Not installed yet? Follow Quick Start before using the functionality pages.
Functionality
Each page starts with one library example and explains every function the example uses to get that result.
Arduino exampleRead the gas concentrationStart the board at 0x30 with a gas preset and print the concentration in PPM every 2.5 seconds.Arduino exampleRead one sensor in PPMStart one sensor with a gas preset and print the concentration in PPM every 2.5 seconds.Arduino exampleAverage several readingsPrint the average of several readings with getAveragedPPM().Arduino exampleCalibrate the zero pointAdd a zero-point offset with setCustomZeroCalibration().Arduino exampleUse a custom addressCreate the sensor at an address other than the default.Arduino exampleConfigure your own cellFill a sensorType from your cell's datasheet instead of a preset.Arduino exampleRead two sensors on one busCreate one sensor object per board and print a CO reading in PPM and an NO2 reading in PPB.