Skip to the content
2 layers81.8 × 69.4 mmLayouts, the printed circuit board in 3D

My journey from Altium frustration to code-driven PCB bliss. WiFi LED controller (ESP32 + 25 RGB LEDs) designed in 85 lines of Atopile code during a workshop with the founders in San Francisco. Hardware development just became as powerful as software.

Size
81.8 × 69.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
70
Pads
171
Tracks, vias
262, 2
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Jun 2025
Updated
2 Aug 2025

Overview

Layouts is an open-source printed circuit board by jaikr-dev, from the jaikr-dev/wled-board-atopile-workshop repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 81.8 × 69.4 mm with 32 parts on 70 nets, routed with 262 tracks and 2 vias.

Its parts include 25 diodes, 3 capacitors, 2 ICs and 1 resistor. It belongs with the radio and wireless boards of this library.

README

README.md

WLED Board Workshop

When I Discovered Code-Driven PCB Design

Atopile KiCad ESP32 WS2812B License

WLED Board Assembly

This isn't just another LED controller board. It's the moment I realized PCB design could be as elegant and collaborative as software development.

Built during a workshop with Atopile's founders in San Francisco, this WiFi-enabled LED controller represents a complete paradigm shift: 25 individually addressable RGB LEDs controlled by an ESP32, all designed through code instead of traditional schematic capture. Every component placement, every connection, every design decision expressed in 85 lines of readable, maintainable, Git-trackable code.

💡 The Problem I Couldn't Ignore

I've always loved PCB design because it demands creativity and precision in an incredibly constrained environment. PCBs are the invisible backbone of innovation. Literally everything electronic runs off one. But despite this fundamental importance, the tools we use to design them are... frustrating.

Even after getting comfortable with Altium, there's always something breaking. No uniformity in how anyone uses the tools. Endless repetitive work: connecting the same resistor to every LED, manually routing similar circuits over and over. And collaboration? Forget about it. It's nothing like the seamless git workflow we take for granted in software.

The breaking point was realizing I couldn't reuse anything. Every 555 timer circuit, every power supply, every LED driver gets designed from scratch each time, even though they're fundamentally identical.

That's when I started wondering: "What if PCB design worked like software development?"

🔍 What Atopile Actually Changes

This workshop wasn't just about learning a new tool. It was about discovering a completely different way to think about hardware design:

Modularity: Design a LED column once, instantiate it five times with new LEDColumn[5].
Reusability: Import someone else's ESP32 module and just use it.
Collaboration: Git commits, pull requests, and merge conflicts... for hardware.
Automation: Built-in assertions catch errors before they become expensive mistakes.
Speed: 10x faster iteration because you're not manually placing and connecting everything.

The magic moment was looking at 85 lines of Atopile code and realizing it completely described a WiFi-enabled LED controller that would have taken me days to design traditionally.

🏗️ How It's Actually Built

The elegance is in how everything connects. Here's the complete architecture in 85 lines of code:

The Modular Approach

ato
# Five LED columns, each with 5 WS2812B LEDs
led_columns = new LEDColumn[5]

# Power them all with a simple loop
for led_column in led_columns:
    power_5v ~ led_column.power_5v

# Chain the data signals
led_columns[0].data_out ~ led_columns[1].data_in
led_columns[1].data_out ~ led_columns[2].data_in
# ...and so on

That's it. No manual component placement, no repetitive connections. Define the pattern once, scale it infinitely.

The Circuit Reality (It's pretty simple)

  • ESP32-WROOM-32-N4: WiFi-enabled microcontroller running the show
  • SN74AHCT125PWR: Level shifter converting 3.3V logic to 5V LED signals
  • USB-C power: Clean 5V input with proper decoupling (470µF caps where they belong)
  • 100Ω series resistor: Signal integrity for the data line
  • 25 WS2812B LEDs: Individually addressable RGB pixels in a 5×5 matrix

Why This Matters Technically

Traditional PCB tools would require manually placing 25 LEDs, drawing 75+ connections, and praying you didn't miss anything. With Atopile, you define a LEDColumn module once and instantiate it five times. Change your mind about the LED count? Edit one number. Need different LEDs? Swap the import. Want 10 columns instead of 5? new LEDColumn[10].

WLED Board Assembly

🛠️ Try It Yourself

Clone this repo and you'll have a working WLED controller in minutes:

bash
git clone https://github.com/your-username/wled-board-atopile-workshop.git
cd wled-board-atopile-workshop

# Generate the complete board layout
ato build

# Or build just the LED column for testing
ato build led_column

Prerequisites: Atopile 0.9.2+, KiCad 7.0+, and Git

The real magic happens when you start modifying. Want 10 LED columns instead of 5? Change one line: led_columns = new LEDColumn[10]. Need different LEDs? Swap the import in LEDColumn.ato. Add sensors? Create new .ato modules and import them.

This is what modular hardware design looks like.

📁 Project Structure

text
wled-board-atopile-workshop/
├── main.ato                    # Main WLED controller with ESP32, level shifter, power management
├── LEDColumn.ato              # Reusable LED column module (5 WS2812B LEDs)
├── ato.yaml                   # Atopile project configuration and build targets
├── layouts/                   # Generated KiCad PCB layouts
│   ├── default/              # Complete board layout
│   └── led_column/           # Individual LED column for testing
├── parts/                    # Component libraries with specs and 3D models
│   ├── Espressif_Systems_ESP32_WROOM_32_N4/
│   ├── Texas_Instruments_SN74AHCT125PWR/    # Level shifter
│   ├── XINGLIGHT_XL_5050RGBC_WS2812B/       # RGB LEDs
│   ├── SHOU_HAN_TYPE_C_6P/                  # USB-C connector
│   └── ...                   # Passive components (resistors, capacitors)
├── assembled_boards.jpg      # Final boards in action
├── kicad_3d_model.png       # 3D render
└── workshop_photo.jpeg      # Workshop memories

The beauty is in the organization: everything needed for a complete PCB design, from component libraries to 3D models, all version-controlled and shareable.

📷 San Francisco Workshop

Workshop with Atopile Founders

This board came to life during an incredible weekend in San Francisco. Ioannis and Narayan, Atopile's co-founders, hosted me and two friends while I was in town for Y Combinator's AI Startup School. What struck me wasn't just their technical brilliance, but how genuinely excited they get about solving real problems in hardware design.

The learning curve was real. Switching from visual schematics to thinking about circuits as code took genuine mental rewiring. But watching a complete PCB design emerge from readable, logical code? That moment of understanding felt like discovering a superpower.

🔮 What This Actually Enables

Here's what gets me excited about where this is heading:

Right now: I can design a functional PCB in the time it used to take me to place components.
Soon: AI will generate working circuit modules from simple prompt.
Eventually: Hardware development becomes as collaborative and fast as software. Have a look at this LinkedIn post from Ioannis.

The bigger picture isn't just faster PCB design. It's bringing hardware development into the same ecosystem of tools, practices, and collaboration that made software development so powerful. When every circuit is a reusable module, when hardware designs can be forked and improved like code, when AI can generate working PCBs from prompts... that changes everything.

🙏 Thanks

Massive thanks to Ioannis and Narayan for the incredible workshop and for building something that genuinely changes how we think about hardware design. They're not just improving tools, they're redefining what's possible.

I'm always willing to learn new things if they help me work faster, create better quality, and raise my baseline. Atopile delivers on that promise in ways I didn't think were possible.


This isn't just a WLED board. It's proof that the future of hardware design is already here. When I look at these 85 lines of code that completely describe a WiFi-enabled LED controller, I see the same revolutionary potential that transformed software development decades ago.

The paradigm shift is happening. Code-driven hardware is real, and it's incredible.

License: Apache 2.0 (LICENSE.txt)

P.S. - If you're still wrestling with traditional schematic capture, try Atopile. Your future self will thank you.

Parts

32
QtyValueFootprintReferences
25XINGLIGHT_XL_5050RGBC_WS2812B:LED-SMD_4P-L5.0-W5.0-BL_XL-5050RGBCLED1, LED2, LED10, LED11, LED12, LED13, LED14, LED15, LED16, LED17, LED18, LED19, LED20, LED21, LED22, LED23 +9
2470µF ±10%AVX_TAJD477K006RNJ:CASE-D_7343C2, C3
1SHOU_HAN_TYPE_C_6P:TYPE-C-SMD_TYPE-C-6PUSB1
1Espressif_Systems_ESP32_WROOM_32_N4:WIFIM-SMD_ESP32-WROOM-32-N4U1
1Texas_Instruments_SN74AHCT125PWR:TSSOP-14_L5.0-W4.4-P0.65-LS6.4-BLU2
1100nF ±10% 16V X7RSamsung_Electro_Mechanics_CL05B104KO5NNNC:C0402C1
1100Ω ±1% 62.5mWUNI_ROYAL_0402WGF1000TCE:R0402R1

More from jaikr-dev/wled-board-atopile-workshop

1
  • 2 layersLed column, the printed circuit board in 3D

    Led column

    jaikr-dev/wled-board-atopile-workshop

    My journey from Altium frustration to code-driven PCB bliss. WiFi LED controller (ESP32 + 25 RGB LEDs) designed in 85 lines of Atopile code during a workshop with the founders in San Francisco.

    5 parts2Apache-2.0

Similar boards

  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    32 parts1kGPL-3.0
  • 2 layers136.8 × 54.2 mmRetropie zero, the printed circuit board in 3D

    Retropie zero

    hackclub/OnBoard

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

    32 parts915
  • 2 layersMooltipass top, the printed circuit board in 3D

    Mooltipass top

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    32 parts531
  • 2 layers16 × 20 mmESPKey, the printed circuit board in 3D

    ESPKey

    octosavvi/ESPKey

    Wiegand data logger, replay device and micro door-controller

    32 parts353GPL-2.0
  • 2 layers82 × 40.9 mmDisplay7447, the printed circuit board in 3D

    Display7447

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    32 parts269
  • 2 layers40 × 38 mmShield, the printed circuit board in 3D

    Shield

    murexrobotics/electrical

    Highly integrated electronics design and printed circuit boards (PCBs) for the MATE ROV Competition. Attempt the impossible.

    32 parts192MIT
  • 2 layers47 × 39 mmQrss clock tx, the printed circuit board in 3D

    Qrss clock tx

    swharden/AVR-projects

    A collection of standalone AVR projects written in C

    32 parts184MIT
  • 2 layers30.9 × 63 mmStm32-io extend, the printed circuit board in 3D

    Stm32-io extend

    hardenedlinux/cheap-pcb

    Cheap PCB: Better understanding the current status of hardware supply chain

    32 parts170CC0-1.0

Questions

How big is the Layouts PCB?

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

What parts does the Layouts use?

32 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 jaikr-dev/wled-board-atopile-workshop repository on GitHub, at the commit this page was made from: the board is 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 publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).