MicroPython driver for the SPS30 sensor
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
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.