Skip to the content
PCBKitNew board
2 layers40 × 27 mmCamera pod, the printed circuit board in 3D

3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer

Size
40 × 27 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
12
Pads
53
Tracks, vias
79, 43
Pours
4
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
16 Oct 2026
Updated
4 Nov 2026

Overview

Camera pod is an open-source printed circuit board by kartben, from the kartben/hw-testing-rack repository on GitHub. It is a 2-layer board of 40 × 27 mm with 25 parts on 12 nets, routed with 79 tracks and 43 vias.

It is built around the AP2114H-3.3TRG1, XL-2835UWC-02 and CC0603KRX7R9BB104, with the CL21A106KAYNNNE, CL31A226KAHNNNE and S8B-PH-SM4-TB(LF)(SN) among its other parts. Its parts include 4 resistors, 4 diodes, 3 capacitors, 2 connectors and 1 IC.

Main components

6

README

README.md

hw-testing-rack

An all-printed, tilted test rack for development boards (12 in its default 4 × 3 layout) — every board in its own sliding drawer, power-switched, current-metered and exposed over the network with USB/IP by a Zephyr-powered ESP32-S3 in each bay.

The rack on a desk, a laptop wired to one bay's front port

▶ Interactive 3D model · Logic analyzer · BOM · Architecture · Mechanics · Cabling · Power · Electronics · Assembly · Firmware · Standalone bays · CI

Highlights

  • Printed panel frame, no aluminium — side walls ("ladders") shared by neighbouring bays, stacked row on row with snap hooks; trays slide into their grooves and click in; a taut X brace behind every bay keeps it square. Rows tilt 20° so every board, LED and label faces you, and the grid grows in both directions.
  • Drawers that stay connected — each bay is a drawer sliding 140 mm along the slope; a drag chain hidden in the floor carries the cable, so you can pull a board out to probe it while it keeps running.
  • One plate for every board — a honeycomb plate in each drawer; clip-in pegs (stops, cams, pins) hold any board on it, placed by a tool from a small board library (UNO, Nucleo-64/144, Pico, nRF DKs, FRDM, …): up to four small boards on one plate.
  • One ESP32-S3 per bay — switches the board's 5 V (current-limited, default on), measures V/I (INA226), drives UART/RESET/BOOT lines, and exports the board's USB with Zephyr's USB/IP host service. Plug a laptop into the bay's front port and the USB data path switches to it — the "classic" way still works, even with no firmware.
  • One USB-C charger — a printed power box under the first column holds the hub: a USB PD 3.1 sink (20 or 28 V from one charger, no mains in the rack) and an eFuse per row; a 60 V-rated buck in every bay. The same row cables carry a CAN bus for the rack controller (can.md).
  • Cameras — an optional Arducam Mega (SPI, ~120° M12 lens) and white LEDs behind a diffuser hang from a bay's ceiling, driven by the bay's own node.
  • Everything is generated from config/rack.yaml: OpenSCAD parts, KiCad schematics and PCBs (schematic-as-code, Freerouting), the BOM with LCSC part numbers, and the interactive viewer.
drawerboards
Bay B3 pulled out, still connected: a DATA ×4 at the back serves two XIAOs and two Pico 2sThe DATA ×4 up close: a USB-C lead per board, Dupont jumpers wiring a UART between two of them (real models)
row Bbay node
Row B: the GIGA's LVGL screen in B2, between two DATA ×4 baysBay node — ESP32-S3 (8 MB PSRAM), 2 USB muxes, TPS26600 eFuse, INA226, CAN, 60 V buck

Neutral technical renders: the rack, one bay exploded, side view.

Repository layout

text
config/rack.yaml          single source of truth (rows, bays, tilt, dimensions, population)
mechanical/               OpenSCAD: lib/, parts/, boards/boards.yaml, generated/ (from the config)
electronics/
  tools/                  schematic-as-code (eda.py), PCB builder (pcbgen.py), catalogue, LCSC resolver
  bay-node/               design.py + generated KiCad project, fab/, docs/
  power-hub/              design.py + generated KiCad project, fab/, docs/
  data-port-x6/           the drawer's DATA ×6, six USB-C, power only (the default): design.py + KiCad, fab/, docs/
  data-port-x4/           the DATA ×4 v2, four USB-C and the logic, for bays with wires: design.py + KiCad, fab/, docs/
  data-port/              the single-port board, retired from the rack, kept for the standalone Solo box
  camera-pod/             the camera pod's board (lead, camera header, 3.3 V, LEDs): design.py + KiCad, fab/, docs/
  lib/                    custom symbol(s), cached JLC basic passives
site/                     GitHub Pages: three.js viewer + BOM page (assets generated)
bom/                      full rack BOM (CSV + summary)
render/                   Blender scene + photoreal renders
tools/                    build.py (config/STL/web), kicad.sh, bom.py, jlc_mcp.py, notice/ (FreeCAD line art)
docs/                     design documentation

Building

Prerequisites: Python ≥ 3.10 with pyyaml numpy trimesh (pip install -r tools/requirements.txt), Docker (for KiCad 10, Freerouting and — if not installed locally — OpenSCAD).

bash
python tools/build.py all                    # config → STLs → web viewer assets
tools/kicad.sh bay-node --route --fab        # schematic, PCB, autoroute, Gerbers/BOM/CPL, renders
tools/kicad.sh power-hub --route --fab
tools/kicad.sh data-port-x6 --fab            # fab outputs of the routed board, no re-route
tools/kicad.sh data-port-x4 --fab
tools/kicad.sh camera-pod --route --fab
python tools/bom.py                          # full rack BOM
python -m http.server -d site 8000           # open http://localhost:8000

Generated outputs (STLs, Gerbers, renders, PDFs, GLBs, the BOM) are committed with the change that alters them, never for a date: python tools/keep_unchanged.py puts back every regenerated file whose content didn't change (tools/kicad.sh … --fab runs it on its board).

For screenshots the viewer takes URL parameters: ?bay=B4&openbay=1&view=dut&hideui pulls bay B4's drawer out and frames its DUT cable (DATA port to board), with no UI. ?bay=B2&view=camera&camlight=1&preview=B2 looks into a camera bay with its LEDs on and opens what its camera sees (an Arducam Mega with a ~120° lens: fisheye, noise, auto-exposure and JPEG, at 5 fps).

The viewer lights the rack like the photos: a real room (Poly Haven's "Small Empty Room 1", CC0, cut to 512 × 256 in site/assets/env/), AgX with Blender's "Medium High Contrast" look, PETG with its layer lines. Its High quality box (on by default on a desktop GPU, off on phones and small GPUs, and dropped by itself under 25 fps) adds ambient occlusion (GTAO), a glow on the status LEDs and the camera lights, 4× MSAA through the post-processing and 4096² sun shadows; ?quality=high or ?quality=low forces one for screenshots.

Photoreal renders (Blender + Cycles) start from render/assembly.glb, baked from the same scene as the viewer by python tools/assembly_glb.py --hq (--hq: full-resolution part meshes instead of the viewer's lighter ones). Either render headless in Docker (tools/render.sh hero) or drive a Blender you already have open — GPU and all — through the Blender MCP add-on's socket:

bash
python tools/blender_live.py exec render/live_scene.py                    # (re)build the scene
python tools/blender_live.py exec render/live_render.py hero              # → docs/img/hero.jpg
python tools/blender_live.py exec render/live_render.py drawer:B3 docs/img/drawer.jpg

python tools/assembly_glb.py --hq --explode-bay B2 --out render/bay-exploded.glb   # one bay, layers apart
python tools/blender_live.py exec render/live_scene.py render/bay-exploded.glb
python tools/blender_live.py exec render/live_render.py exploded

The photo shots (docs/img/photo-*.jpg) use their own scene: a small office lit through a window, PETG with 0.2 mm layer lines and rounded edges, scanned oak and plaster (CC0 textures from Poly Haven), a laptop showing a Zephyr shell, wired to bay B4 by a USB-C cable that hangs as a real one would (a catenary), depth of field, bloom and a vignette, rendered at 2× and averaged down:

bash
python tools/fetch_render_assets.py                     # CC0 textures + vendor board models → render/assets/
python tools/board_models.py                            # normalise the board models (docs/boards-3d.md)
python render/screen_terminal.py                        # the laptop's screen → render/assets/
node tools/lvgl_frame.mjs music 480 800                 # B2's GIGA display: one frame of the viewer's LVGL demo
                                                        # (the drawer fronts' status screens: assembly_glb.py draws them)
python tools/assembly_glb.py --hq --with-pc-cable --open-bays B3 --out render/assembly-photo.glb
python tools/blender_live.py exec render/live_photo.py build
python tools/blender_live.py exec render/live_photo.py shot desk          # desk, drawer, detail → docs/img/photo-*.jpg

Change the rack in config/rack.yaml (tilt, rows, columns, panel thickness, which bays get cameras, which board sits where) and rebuild.

Status

v0.2 — the printed panel frame replaces the aluminium frame, not yet built. Mechanics are printable and parametric, the power box included; still to design: double-width bays (see mechanical.md). Each drawer front carries the node's 1.9" touch display, waiting on the module to check its fit before a test print. Five PCBs (bay node, power hub, DATA port, DATA ×4 v2, camera pod) pass ERC and DRC, are routed and smoothed, and went through a schematic review (schematic-review-2026-10-25.md) and a datasheet audit; none is fabricated yet (see electronics.md). The node firmware: firmware.md. Board outlines marked verified: false in boards.yaml are approximate.

License

Hardware (mechanical and electronics design files): CERN-OHL-P-2.0. Software (tools, viewer, firmware): Apache-2.0. See LICENSE.

Parts

25
QtyValueFootprintReferences
4100Resistor_SMD:R_0805_2012MetricR1, R2, R3, R4
4XL-2835UWC-02LED_SMD:LED_PLCC_2835D1, D2, D3, D4
2GNDTestPoint:TestPoint_Pad_D1.5mmTP1, TP4
2PT2.6MountingHole:MountingHole_2.7mm_M2.5H1, H2
1+3V3TestPoint:TestPoint_Pad_D1.5mmTP3
1100nCapacitor_SMD:C_0603_1608MetricC3
110uCapacitor_SMD:C_0805_2012MetricC1
122uCapacitor_SMD:C_1206_3216MetricC2
1AP2114H-3.3TRG1Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1CAM_5VTestPoint:TestPoint_Pad_D1.5mmTP2
1CSTestPoint:TestPoint_Pad_D1.0mmTP8
1LEADConnector_JST:JST_PH_S8B-PH-SM4-TB_1x08-1MP_P2.00mm_HorizontalJ1
1LED_KTestPoint:TestPoint_Pad_D1.0mmTP9
1MEGAConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical_SMD_Pin1RightJ2
1MISOTestPoint:TestPoint_Pad_D1.0mmTP7
1MOSITestPoint:TestPoint_Pad_D1.0mmTP6
1SCKTestPoint:TestPoint_Pad_D1.0mmTP5

Questions

How big is the Camera pod PCB?

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

What parts does the Camera pod use?

25 parts, built around the AP2114H-3.3TRG1, XL-2835UWC-02, CC0603KRX7R9BB104 and CL21A106KAYNNNE. 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 Camera pod KiCad files?

From the kartben/hw-testing-rack repository on GitHub, at the commit this page was made from: the board is electronics/camera-pod/camera-pod.kicad_pcb and its schematic electronics/bay-node/bay-node.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Camera pod design in my own project?

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

More from kartben/hw-testing-rack

5
  • 4 layers100 × 70 mmData port x4, the printed circuit board in 3D

    Data port x4

    kartben/hw-testing-rack

    3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer

    290 parts
  • 4 layers100 × 70 mmData port x6, the printed circuit board in 3D

    Data port x6

    kartben/hw-testing-rack

    3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer

    187 parts
  • 4 layers76 × 100 mmPower hub, the printed circuit board in 3D

    Power hub

    kartben/hw-testing-rack

    3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer

    181 parts
  • 4 layers74 × 90 mmBay node, the printed circuit board in 3D

    Bay node

    kartben/hw-testing-rack

    3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer

    135 parts
  • 2 layers40 × 17 mmData port, the printed circuit board in 3D

    Data port

    kartben/hw-testing-rack

    3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer

    13 parts

Similar boards

  • 2 layers128 × 100 mmSunface, the printed circuit board in 3D

    Sunface

    greenstitch315/sunface

    A big light for your face so you can wake up

    69 parts1MIT
  • 4 layers82.5 × 90 mmMeshpager, the printed circuit board in 3D

    Meshpager

    FakeApate/pager-kicad

    107 parts
  • 2 layers65 × 58.5 mmCarrier, the printed circuit board in 3D

    Carrier

    open-pasture/opencollar

    OpenCollar: a virtual-fence collar you can buy assembled or build from published parts.

    100 partsApache-2.0
  • 2 layers155.5 × 65.9 mmPicozorro one th, the printed circuit board in 3D

    Picozorro one th

    maximevince/PicoZorro

    Amiga Zorro-II Bus Cards using nothing but an RPi Pico to interact with the bus

    48 parts2
  • 4 layers88.1 × 59.4 mmChromapi motherboard v1, the printed circuit board in 3D

    Chromapi motherboard v1

    Mowibox/chromapi_motherboard

    Raspberry Pi control HAT dedicated to the quadruped robot Chromapi.

    139 parts2Apache-2.0
  • 4 layers50 × 69.5 mmRia, the printed circuit board in 3D

    Ria

    B44ken/ria

    ria is a small wheeled biped built for jumping and fast ground motion.

    107 parts
  • 4 layers100 × 65 mmSi5351AVFO, the printed circuit board in 3D

    Si5351AVFO

    etherkit/Si5351AVFO

    After any schematic change, run tools/exportdocs.sh (needs KiCad 10 kicad-cli). It rewrites docs/Si5351AVFOschematic.pdf, the netlist, SVGs and docs/erc.rpt.

    140 parts
  • 4 layers180 × 100 mmClass board V0.2, the printed circuit board in 3D

    Class board V0.2

    TIGP-Experimental-Methods/class-board-2026

    TIGP class instrument 2026: one board, five blocks - KiCad hardware, ESP32-S3 firmware, phone PWA, Python API, workbook

    342 parts