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.
Requirements
- Arduino IDE | Atmel Studio | Energia | Processing
- Sony SPRESENSE Dev Board
- Please refer to this link
- ESPRESSIF
- ESP8266 12, 12E, ESP32, ESP8266 NodeMCU, ESPDuino
- Microchip
- ATMEGA4809 Curiosity Nano
- ARDUINO
- 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
[crayon-67771a3f2f1e5741047944/]
Downloads
- Download SPS30 Datasheets | PDF
- Download SPS30 Product Catalog | PDF
- Download SPS30 ESP32 / Arduino / Code Library | Zip