Tag: Plantower

1 articles found.

PMS5003 Particle Sensor Library for Proteus V1.0: PM2.5 and PM10

PMS5003 Particle Sensor Library for Proteus V1.0: the Simple sensor with its STATUS panel and the pop-up of the Advance one

Hello friends, I hope you all are doing great. Today, I am going to share the new PMS5003 Particle Sensor Library for Proteus V1.0. The PMS5003 from Plantower is the small metal box with a fan that sits inside many air purifiers, air-quality monitors and home weather stations. It counts the dust and smoke particles in the air with a laser and reports PM1.0, PM2.5 and PM10 to an Arduino over a UART. Behind the part sits our own model, written from Plantower's manual and checked against the PMS Library for Arduino, the one most makers use with this sensor - so the library gets exactly the frames it expects. The sensor sends a 32-byte frame every 2.3 seconds, comes faster when the air changes, answers the passive mode and sleep commands, obeys its SET and RESET pins, and needs 30 seconds after a wake-up before its fan delivers stable data. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a particle sensor is easy to fake: a number that follows a slider. We wanted more. Our PMS5003 sends the same 32-byte frames as the real one, bit by bit with the checksum, switches between stable and fast mode, reads low while its fan spins up, and reads high in fog - so a sketch that trusts the first readings after a wake-up, waits for a frame in passive mode or reads the wrong value fails exactly as it does with a real sensor. It took our team a lot of hard work. Your feedback is the ...