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
Loading...
Searching...
No Matches
sfe_gmx02b_part_t Struct Reference

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).
 

Detailed Description

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.

Note
The datasheet rsMin / rsMax figures are PART-TO-PART SPREAD at a single reference gas concentration, not the swing a single unit produces. Treat them as a population tolerance.

Member Data Documentation

◆ defaultAddress

uint8_t sfe_gmx02b_part_t::defaultAddress

7-bit I2C address with factory ADR1 / ADR0 jumpers.

◆ loadResistance

float sfe_gmx02b_part_t::loadResistance

Load resistor RL fitted on this board variant (Ohm).

◆ rangeMax

float sfe_gmx02b_part_t::rangeMax

High end of the detection range (ppm).

◆ rangeMin

float sfe_gmx02b_part_t::rangeMin

Low end of the detection range (ppm).

◆ ratedConcentration

float sfe_gmx02b_part_t::ratedConcentration

Concentration at which ratedSensitivity is specified (ppm).

◆ ratedSensitivity

float sfe_gmx02b_part_t::ratedSensitivity

Datasheet bound on the response ratio at ratedConcentration.

◆ rsMax

float sfe_gmx02b_part_t::rsMax

Datasheet Rs upper bound at the reference concentration (Ohm).

◆ rsMin

float sfe_gmx02b_part_t::rsMin

Datasheet Rs lower bound at the reference concentration (Ohm).

◆ rsRisesWithGas

bool sfe_gmx02b_part_t::rsRisesWithGas

true if Rs increases with target gas (GM-102B only).


The documentation for this struct was generated from the following file: