Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 588 Bytes

File metadata and controls

23 lines (19 loc) · 588 Bytes

mp_sps30

MicroPython driver for the SPS30 sensor

Wiring

The sensor works with 5V powersupply and 3.3V SDA/SCL signal values. The Raspberry Pi Pico provides (just) enough power.

 ---------------
 |       12345 |
 | *  *   *  * |
 ---------------
 Pin layout:
 1: VDD (5V)
 2: SDA
 3: SCL
 4: GRND (for I2C)
 5: GND

Usuage

When the sensor starts (sps30.start_meaurement) the fan will run for 10 seconds at maximum power to clean the device.

In the main.py file the sensor writes the measurement data to the serial port. In Thonny it will display the data on screen.