PM2008(M) Particulate Matter Sensor
Overview
PM2008 and PM2008M particulate matter measurement sensors. These sensors are used in Xiaomi air purifiers and support both I2C and UART interfaces.

Specifications
- Operating principle Laser scattering
- Measured particle range 0.3um ~ 10um
- Measurement range 0 ~ 1,000ug/m³
- Resolution 1ug/m³
- Working condition -10°C ~ 60°C, 0 ~ 95%RH (Non-condensing)
- Condition: 25 ±2°C, 50±10%RH,
- Reference instrument: GRIMM
- Dust Source: Cigarette + Arizona A1
- Response time 1sec
- Time to first reading ≤ 8 seconds
- Power supply DC 5V ±0.1V, ripple wave<50mV
- Working current ≤100mA
- UART_TTL_3.3V(default);
- I2C_3.3V / 5V(default)
Supported GPIO
- Raspberry Pi 0~4
- Raspberry Pi 5
- BeagleBone Black/Green
- Jetson Nano
- FT232H, FT2232H, FT4232H
- MCP2221
- USB-UART converter modules (FT232RL, CP2102, PL2303, CH340…)
Commands
[READ_DATA]
Reads particulate matter concentration values.
Item | Type | Description |
---|---|---|
PM 1.0 (GRIMM) | READ | PM 1.0 concentration (㎍/㎥, GRIMM method *) |
PM 2.5 (GRIMM) | READ | PM 2.5 concentration (㎍/㎥, GRIMM method) |
PM 10 (GRIMM) | READ | PM 10 concentration (㎍/㎥, GRIMM method) |
PM 1.0 (TSI) | READ | PM 1.0 concentration (㎍/㎥, TSI method **) |
PM 2.5 (TSI) | READ | PM 2.5 concentration (㎍/㎥, TSI method) |
PM 10 (TSI) | READ | PM 10 concentration (㎍/㎥, TSI method) |
≤ 0.3 ㎛ Particle Count | READ | Number of particles ≤ 0.3 ㎛ per 100ml |
≤ 0.5 ㎛ Particle Count | READ | Number of particles ≤ 0.5 ㎛ per 100ml |
≤ 1.0 ㎛ Particle Count | READ | Number of particles ≤ 1.0 ㎛ per 100ml |
≤ 2.5 ㎛ Particle Count | READ | Number of particles ≤ 2.5 ㎛ per 100ml |
≤ 5.0 ㎛ Particle Count | READ | Number of particles ≤ 5.0 ㎛ per 100ml |
≤ 10.0 ㎛ Particle Count | READ | Number of particles ≤ 10.0 ㎛ per 100ml |
* Measurement method of German GRIMM aerosol spectrometer
** Measurement method of American TSI DustTrack aerosol monitor
** Measurement method of American TSI DustTrack aerosol monitor
Example
Objective
Display PM1.0, PM2.5, and PM10.0 particulate matter concentrations on dashboard widgets.
Parts
Part | Quantity |
---|---|
Raspberry Pi 4 * | 1 |
PM2008(M) | 1 |
Adapter board or cable ** | 1 |
* Other hardware can also be used. Refer to Supported GPIO.
** PM2008 model can be connected with an adapter board, while PM2008M model can be connected with a dedicated connector.
** PM2008 model can be connected with an adapter board, while PM2008M model can be connected with a dedicated connector.


Wiring (I2C)
Connect the following pins horizontally to each other.
PM2008(M) | GPIO |
---|---|
VCC | 5V |
GND | GND |
SCL | 3 (I2C1 SCL) |
SDA | 2 (I2C1 SDA) |
CTL | GND |

Wiring (UART)
Connect the following pins horizontally to each other.
PM2008(M) | GPIO |
---|---|
VCC | 5V |
GND | GND |
RXD | 14 (UART TX) |
TXD | 15 (UART RX) |
CTL | No connection or 5V |

Project Links
PM2008(M) I2C