![]() |
SparkFun GM-X02B Arduino Library
v1.0.1
An Arduino library for the SparkFun Qwiic MEMS gas sensor breakouts built on the Winsen GM-x02B sensor family
|
Per-part parameters for one GM-x02B variant and its board. More...
#include <sfDevGMX02B.h>
Public Attributes | |
| uint8_t | defaultAddress |
| 7-bit I2C address with factory ADR1 / ADR0 jumpers. | |
| bool | rsRisesWithGas |
| true if Rs increases with target gas (GM-102B only). | |
| float | loadResistance |
| Load resistor RL fitted on this board variant (Ohm). | |
| float | rsMin |
| Datasheet Rs lower bound at the reference concentration (Ohm). | |
| float | rsMax |
| Datasheet Rs upper bound at the reference concentration (Ohm). | |
| float | ratedSensitivity |
| Datasheet bound on the response ratio at ratedConcentration. | |
| float | ratedConcentration |
| Concentration at which ratedSensitivity is specified (ppm). | |
| float | rangeMin |
| Low end of the detection range (ppm). | |
| float | rangeMax |
| High end of the detection range (ppm). | |
Per-part parameters for one GM-x02B variant and its board.
One const instance per family member, indexed by sfe_gmx02b_sensor_t. This is the only place in the library that carries part-specific knowledge; adding a variant means adding a row.
| uint8_t sfe_gmx02b_part_t::defaultAddress |
7-bit I2C address with factory ADR1 / ADR0 jumpers.
| float sfe_gmx02b_part_t::loadResistance |
Load resistor RL fitted on this board variant (Ohm).
| float sfe_gmx02b_part_t::rangeMax |
High end of the detection range (ppm).
| float sfe_gmx02b_part_t::rangeMin |
Low end of the detection range (ppm).
| float sfe_gmx02b_part_t::ratedConcentration |
Concentration at which ratedSensitivity is specified (ppm).
| float sfe_gmx02b_part_t::ratedSensitivity |
Datasheet bound on the response ratio at ratedConcentration.
| float sfe_gmx02b_part_t::rsMax |
Datasheet Rs upper bound at the reference concentration (Ohm).
| float sfe_gmx02b_part_t::rsMin |
Datasheet Rs lower bound at the reference concentration (Ohm).
| bool sfe_gmx02b_part_t::rsRisesWithGas |
true if Rs increases with target gas (GM-102B only).