L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
sps30_t Struct Reference

Measurement data produced by the SPS30 particulate matter sensor. Populated by sps30_Read(); check IsDataValid before using the values. More...

#include <sps30.h>

Data Fields

float Mass_pm1_0
float Mass_pm2_5
float Mass_pm4_0
float Mass_pm10_0
float Num_pm0_5
float Num_pm1_0
float Num_pm2_5
float Num_pm4_0
float Num_pm10_0
float Typical_particle_size
int8_t IsDataValid

Detailed Description

Measurement data produced by the SPS30 particulate matter sensor. Populated by sps30_Read(); check IsDataValid before using the values.

Mass concentrations (µg/m³) reflect the total mass of particles per unit volume, which is the metric used by government AQI indices. Number concentrations (n/cm³) count individual particles and are more sensitive for detecting early-stage smoke or combustion products.

Definition at line 75 of file sps30.h.

Field Documentation

◆ IsDataValid

int8_t sps30_t::IsDataValid

1 – values are valid; 0 – last read failed or data not yet available

Definition at line 87 of file sps30.h.

◆ Mass_pm10_0

float sps30_t::Mass_pm10_0

Mass concentration of PM10 particles (< 10 µm) in µg/m³

Definition at line 80 of file sps30.h.

◆ Mass_pm1_0

float sps30_t::Mass_pm1_0

Mass concentration of PM1.0 particles (< 1 µm) in µg/m³

Definition at line 77 of file sps30.h.

◆ Mass_pm2_5

float sps30_t::Mass_pm2_5

Mass concentration of PM2.5 particles (< 2.5 µm) in µg/m³ – primary health metric

Definition at line 78 of file sps30.h.

◆ Mass_pm4_0

float sps30_t::Mass_pm4_0

Mass concentration of PM4.0 particles (< 4 µm) in µg/m³

Definition at line 79 of file sps30.h.

◆ Num_pm0_5

float sps30_t::Num_pm0_5

Number concentration of particles 0.3–0.5 µm in n/cm³

Definition at line 81 of file sps30.h.

◆ Num_pm10_0

float sps30_t::Num_pm10_0

Number concentration of particles up to 10 µm in n/cm³

Definition at line 85 of file sps30.h.

◆ Num_pm1_0

float sps30_t::Num_pm1_0

Number concentration of particles up to 1.0 µm in n/cm³

Definition at line 82 of file sps30.h.

◆ Num_pm2_5

float sps30_t::Num_pm2_5

Number concentration of particles up to 2.5 µm in n/cm³

Definition at line 83 of file sps30.h.

◆ Num_pm4_0

float sps30_t::Num_pm4_0

Number concentration of particles up to 4.0 µm in n/cm³

Definition at line 84 of file sps30.h.

◆ Typical_particle_size

float sps30_t::Typical_particle_size

Mean particle diameter in µm (low ≈ smoke/combustion, high ≈ dust/pollen)

Definition at line 86 of file sps30.h.


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