

Particulate matters
Measuring fine dust on a bike
- Size
- 60 × 48.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 5
- Nets
- 15
- Pads
- 49
- Tracks, vias
- 65, 4
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 22 Feb 2018
- Updated
- 10 Jul 2025
Overview
Particulate matters is an open-source printed circuit board by gertjana, from the gertjana/particulate-matters repository on GitHub. It is a 2-layer board of 60 × 48.5 mm with 5 parts on 15 nets, routed with 65 tracks and 4 vias.
It belongs with the ESP32 boards of this library.
README
README.mdParticulate Matter Bike Monitor
This project is a mobile air quality monitoring system designed to be mounted on a bicycle. It measures fine particulate matter (PM1, PM2.5, and PM10) and records GPS location data during your commute. The collected data is stored locally on an SD card and displayed in real-time on an OLED screen, enabling you to create heatmaps of air pollution along your cycling routes.
Features
- Real-time air quality monitoring: Measures PM1, PM2.5, and PM10 concentrations using the BMV080 particulate matter sensor.
- GPS tracking: Captures latitude, longitude, and timestamp for each measurement.
- Local data storage: Saves measurements to SD card with date-based file organization.
- Real-time display: Shows current readings and GPS coordinates on an OLED display.
- Sensor health monitoring: Detects when the sensor is obstructed and displays warnings.
Hardware Requirements
- Arduino-compatible board (ESP32 recommended for SD card support)
- BMV080 Particulate Matter Sensor (I2C)
- GPS module (compatible with TinyGPS++)
- OLED Display (SSD1306, 128x32)
- SD Card Module (SPI)
- Battery pack
- Bicycle mounting hardware
Pin Configuration
- I2C (Wire): SDA, SCL - for BMV080 sensor and OLED display
- SPI (SD Card): CS:44, MOSI:9, MISO:8, CLK:7
- GPS (Software Serial): TX:3, RX:2
System Architecture
The system operates on a 10-second measurement interval and includes:
- Data Collection: Reads PM1, PM2.5, PM10, and GPS coordinates
- Data Processing: Packages data into JSON format
- Local Storage: Saves to SD card with date-based filenames
- Real-time Display: Shows current readings on OLED screen
Data Format
Each measurement is stored as a JSON object with the following structure:
{
"pm": {
"pm1": 15,
"pm2.5": 25,
"pm10": 45,
"obstructed": false
},
"gps": {
"date": "15-12-2024",
"time": "14:30:25",
"latitude": "52.12345678",
"longitude": "4.87654321"
}
}File Organization
Data is stored on the SD card with the following structure:
- Files are named by date:
DD-MM-YYYY.txt - Each line contains one JSON measurement
- Files are created automatically when data is available
Setup
- Clone this repository.
- Install required libraries:
- SparkFun_BMV080_Arduino_Library
- TinyGPSPlus
- ArduinoJson
- Adafruit_GFX
- Adafruit_SSD1306
- Connect hardware according to pin configuration
- Insert formatted SD card
- Upload
dust_sensor_new/dust_sensor_new.inoto your Arduino board - Mount the device on your bike and power it up before your ride
Debug Mode
The system includes comprehensive debug output when DEBUG is defined. This includes:
- SD card information (type, size, free space)
- Sensor initialization status
- GPS data processing
- File writing operations
To enable debug mode, ensure #define DEBUG is uncommented in the code.
Data Analysis
Local Analysis
- Data files can be read directly from the SD card
- JSON format makes it easy to parse with any programming language
- Each measurement includes timestamp and location data
Heatmap Generation
For setting up and using the heatmap visualization, see heatmap/README.md
See example.md for sample data format and structure.
License
MIT License
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Parts
5| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | XIAO-ESP32-S3-DIP | Seeed Studio XIAO Series Library:XIAO-ESP32S3-DIP | U1 |
| 1 | ~ | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | U5 |
| 1 | ~ | Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_Vertical | U2 |
| 1 | ~ | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | U4 |
| 1 | ~ | Connector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal | U3 |
Similar boards
- 2 layers98 × 27 mm

- 2 layers21 × 33 mm

24g2usb pico2w
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.
5 parts1.7kApache-2.0 - 2 layers53.2 × 59.6 mm

A10 OLinuXino Lime Rev B SHIELD TEMPLATE
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
5 parts1.5k - 2 layers30 × 11 mm

Main control board servo tester
jamro/tiny-engineer
A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.
5 parts1.1k - 2 layers78.8 × 35.3 mm

KiCadTest
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
5 parts915 - 2 layers50 × 23 mm

- 2 layers43.2 × 28.5 mm

- 2 layers20.3 × 15.2 mm

L0 light sensor
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
5 parts546MIT
Questions
How big is the Particulate matters PCB?
It measures 60 × 48.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Particulate matters use?
5 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Particulate matters KiCad files?
From the gertjana/particulate-matters repository on GitHub, at the commit this page was made from: the board is kicad/Particulate_matters/Particulate_matters.kicad_pcb and its schematic kicad/Particulate_matters/Particulate_matters.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Particulate matters design in my own project?
Its repository states no licence, so its author keeps all rights: ask gertjana before reusing the design.