Skip to the content
PCBKitNew board
2 layers100 × 100.1 mmDiploma, the printed circuit board in 3D

A simple CO2 and environmental monitor based on the STM32F103C8 microcontroller. The firmware reads temperature and humidity from a DHT22 sensor, measures CO2 concentration using an MHZ19B module and displays values on…

Size
100 × 100.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
62
Nets
86
Pads
257
Tracks, vias
570, 38
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Jun 2025
Updated
28 Jul 2025

Overview

Diploma is an open-source printed circuit board by t3ry4git, from the t3ry4git/stm32Co2 repository on GitHub. It is a 2-layer board of 100 × 100.1 mm with 62 parts on 86 nets, routed with 570 tracks and 38 vias.

It is built around the STM32F103C8T6, MH-Z19B and DHT22, with the MT3608, AP2112K-3.3 and DW01A among its other parts. Its parts include 19 capacitors, 15 resistors, 7 ICs, 6 diodes and 3 connectors. It belongs with the STM32 boards of this library.

Main components

9

README

README.md

stm32Co2

A simple CO2 and environmental monitor based on the STM32F103C8 microcontroller. The firmware reads temperature and humidity from a DHT22 sensor, measures CO2 concentration using an MHZ19B module and displays values on an SSD1306 OLED screen.

Hardware requirements

  • MCU: STM32F103C8 ("Blue Pill" or compatible)
  • Temperature/Humidity sensor: DHT22
  • CO2 sensor: MHZ19B (UART interface)
  • Display: SSD1306 I2C OLED

Building with STM32CubeIDE

  1. Open the test.ioc project file in STM32CubeIDE.
  2. Let CubeIDE generate the project files if prompted.
  3. Build the test target from the IDE. Default settings produce both Debug and Release outputs.
  4. Flash the resulting binary to your board using the built‑in CubeIDE programmer or an external tool such as ST‑Link.

Third‑party software

This repository includes STM32 HAL drivers from STMicroelectronics under the BSD‑3‑Clause license as found in Drivers/STM32F1xx_HAL_Driver/LICENSE.txt. The SSD1306 display driver and font code in Core/Src and Core/Inc are distributed under the GNU GPL version 3.

Parts

62
QtyValueFootprintReferences
8100 nFCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC5, C7, C10, C11, C12, C13, C15, C20
510 uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC2, C4, C8, C9, C14
310 kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R8, R16
3100 kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR7, R9, R10
3GREENDiode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD2, D4, D5
2100 pFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC16, C17
2100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR12, R15
21043Battery:BatteryHolder_MPD_BH-18650-PC2BT1, BT2
212 pFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC18, C19
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4, R5
2510Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR13, R14
2SS34Diode_SMD:D_SMAD3, D6
11 MResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
11 nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1
11.2kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
12.2 kPotentiometer_SMD:Potentiometer_Bourns_3214X_VerticalRV1
122 uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC6
122uH/2AInductor_THT:L_Radial_D7.5mm_P3.50mm_Fastron_07PL1
132768HzCrystal:Crystal_SMD_Abracon_ABM3-2Pin_5.0x3.2mmY2
15.1 kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR11
18MHzCrystal:Crystal_HC49-U_VerticalY1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U4
1Boot0Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabelsJP1
1Boot1Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabelsJP2
1CalibrateButton_Switch_THT:SW_PUSH_6mmSW2
1DHT22Sensor:ASAIR_AM2302_P2.54mm_VerticalU6
1DW01APackage_TO_SOT_SMD:SOT-23-6U2
1Enable SwitchButton_Switch_THT:SW_PUSH_6mmSW1
1FS8205APackage_SO:SOIC-8_3.9x4.9mm_P1.27mmQ1
1FlashConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ2
1MH-Z19BSensor:MH-Z19BU7
1MT3608Package_TO_SOT_SMD:SOT-23-6U3
1OLED_LCDMountingEquipment:TE_1734598-4J1
1REDDiode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
1ResetButton_Switch_THT:SW_PUSH_6mmSW3
1STM32F103C8T6Package_QFP:LQFP-48_7x7mm_P0.5mmU5
1TP4056Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU1
1USBCConnector:usbcP1

Questions

How big is the Diploma PCB?

It measures 100 × 100.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Diploma use?

62 parts, built around the STM32F103C8T6, MH-Z19B, DHT22 and MT3608. 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 Diploma KiCad files?

From the t3ry4git/stm32Co2 repository on GitHub, at the commit this page was made from: the board is GRAPH/Terentiev_I_D_draw_KiCAD/diploma.kicad_pcb and its schematic GRAPH/Terentiev_I_D_draw_KiCAD/diploma.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Diploma design in my own project?

Its repository states no licence, so its author keeps all rights: ask t3ry4git before reusing the design.

Similar boards

  • 2 layers62 × 6 mmTableLight, the printed circuit board in 3D

    TableLight

    jonny190/TableLight

    A 3D-printable, battery-powered, USB-C rechargeable table lamp in the classic "Poldina" shape - honeycomb disc base, thin stem, down-firing cone shade with a white top - running WLED on an ESP32, with a capacitive touch…

    72 partsMIT
  • 2 layers116.2 × 95.4 mmMacropad, the printed circuit board in 3D

    Macropad

    sarthakmmishra/macropad

    STM32F103C8T6 based macropad

    99 parts1
  • 2 layers35 × 39 mmNex, the printed circuit board in 3D

    Nex

    dialgorithm/nex

    esp32 swarm bots

    60 parts1
  • 2 layers150 × 40 mmBicopter, the printed circuit board in 3D

    Bicopter

    InputBlackBoxOutput/Bicopter

    Design files for a PCB Bicopter

    79 parts1MIT
  • 2 layers61 × 61 mmVael, the printed circuit board in 3D

    Vael

    dialgorithm/vael

    esp32s3 flight controller

    66 parts
  • 2 layers70 × 120 mmMultimetre V2, the printed circuit board in 3D

    Multimetre V2

    hilham1990/Multimetre

    AkademiUsta Multimetre: ATmega328P + 16 bit ADS1115 ADC, OLED ekran ve Li-ion pil ile açık kaynak el multimetresi. KiCad 10 dosyaları, Gerber ve LCSC kodlu BOM. Kart henüz üretilmedi.

    86 parts
  • 2 layers25.8 × 34.5 mmCargadorDeBaterias, the printed circuit board in 3D

    CargadorDeBaterias

    Tintun1/Practicas

    Practicas de programacion / diseño / demas

    27 parts
  • 2 layers56.1 × 37 mmPowerBoard, the printed circuit board in 3D

    PowerBoard

    dev-campusfab/chessLab

    Interactive Chess board that brings visuals to the game and can help the player to learn.

    44 parts2AGPL-3.0