Comparison · Intermediate · 3 min read
PM2.5 and PM10 Dust Sensors
PMS5003, SDS011, Sharp and Modbus Types
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
PM2.5 sensors count tiny airborne particles by shining light through a small air sample. Laser sensors such as the Plantower PMS5003 give particle counts over UART and are the usual choice for air monitors. Cheaper optical sensors like the Sharp GP2Y1010 only give an analog dust level. Mount the inlet away from walls and keep the fan unblocked.
Key specs at a glance
- Laser UART types
- Plantower PMS series, 5 V supply, 3.3 V UART, PM1.0, PM2.5 and PM10 readings
- Sharp GP2Y1010 / 1014
- Optical LED sensor with analog output and a 5 V supply
- Industrial Modbus
- RS485 transmitters in wall or duct housings
- Range
- Plantower types report 0 to 500 µg/m³ typically
- Warm-up
- Allow 30 s or more after power-on
- Life
- Fan-based laser units wear out, so duty-cycle them for long installs
How dust sensors work
Air is drawn through a small chamber lit by a laser or LED. Particles scatter light onto a detector. Counts and pulse sizes are turned into estimated mass concentration in micrograms per cubic metre (µg/m³) for PM1.0, PM2.5 and PM10. See the glossary entry for particulate matter.
These sensors estimate concentration. They agree well with each other on trends but are not reference instruments, and readings shift with humidity because water droplets scatter light too.
Which type to choose
Pick by interface and by how reliable the data needs to be.
| Type | Output | Good for | Watch out for |
|---|---|---|---|
| Plantower PMS5003 / PMS7003 / PMSA003 | UART 9600 baud, 3.3 V logic | Home monitors, ESP32 projects | Needs 5 V supply; do not block the fan |
| Nova SDS011 style | UART | Outdoor stations | Fan life; limited availability of some variants |
| Sharp GP2Y1010 / 1014 | Analog pulse, 5 V | Simple dust alarm, learning | Needs a pulsed LED and sampling timing; only a relative level |
| Modbus PM2.5/PM10 transmitter | RS485 Modbus RTU | Industrial and greenhouse monitoring | Needs 12 to 24 V and an RS485 interface |
- Plantower PMS5003 / PMS7003 / PMSA003
- Output:
- UART 9600 baud, 3.3 V logic
- Good for:
- Home monitors, ESP32 projects
- Watch out for:
- Needs 5 V supply; do not block the fan
- Nova SDS011 style
- Output:
- UART
- Good for:
- Outdoor stations
- Watch out for:
- Fan life; limited availability of some variants
- Sharp GP2Y1010 / 1014
- Output:
- Analog pulse, 5 V
- Good for:
- Simple dust alarm, learning
- Watch out for:
- Needs a pulsed LED and sampling timing; only a relative level
- Modbus PM2.5/PM10 transmitter
- Output:
- RS485 Modbus RTU
- Good for:
- Industrial and greenhouse monitoring
- Watch out for:
- Needs 12 to 24 V and an RS485 interface
Wiring a UART sensor to an ESP32
Power the sensor from 5 V and use a UART pair at 3.3 V logic. Connect sensor TX to an ESP32 RX pin. The sensor sends a 32-byte frame that starts with 0x42 0x4D; the particle values are 16-bit numbers. Libraries such as the PMS Library parse it for you. Add a 100 µF capacitor close to the sensor to cover fan start-up current.
Placement and accuracy tips
- Mount the inlet and outlet clear of walls and in moving air, but not in a draught.
- Keep it away from cooking smoke and steam if you want room air quality.
- Allow warm-up time and average readings over a minute.
- For long-term use, power the fan only for short measurement windows.
- Keep a record of the sensor and firmware used so values can be compared later.
Try it: Uart baud rate error calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Blocking the inlet or outlet with a tight enclosure.
- Powering a laser sensor from 3.3 V instead of 5 V.
- Reading too soon after power-on.
- Treating a hobby sensor as a certified measuring device.
- Placing it near a humidifier or steam source.
Frequently asked questions
What is PM2.5?
Airborne particles up to 2.5 micrometres across. They go deep into the lungs and are a standard air quality measure.
PMS5003 or SDS011?
Both are laser sensors with fans. The PMS5003 is smaller and common on ESP32 and Raspberry Pi projects.
Can I use a Sharp dust sensor for PM2.5?
It gives a relative dust level, not a calibrated PM2.5 figure, so it is better for alarms than for AQI.
Why do readings rise on humid days?
Water droplets in the air scatter light and are counted as particles.
How long does the fan last?
Thousands of hours. Run the sensor on a duty cycle if you need years of service.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




