Skip to the content
2 layersLayouts, the printed circuit board in 3D

USB-C PD powered ESP32-S3 backpack PCB for fan control and BME280 sensor

Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
64
Pads
146
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 0.12.5 (file 20241229)
Created
20 Feb 2026
Updated
26 Mar 2026

Overview

Layouts is an open-source printed circuit board by arunderwood, from the arunderwood/milsblo repository on GitHub. It is a 2-layer board with 34 parts on 64 nets.

Its parts include 15 resistors, 7 capacitors, 3 connectors, 2 ICs and 2 diodes.

README

README.md

milsblo

milsblo is a portmanteau of MILSBO — IKEA's popular glass-door cabinet — and blow, for the fan-control feature at the heart of the board.

An experiment in vibe-coded circuit design by someone without much electronics experience.

Background

Hobbyists convert MILSBO cabinets into miniature indoor greenhouses using grow lights, humidifiers, and fans. Circulation fans are critical: airflow strengthens stems and prevents the mold that thrives in warm, stagnant, humid air.

milsblo is the electronics backbone for that setup.

What it does

A single USB-C cable delivers 12V via USB Power Delivery — one cord powers both fans and the microcontroller. The board backpacks onto an ESP32-S3-DevKitC-1 via female pin headers.

text
USB-C PD charger (65W+)
    │
    ▼
CH224K (PD sink) → 12V rail ──→ Fan headers × 2 (always-on 12V)
                           └──→ AP63205 buck → 5V → ESP32-S3-DevKitC-1
                                                         │
                                                         ├── 25kHz PWM → Fan 1 & 2 speed control
                                                         ├── Tach input ← Fan RPM feedback
                                                         └── I2C → BME280 temp/humidity sensor
  • Power: USB-C PD negotiates 12V via CH224K; stepped to 5V by AP63205 buck converter
  • Fan control: 25kHz PWM on GPIO 4/5 (silent, full-range speed), tach feedback on GPIO 6/7
  • Sensor: BME280 via JST-SH 4-pin (Qwiic/STEMMA QT compatible) on I2C GPIO 8/9
  • Firmware: ESPHome (firmware/milsblo.yaml) — integrates with Home Assistant

Project status

PhaseStatus
Phase 1: Component definitions✅ Complete
Phase 2: Atopile schematic✅ Complete
Phase 3: SPICE simulations✅ Complete
Phase 4: Firmware + test guide✅ Complete
Phase 5: PCB layout (KiCad)🔲 Not started
Phase 6: Manufacturing export🔲 Not started

Design

Designed in Atopile (code-first EDA); the schematic lives in .ato source files and compiles to a KiCad project for fabrication.

For full architecture decisions and build instructions, see CLAUDE.md.

Toolchain

bash
uv pip install "atopile>=0.12,<0.13"
ato build                           # compile to KiCad project in build/
ngspice -b simulation/power_chain.cir
esphome run firmware/milsblo.yaml

Parts

34
QtyValueFootprintReferences
3100nF ±10% 50V X7RYAGEO_CC0603KRX7R9BB104:C0603C1, C6, C7
310kΩ ±1% 100mWUNI_ROYAL_0603WAF1002T5E:R0603R4, R6, R15
2FemaleHeader_1x22_2v54mm:PinSocket_1x22_P2.54mm_VerticalJ1, J2
2CJT_A2541WR_4P:HDR-TH_4P-P2.54-H-M-W10.3H1, H2
2100kΩ ±1% 62.5mWUNI_ROYAL_0402WGF1003TCE:R0402R2, R14
2100Ω ±1% 100mWUNI_ROYAL_0603WAF1000T5E:R0603R3, R5
222µF ±10% 25V X5RSamsung_Electro_Mechanics_CL31A226KAHNNNE:C1206C2, C3
24.7kΩ ±1% 62.5mWUNI_ROYAL_0402WGF4701TCE:R0402R11, R12
2470Ω ±1% 100mWUNI_ROYAL_0603WAF4700T5E:R0603R10, R13
25.1kΩ ±1% 62.5mWUNI_ROYAL_0402WGF5101TCE:R0402R7, R8
1JST_Sales_America_SM04B_SRSS_TB_LF__SN:CONN-SMD_4P-P1.00_SM04B-SRSS-TB-LF-SNCN1
1Shikues_MMBT3904:SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BRQ1
1Diodes_Incorporated_AP63205WU_7:TSOT-23-6_L2.9-W1.6-P0.95-LS2.8-BLU1
1Everlight_Elec_19_217_GHC_YR1S2_3T:LED0603-RDLED1
1WCH_CH224K:ESSOP-10_L4.9-W3.9-P1.0-LS6.0-TL-EPU2
1CENKER_CKCS4018_4_7uH_M:IND-SMD_L4.0-W4.0_SWPA4018SL1
1MDD_Microdiode_Electronics_BZT52C5V1:SOD-123_L2.7-W1.6-LS3.7-RDD1
1SHOU_HAN_TYPE_C_16PIN_2MD_073:USB-C-SMD_TYPE-C-6PIN-2MD-073USB1
1100µF ±20% 35VKNSCHA_RVT100UF35V167RV0082:CAP-SMD_BD6.3-L6.6-W6.6-FDC4
11µF ±10% 25V X5RSamsung_Electro_Mechanics_CL05A105KA5NQNC:C0402C5
124kΩ ±1% 62.5mWUNI_ROYAL_0402WGF2402TCE:R0402R9
1750kΩ ±1% 62.5mWFOJAN_FRC0402F7503TS:R0402R1

Similar boards

  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    34 parts1.1kCC-BY-4.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard old, the printed circuit board in 3D

    Amiga gfxcard old

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    34 parts1k
  • 2 layers53.5 × 62.5 mmLed matrix, the printed circuit board in 3D

    Led matrix

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    34 parts915
  • 2 layers45 × 26 mmESP32-HELP Button, the printed circuit board in 3D

    ESP32-HELP Button

    pcbreflux/espressif

    all espressif stuff will committed here

    34 parts608GPL-3.0
  • 2 layers41.7 × 25.7 mmHeadphones flex pcb rigid, the printed circuit board in 3D

    Headphones flex pcb rigid

    strangeparts/niubi-headphones

    Flexible circuit board design for adding a headphone jack to an iPhone 7

    34 parts493MIT
  • 2 layers18.8 × 16.3 mmAmoeba, the printed circuit board in 3D

    Amoeba

    mtl/keyboard-pcbs

    Keyboard PCBs

    34 parts485
  • 2 layers127 × 69.9 mmEzcgi, the printed circuit board in 3D

    Ezcgi

    baldengineer/bit-preserve

    Project for capturing vintage, classic, aka old computer schematics in KiCad.

    34 parts446

Questions

What parts does the Layouts use?

34 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 Layouts KiCad files?

From the arunderwood/milsblo repository on GitHub, at the commit this page was made from: the board is elec/layouts/default/default.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Layouts design in my own project?

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