

CustomCard
This framework expansion card measures ambient C02 concentration, temperature and humidity. It can be used on any computer with a USBC port.
- Size
- 26 × 45.1 mm
- Copper layers
- 2
- Thickness
- 0.8 mm
- Parts
- 15
- Nets
- 52
- Pads
- 135
- Tracks, vias
- 156, 24
- Pours
- 6
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 14 Jun 2025
- Updated
- 21 Sep 2025
Overview
CustomCard is an open-source printed circuit board by aleighwood, from the aleighwood/FrameworkExpansionCard repository on GitHub. It is a 2-layer board of 26 × 45.1 mm with 15 parts on 52 nets, routed with 156 tracks and 24 vias.
It is built around the ATMEGA328-AU and SCD40-D-R2. Its parts include 5 capacitors, 4 resistors and 4 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2ATMEGA328-AU
TQFP-32(7x7)-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 23 2KB 32KB 8 Bit AVR Built-in FLASH TQFP-32(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)SCD40-D-R2
LGA-20(10.1x10.1)-10℃~+60℃ 10.1mm 10.1mm 15mA 2.4V~5.5V 400ppm~2000ppm 6.5mm Air quality I2C Reset function ±5% LGA-20(10.1x10.1) Gas Sensors ROHSSensirionGas Sensors
README
README.mdFrameworkExpansionCard
This framework expansion card measures ambient C02 concentration, temperature and humidity. It can be used on any computer with a USBC port. Currently, you can view the sensor readings using your preferred serial interface. In the future I will make a nice UI - any maybe automated high C02 level warnings.
You will need to install the appropriate drivers for the CP2102 chip. Other ICs included an ATMega328 and Sensirion SCD40.
Unfortunately the size of the Sensirion SCD40 IC prohibits the device from fully fitting into the Framework expansion card bay. In the future I will use the newly released Sensirion STCC4 sensor, allowing the device to fit snugly into the expansion card port.
This is a project that I did under the supervision of Professor Mikhelson at Northwestern University (Chicago).
Parts
15| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 18p | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C4 |
| 2 | MountingHole | MountingHole:MountingHole_2.2mm_M2 | H1, H2 |
| 1 | 0.1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C6 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7 |
| 1 | 22.1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | 4.7u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5 |
| 1 | 47.5k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | 830030819 | 830030819:830030819 | C1 |
| 1 | ATmega328-A | Package_QFP:TQFP-32_7x7mm_P0.8mm | U3 |
| 1 | CP2102N-Axx-xQFN28 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm | U4 |
| 1 | SCD40-D-R2 | Sensor:Sensirion_SCD4x-1EP_10.1x10.1mm_P1.25mm_EP4.8x4.8mm | U5 |
| 1 | ~ | Framework_Card_USBC_Connector:framework_adafruit_USBC_connector | U1 |
Similar boards
- 2 layers50 × 50 mm

- 4 layers13.6 × 19.4 mm

- 4 layers100 × 75 mm

OpenAirScope
emertcakir/OpenAirScope
Open-source air quality and environmental monitoring node with STM32H743 + ESP32-C3, LoRaWAN, RS485, USB-C, Li-ion charging, and multi-sensor support.
282 parts26MIT - 2 layers10.3 × 17 mm

Watchy scd40
cscott/watchy-co2-pcb
Simple PCB to mount the Sensirion SCD40 CO2 sensor next to Watchy
12 parts13 - 2 layers42.4 × 94 mm

- 2 layers106 × 58.5 mm

CO2 Monitor SMD
romkey/pdxhackerspace-portable-co2-monitor
Open source hardware and software portable CO2/air quality monitor
28 parts3MIT - 2 layers95.3 × 34 mm

GasSensor
Daniel-Abdi/Matter-CO2-AirQuality-Sensor
Create an ESP32-C6 based air quality sensor for Matter. Grab CO2 concentration in real time and update in any Matter compatible app.
22 parts2 - 4 layers19.8 × 50.9 mm

Zigbee air quality monitor
nobodyguy/zigbee_air_quality_monitor_hardware
Opensource HA compatible air quality monitor with CO2, temperature and humidity measurements
35 parts2Apache-2.0
Questions
How big is the CustomCard PCB?
It measures 26 × 45.1 mm and has 2 copper layers, 0.8 mm thick.
What parts does the CustomCard use?
15 parts, built around the ATMEGA328-AU and SCD40-D-R2. 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 CustomCard KiCad files?
From the aleighwood/FrameworkExpansionCard repository on GitHub, at the commit this page was made from: the board is customCard.kicad_pcb and its schematic customCard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the CustomCard design in my own project?
Its repository states no licence, so its author keeps all rights: ask aleighwood before reusing the design.