Another guide working on air quality sensor with Senserion SPS30. SPS30 is a Particulate Matter (PM) sensor that uses an optical sensing base on laser scattering resistance mechanism technology. SPS30 is highly sensitive in particles that feed in featuring a high quality, long lasting, and accurate measurements suitable for environmental outdoor monitoring that last up-to 8 years in field.

This device has size of 41X41X12 mm with integrated advance algorithms for accurate measurements for different Particulate Matter types and high-resolution particle size binning. For more technical details please refer to the datasheet below.

On this guide we will going wire-up the sensor with the help of microcontroller,  we will going to use the Arduino MCU for this demo, however you can also use other MCU like ESP32, Curiosity Nano, Nano Every, etc.



  • Arduino IDE | Atmel Studio | Energia | Processing
  • Sony SPRESENSE Dev Board
    • ESP8266 12, 12E, ESP32, ESP8266 NodeMCU, ESPDuino
  • Microchip
    • ATMEGA4809 Curiosity Nano
    • PRO, FIO, NANO, EVERY, UNO, MINI, MEGA, PRO MINI, LEO, BT, DUE, ETHERNET,LILYPAD, NodeMCU, Teensy Board, TeensyDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, MSP430 ,ATMEGA250 16 MHz, ATSAM3x8E, STM32, LinkItOne.
    • Note: For AVR (please see the flash size of the MCU  and respective pin-outs & bus configuration )
    • Note: The Diagram below is using ATMEGA328TQFP & ATMEGA4809. (please refer to each MCU’s respective pin-outs & bus configuration)
  • Others
    • Teensy 3, MSP430 Launchpad, Flora, Metro, Trinket, Pro Trinket
  • Senserion SPS30 Particulate Matter Optical Sensor
  • Resistors (See below required value)

As you can see the diagram below there are two options, it was hookup to Arduino Nano Every and the second one is connected to Arduino Nano. If you want to use ESP chip series or Sony Spresense. Please refer to this link provide.

Wiring Diagram

SPS30 i2C Source Code




Wiring Senserion SPS30 PM Optical Sensor with ATMEGA4809
Tagged on:             


Leave a Reply

Your email address will not be published. Required fields are marked *