Pm sensor
ondras12345·pm-sensor·hardware/pm-sensor-UART/pm-sensor-UART.kicad_pcb
About the Pm sensor PCB
Pm sensor is an open source AVR/Arduino PCB design by ondras12345, published on GitHub under the MIT license. It is a 2-layer board measuring 49.5 × 59.7 mm, with 29 components from 22 distinct parts.
Its main chip is the ATTINY2313A-PU, from the AVR/Arduino family. Other key parts include the N7805-1PV, AZ1117H-3.3TRE1 and THVD1400DR. By type, the board carries 11 capacitors, 6 resistors, 4 ICs, 4 connectors, 2 diodes and 1 crystal.
It belongs with the iot & wireless and sensors designs in this gallery.
From the project
SPS30-based PM2.5 particulate matter sensor with RS485
This repository contains hardware designs and firmware for a PCB that connects to the UART interface on an SPS-30 sensor and allows it to be used via a half-duplex RS-485 link. It is designed to be put in one enclosure with the sensor and receive both power and commands via a standard UTP cable with RJ-45 connectors (but it does not use Ethernet).
The PCB is populated with a switch mode power supply module, an RS-485 transceiver and an ATtiny2313 microcontroller. The data out pin of the transceiver is connected straight to the SPS-30's Rx pin, the SPS-30's Tx pin is connected to the Rx pin…

Main components on the Pm sensor
Pm sensor bill of materials (BOM)
29 components, 22 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | N7805-1PV | N78xx-xPV | U1 |
| 1 | AZ1117H-3.3TRE1 | SOT-223-3_TabPin2 | U2 |
| 1 | ATTINY2313A-PU | DIP-20_W7.62mm | U3 |
| 1 | THVD1400DR | SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | 3.6864M-49S-SR | Crystal_HC49-U_Vertical | Y1 |
| 1 | NS25-W5P | Molex_KK-254_AE-6410-05A_1x05_P2.54mm_Vertical | J1 |
| 1 | Conn_01x08_Pin | PinHeader_1x08_P2.54mm_Vertical | J2 |
| 1 | 54601-908WPLF | RJ45_54601-908WPLF | J3 |
| 1 | AVR-ISP-6 | IDC-Header_2x03_P2.54mm_Vertical | J4 |
| 1 | 0ZCF0150FF2C | Fuse_2920_7451Metric_Pad2.10x5.45mm_HandSolder | F1 |
| 1 | SMAJ28A-13-F | D_SMA_Handsoldering | D1 |
| 1 | SM712-02HTG | SOT-23 | D2 |
| 1 | 10u / 50V | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1 |
| 2 | 22u / 10V | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C2, C4 |
| 1 | 10u / 10V | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C3 |
| 1 | RAD 1000/50 RM5 SK | CP_Radial_D13.0mm_P5.00mm | C5 |
| 3 | 100n | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C6, C9, C11 |
| 2 | 18p | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C7, C8 |
| 1 | 1u | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C10 |
| 3 | 10k | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2, R5 |
Show 2 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | 10 | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R3, R6 |
| 1 | 120 / 0.25W | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R4 |
Pm sensor design files
The KiCad project lives in the ondras12345/pm-sensor repository on GitHub; these links point at the commit this page was built from.
Pm sensor: common questions
What microcontroller does the Pm sensor use?
The Pm sensor is built around the ATTINY2313A-PU, from the AVR/Arduino family.
How big is the Pm sensor PCB?
The Pm sensor measures 49.5 × 59.7 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Pm sensor?
29 components, from 22 distinct parts. The full bill of materials is listed on this page.
Where can I download the Pm sensor design files?
From the ondras12345/pm-sensor repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Pm sensor design in my own project?
Yes, under the terms of its MIT license, which ondras12345 chose for the repository.
Can I test firmware for the Pm sensor without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Magspoof
samyk
35 × 29 mm11 parts2LNo license4.2kAVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
Labrador
espotek-org
36.8 × 34.7 mm75 parts2LNo license1.2kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0k