PMSx003
Introduction
The Plantower PMSx003 modules are laser particle sensors. Particles are measured by blowing air through the enclosure. By measuring diffusion of the laser beam, the amount of particles is counted. Measurement information is transmitted over a serial interface.
Hardware
The following modules have different construction and dimensions but share the same serial interface and protocol:
- PMS3003
TBD
- PMS5003
- PMS7003
- PMSA003
TBD
Pins:
VCC - 5V (for fan and internal logic) GND - Ground (Note that chassis is also ground) RX/TX - 3V3 UART 9600 8N1 SET - Standby function, when pulled down the module does not send information over serial and goes into a low power state. RESET - Reset the module, similar to power-up, it takes ~30 seconds before data is received
Software
ESP Easy
The ESP Easy plugin uses the (default) active mode of the module. This means that the module transmits data over the UART automatically towards the ESP. The update frequency of data depends on the changes in measurement data. (i.e. when there are no changes, no data is transmitted).
- 1st GPIO -> RX pin (IO3 for HW serial)
- 2nd GPIO -> TX pin (IO1 for HW serial)
- 3rd GPIO -> Reset (Optional)
- Acquisition delay -> Determines how often data is send to controllers
Both hardware and software serial are supported. The RX/TX pins can be selected in the device configuration page. When a reset pin is configured, the module is reset when ESPEasy is started. TX is not functionally used, but a TX pin should be configured because the software/hardware serial libraries require it. A free/dummy TX IO can be selected.
Input
This plugin requires no input.
Output
The output of the plugin consists of 3 values:
- PM1.0 - Concentration of particles 1ug/m3
- PM2.5 - Concentration of particles 2.5ug/m3
- PM10 - Concentration of particles 10ug/m3
References: