Skip to the content
2 layers30 × 30 mmEce souvenir, the printed circuit board in 3D

KiCad design for ECE OPEN HOUSE 2026

Size
30 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
11
Pads
61
Tracks, vias
129, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Oct 2026
Updated
12 Oct 2026

Overview

Ece souvenir is an open-source printed circuit board by patthananb, from the patthananb/ECE_Openhouse_Souvenir repository on GitHub. It is a 2-layer board of 30 × 30 mm with 29 parts on 11 nets, routed with 129 tracks and 0 vias.

It is built around the XL-1608UOC-06, XL-1608UWC-04 and CC0603KRX7R9BB104, with the 0603B103K500NT, CC0603KRX7R7BB105 and MMBT3906LT1G among its other parts. Its parts include 14 diodes, 6 resistors, 3 capacitors, 1 IC and 1 transistor.

Main components

6

README

README.md

KMUTNB ECE Souvenir PCB

30 × 30 mm souvenir board. TOP: ECE KMUTNB logo silkscreen. BOTTOM: CMOS 555 astable blinking 14 orange 0402 LEDs laid out as 7-segment "ECE". KiCad 10.0.6. Sources generated by scripts in tools/.

Layout

PathWhat
tools/parts.pyBOM single source of truth (refs, values, footprints, LCSC codes)
tools/gen_sch.pyGenerates hardware/ece_souvenir.kicad_sch
tools/check_netlist.pyExports netlist via kicad-cli and diffs against spec
tools/logo_trace.pyRasterises art/ece_logo.png into silkscreen runs (art/ece_logo_runs.json)
tools/gen_pcb.pyGenerates hardware/ece_souvenir.kicad_pcb: outline, hole, placement, logo, rules (KiCad Python)
tools/route.pyAutoroutes: KiCad DSN export → Konnect route_specctra_dsn (local Freerouting 2.4.1) → KiCad SES import
tools/konnect_mcp.pyMinimal stdio client for the Konnect MCP server
tools/emi_check.pyEMI routing-geometry audit: right-angle/acute bends, stubs, copper-to-edge, widths
tools/cost_estimate.pyCost estimate: full assembly vs DIY vs bare PCB (live JLCPCB/LCSC part prices)
hardware/KiCad project

Circuit

555 astable (TLC555, CMOS). Q1 (MMBT3906 PNP) is a high-side switch fed from 555 OUT through R6 = 4.7 kΩ: it conducts while OUT is LOW (discharge phase), so the LEDs flash briefly. Each digit has one shared current-limit resistor (advisor review 2026-10-11); LED cathodes go to GND.

QuantityFormulaValue
t_on (LEDs lit)0.693·R2·C183 ms
t_off0.693·(R1+R2)·C1776 ms
f1/(t_on+t_off)1.16 Hz, duty 9.7 %
I per digit(VCC − Vce_sat − Vf)/R; E: 680 Ω, orange Vf ≈ 1.85 V; C: 220 Ω, white Vf ≈ 2.6 VE ≈ 2.0 → 4.5 mA, C ≈ 2.9 → 10.5 mA (3.3 → 5 V)
I per LED (avg of digit)I_digit / norange ≈ 0.4 → 0.9 mA (≈ 6 → 14 mcd), white ≈ 0.7 → 2.6 mA (≈ 5 → 17 mcd)
Q1 load / baseΣ digits; (VCC − V_EB − V_OL)/3.3 kΩ≤ 19.5 mA; I_B 0.8 … 1.3 mA (forced β ≈ 9–15)

Design notes:

  • Without Q1 the TLC555 could sink the ≈13 mA directly (100 mA typ / 150 mA abs-max, TI SLFS043K); Q1 was added on review so the 555 only supplies base current. A PNP (not NPN) is used so the LEDs stay on during the short OUT-LOW phase; an NPN low-side switch would light them ≈90 % of the time.
  • Shared resistors trade matching for parts count: parallel LEDs on one resistor split current by exp(ΔVf / nV_T) (nV_T ≈ 50 mV at ~1 mA), so a 30 mV Vf spread can mean ≈1.8× current between segments of one digit. Use LEDs from one reel.
  • White C: only ≈ 0.65 V of headroom at 3.3 V (Vf ≈ 2.6 V + Vce_sat), so the C dims fastest as the supply drops; below ≈ 3.0 V (e.g. a CR2032) it will barely light. Run from ≥ 3.3 V.

Board

  • 30 × 30 mm, R1 mm corners, 2-layer FR4 1.6 mm, white mask / black silk.
  • TOP: logo only, 24 × 21.3 mm on F.SilkS at (3.0, 6.0); 2.5 mm NPTH keychain hole at (27, 3).
  • BOTTOM: all parts and all copper (single-sided routing: no top traces, no vias, so the logo side is bare silkscreen on white mask). LEDs stand alone at the spec positions (bottom-view x mirrored: x_top = 30 − x_bv). LED polarity is 180° (a/g/d) and 270° (f/e) instead of the spec's 0°/90°: identical look, but every cathode then meets at each digit's inner-left corner, which is what makes one-layer routing possible. Digit resistors R3/R4/R5 sit under each digit; Q1 + R6 left of U1; U1 at 270°; C2 centre 1.96 mm from pin 8. Pads: + / − bottom right, OUT probe beside R6.
  • One-layer topology (locked pre-routes in tools/route.py): TH (pin 2) and GND (pin 1) run under the SOIC body out of its left end; VCC is a ring round the board edge from pin 4 to pin 8, which keeps the LED field, Q1, OUT and pin 1 on the same side of every barrier.
  • Board placed on the drawing sheet at (111.1825, 56.0585) mm; grid and drill/place origins are set to the board's top-left corner, so coordinates still read (0,0) at top-left.
  • Hand-solder safety: router keepouts forbid foreign traces between the pads of every 2-pad part; tools/route.py also reports any trace between two pads of one part (currently none).
  • EMI routing rules (checked by tools/emi_check.py):
    • no 90° or acute corners: pre-routes are drawn at 45°, autorouted corners are mitred to 45° (DRC-guarded); single layer, so there are no cross-layer crossings to keep perpendicular;
    • all copper ≥ 1.0 mm from the board edge (VCC ring centreline 1.15 mm, router boundary inset 0.5 mm);
    • B.Cu GND pour in all free space (0.3 mm clearance, thermal spokes for hand soldering, islands removed, so no floating copper) gives every trace an adjacent return path and guards the high-impedance TH/DIS nodes;
    • short explicit decoupling loop C2 ↔ U1 pin 1/8 (C2 centre 1.96 mm from pin 8);
    • timing cap C1 sits at the left end of U1 between the TH and GND under-body lanes (~1 mm loop);
    • LED_PWR (switched LED current) is one straight 0.3 mm bus; VCC/GND/LED_PWR in the 0.3 mm Power class; no stubs, no vias.
  • Rules (in .kicad_pro): track/clearance ≥ 0.20 mm, via 0.6/0.3 mm, copper–edge 0.3 mm, silk line ≥ 0.15 mm, text ≥ 1.0 mm. Net class Power (VCC, GND, LED_PWR) 0.3 mm.

Parts (LCSC, checked 2026-10-11) — hand-soldered, nothing below 0603

All passives/LEDs use KiCad *_0603_*_HandSolder footprints; Q1 uses SOT-23_Handsoldering.

RefPartLCSC
U1TI TLC555CDR, 2–15 V CMOS 555, SOIC-8C6986
Q1onsemi MMBT3906LT1G PNP, SOT-23C53444
D1–D5, D10–D14 (E, E)XINGLIGHT XL-1608UOC-06 orange 605 nm 0603C965800
D6–D9 (C)XINGLIGHT XL-1608UWC-04 white 0603, Vf 2.7 V @ 20 mAC965808
C1Yageo CC0603KRX7R7BB105, 1 µF 16 V X7RC106248
C2 / C3100 nF 50 V X7R / 10 nF 50 V X7R 0603C14663 / C57112
R1 / R21 MΩ / 120 kΩ 1 % 0603C22935 / C25808
R3, R5 / R4680 Ω (orange E digits) / 220 Ω (white C digit) 1 % 0603C23228 / C22962
R63.3 kΩ 1 % 0603 (Q1 base)C22978

Cost estimate (2026-10-12, USD incl. shipping to Thailand)

python3 tools/cost_estimate.py 10 50 100 300 500. Part prices are live (JLCPCB parts API for assembly, LCSC API for retail MOQ). Assumptions in the script header: JLCPCB Economic PCBA (setup $8, stencil $1.50, $0.0017/joint, $3 per extended part × 5), bare-PCB price model (5 pcs = $4.00 on the live quote; larger quantities modelled), shipping JLCPCB $12–32, LCSC $8–25. Ranges = low–high.

Qty1. Full assembly2. DIY (PCB + LCSC parts)3. Bare PCB only
10$47–71 ($4.67–7.07/pc)$35–76 ($3.46–7.56/pc)$17–41 ($1.70–4.10/pc)
50$67–93 ($1.34–1.86/pc)$52–95 ($1.04–1.90/pc)$20–46 ($0.40–0.92/pc)
100$91–120 ($0.91–1.20/pc)$73–119 ($0.73–1.19/pc)$23–52 ($0.23–0.52/pc)
300$181–219 ($0.60–0.73/pc)$147–202 ($0.49–0.67/pc)$34–72 ($0.11–0.24/pc)
500$245–288 ($0.49–0.58/pc)$196–256 ($0.39–0.51/pc)$44–87 ($0.09–0.17/pc)

DIY excludes soldering labour (25 parts / 57 joints per board) and consumables. Confirm the PCB and PCBA lines on cart.jlcpcb.com before ordering; Thai import VAT may apply.

Testing

Regenerate schematic, normalise to KiCad 10 format, run ERC and netlist check:

bash
python3 tools/gen_sch.py && \
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli sch upgrade hardware/ece_souvenir.kicad_sch && \
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli sch erc --severity-all --exit-code-violations -o hardware/erc.rpt hardware/ece_souvenir.kicad_sch && \
python3 tools/check_netlist.py

Expected output (macOS 27, KiCad 10.0.6, Python 3.10):

text
wrote hardware/ece_souvenir.kicad_sch
Successfully saved schematic file using the latest format
Found 0 violations
Saved ERC Report to hardware/erc.rpt
10 named nets + 1 unnamed net: OK

hardware/erc.rpt contains ** ERC messages: 0 Errors 0 Warnings 0; all commands exit 0.

