SPS30 Particulate sensor~
This feature is not included in precompiled binaries
To use it you must compile your build. Add the following to
#define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram) #define USE_SPS30 // [I2cDriver30] Enable Sensiron SPS30 particle sensor (I2C address 0x69) (+1.7 code)
The Sensirion SPS30 is a laser based, fan driven, MCERTS-certified particulate matter (PM) sensor with a I²C and UART interface (datasheet). The Tasmota driver implements the I²C interface.
Mass Concentration Measurements~
The device exposes the following data:
- Volumetric concentration (μg/m³):
- PM1.0, PM2.5, PM4 and PM10
- Number concentration (binning, #/cm³):
- PM0.5, PM1.0, PM2.5, PM4 and PM10
- Typical particle size (μm)
The module has a minimum sampling interval of 1 second in continuous mode (default).
It implements an automatic fan cleaning routine, which sets the built-in fan speed to maximum for 10 seconds to clear out the detector chamber and accumulated dust on the fan blades. The default cleaning interval is 1 week of interrupted use, and resetting the sensor power also resets the built-in time counter for this. The current implementation does not support disabling this or setting a custom interval.
The sensor and fan components require 5V VDD, so a 5V capable board (e.g. Wemos D1) or external power must be supplied.
Finding appropriate connectors/cables for this module are somewhat cumbersome, SparkFun sells them with handy breadboard friendly breakout cables.
|1||VDD||+||5V ± 10%|
|2||SDA||GPIOx||5V and 3.3V compatible|
|3||SCL||GPIOy||5V and 3.3V compatible|
|4||SEL||-||Pull to GRD to enable I²C|
In the Configuration -> Configure Module page assign:
- GPIOx to
- GPIOy to
After saving the board will reboot and the particulate measurements will be displayed on the main page.