contiki/dev/pms5003
2017-10-10 10:34:10 +02:00
..
pms5003-sensor.c Read size bin counts for PMS5003 sensor 2017-10-10 10:34:10 +02:00
pms5003-sensor.h Read size bin counts for PMS5003 sensor 2017-10-10 10:34:10 +02:00
pms5003.c Make duty-cycling runtime configurable with timers for sample period and warmup time 2017-10-10 10:34:10 +02:00
pms5003.h Make duty-cycling runtime configurable with timers for sample period and warmup time 2017-10-10 10:34:10 +02:00
README.pms5003 Driver for Plantower PMS 5003 dust sensors. 2017-10-10 10:34:10 +02:00

Contiki implementation for Plantower PMS 5003 series
dust sensors.

The PMS sensors support serial communication through UART and
I2C. This implementation supports both modes, and they can be
individually turned on/off through config options. Both can be
enabled at the same time.

In UART mode, the operation is asynchronous; the sensor periodically
outputs a frame of data, which is assembled by the sensor driver
through a UART callback function.

In I2C mode, the I2C bus is probed and if the sensor is found,
the frame is read. This is synchronous, triggered by a configurable
timer.

The sensor is duty-cycled through the SET input signal. The duty-cycling
intervals are configurable.

This implementation has been tested against the PMS 5003i (I2C) and
PMS 3003 (UART) sensors.