Regenerate the board and run DRC with schematic parity (KiCad's bundled Python provides pcbnew):

bash
python3 tools/logo_trace.py && \
/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3 tools/gen_pcb.py && \
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli pcb drc --schematic-parity --severity-all -o hardware/drc.rpt hardware/ece_souvenir.kicad_pcb

Expected output, placement phase (unrouted; KiCad prints some wx debug lines on stderr, which you can ignore):

text
7877 rects, 24.0 x 21.29 mm at (3.0, 6.0), 14.1 um/px -> art/ece_logo_runs.json
wrote hardware/ece_souvenir.kicad_pcb; logo polygons: 48
Found 0 violations
Found 49 unconnected items
Found 0 schematic parity issues
Saved DRC Report to hardware/drc.rpt

The 49 unconnected items are expected until the routing phase.

Routing (single-sided)

Requires Konnect 0.13.0 (KiCad PCM plugin, ~/Documents/KiCad/10.0/3rdparty/plugins/com_github_mixelpixx_konnect), Freerouting 2.4.1 jar + Temurin JRE 25 in ~/.local/share/freerouting/, KiCad GUI closed. Konnect's own Specctra exporter only accepts front-side parts / rect pads / straight outlines, so KiCad's native DSN exporter and SES importer do the file conversion and Konnect's route_specctra_dsn drives Freerouting. DSN tweaks: boundary inset 0.1 mm (0.3 mm edge rule), F.Cu inactive and vias off (one layer), and between-pad keepouts. Note: Freerouting 2.4.1 silently ignores the whole netlist if a keepout precedes autoroute_settings in (structure ...).

bash
/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3 tools/route.py 60 && \
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli pcb drc --schematic-parity --severity-all -o hardware/drc.rpt hardware/ece_souvenir.kicad_pcb

Expected output for the committed board (Freerouting is heuristic: segment counts/length can differ between runs; what must hold is 0 F.Cu, 0 vias, 0 crossings, DRC all zero):

text
route_specctra_dsn: {'isError': False, 'result': {... 'final_state': 'COMPLETED', ... 'success': True}}
widened 8 neck-down segments to net-class width
mitred 3/3 corners >= 90 deg to 45 deg (0 reverted by DRC)
GND pour on B.Cu: 422.7 mm^2 filled
imported hardware/routing/ece_souvenir-<stamp>.ses: 129 B.Cu segs (297.8 mm), 0 F.Cu segs (0.0 mm), 0 vias
between-pad crossings: 0
Found 0 violations
Found 0 unconnected items
Found 0 schematic parity issues
Saved DRC Report to hardware/drc.rpt

EMI geometry audit

bash
/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3 tools/emi_check.py

Expected output (exit 0):

text
bends: 0 right-angle, 0 acute (>90 deg turn); T-junctions: 10; vias: 0
stubs: 0
copper-to-edge: min 1.00 mm (/TH); 0 segments closer than 1.0 mm (nets: [])
nets: width mm / length mm
  /A_C         [0.2]   20.6
  /A_E1        [0.2]   26.5
  /A_E2        [0.2]   23.5
  /CV          [0.2]    2.2
  /DIS         [0.2]    4.0
  /LED_PWR     [0.3]   16.9
  /OUT         [0.2]    5.3
  /TH          [0.2]   18.3
  GND          [0.3]   72.0
  Net-(Q1-B)   [0.2]    6.9
  VCC          [0.3]  101.6
EMI geometry: PASS

Parts

29
QtyValueFootprintReferences
10OrangeLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2, D3, D4, D5, D10, D11, D12, D13, D14
4WhiteLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD6, D7, D8, D9
2680Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R5
1100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2
110nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3
1120kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
11MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
11uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1
1220Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
13.3kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6
1GNDTestPoint:TestPoint_Pad_D2.0mmTP2
1KeychainMountingHole:MountingHole_2.5mmH1
1MMBT3906Package_TO_SOT_SMD:SOT-23_HandsolderingQ1
1OUTTestPoint:TestPoint_Pad_D1.5mmTP3
1TLC555CDRPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1VCCTestPoint:TestPoint_Pad_D2.0mmTP1

Similar boards

  • 6 layers148 × 86 mmControl, the printed circuit board in 3D

    Control

    SSL-A-Team/electrical

    circuit board design files, gerbers, and circuit analysis

    243 parts6MIT
  • 4 layers101 × 51.5 mmQuack core, the printed circuit board in 3D

    Quack core

    HeyPCB/quack-core

    Brain board for the Open Duck Mini: Pi Zero 2W carrier, 14-servo STS bus, fused 2S power path in stitched copper zones (15-18 A battery side), USB-C charging with balancing, IMU.

    138 parts1CERN-OHL-S-2.0
  • 4 layers90 × 66 mmIron node, the printed circuit board in 3D

    Iron node

    enkhbold470/iron-node

    ESP32-S3 industrial gateway: W5500 Ethernet, isolated RS-485 (ADM2587E), CAN, 9-36 V input. 4-layer KiCad 10 board.

    83 partsCERN-OHL-S-2.0
  • 2 layers430.6 × 125.8 mmTP Board Iso105, the printed circuit board in 3D

    TP Board Iso105

    TimPaasche/TP-Board-Iso105

    425 parts
  • 2 layersTP Board Iso105-compact, the printed circuit board in 3D

    TP Board Iso105-compact

    TimPaasche/TP-Board-Iso105-compact

    in Planning: a compact Low profile Iso105 Board

    412 parts
  • 2 layers53.9 × 62.6 mmMoon light, the printed circuit board in 3D

    Moon light

    HeyPCB/moon-light

    Luna, the night-light moon: A sleepy moon that turns on at dusk and tucks itself in after you fall asleep. KiCad 10, heypcb.ai merch.

    36 parts1CERN-OHL-S-2.0
  • 6 layers80 × 60 mmIce core, the printed circuit board in 3D

    Ice core

    enkhbold470/ice-core

    iCE40UP5K FPGA board with 8 MB PSRAM and three Pmods, programmed over USB-C by an RP2040. 6-layer KiCad 10 board.

    78 partsCERN-OHL-S-2.0
  • 4 layers84 × 66 mmSpinner, the printed circuit board in 3D

    Spinner

    enkhbold470/spinner

    12-24 V FOC BLDC motor controller: STM32G431, three IR2104 half bridges with 60 V MOSFETs, MT6701 encoder, CAN FD. 4-layer KiCad 10 board.

    87 partsCERN-OHL-S-2.0

Questions

How big is the Ece souvenir PCB?

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

What parts does the Ece souvenir use?

29 parts, built around the XL-1608UOC-06, XL-1608UWC-04, CC0603KRX7R9BB104 and 0603B103K500NT. 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 Ece souvenir KiCad files?

From the patthananb/ECE_Openhouse_Souvenir repository on GitHub, at the commit this page was made from: the board is hardware/ece_souvenir.kicad_pcb and its schematic hardware/ece_souvenir.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ece souvenir design in my own project?

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