Xiao ac dimmer

HarryPehkonen·xiao-ac-dimmer

Xiao ac dimmer PCB layout, top view — open source ESP32 board by HarryPehkonen

About the Xiao ac dimmer PCB

Xiao ac dimmer is an open source ESP32 PCB design by HarryPehkonen, published on GitHub under the Unlicense license. It is a 2-layer board measuring 150 × 57 mm, with 20 components from 19 distinct parts.

Its main chip is the XIAO-ESP32C3 left D0..D6, from the ESP32 family. Other key parts include the H11AA1 and MOC3021M. By type, the board carries 5 resistors, 4 connectors, 2 ICs, 2 capacitors, 1 transistor and 1 fuse.

From the project

One-channel inline AC dimmer for the Seeed XIAO ESP32C3: generated KiCad schematic, ngspice-verified dimming curve, netlist + ERC gates

One-channel inline AC dimmer for a Seeed Studio XIAO ESP32C3 (or any XIAO on the same 14-pad footprint). Mains cord in one end, lamp socket out the other, and the triac dims whatever is plugged in between them. Plug-in bench/room scale — not house wiring.

Status: generated schematic and PCB, both machine-checked. The board is 150 × 57 mm (85.5 cm²), 16/16 nets routed, DRC clean — 0 errors, 0 warnings.

Main components on the Xiao ac dimmer

Xiao ac dimmer bill of materials (BOM)

20 components, 19 distinct parts.

QtyPartRefs
1
H11AA1
U1
1
MOC3021M
U2
1
BTA16-600B
Q1
1
XIAO-ESP32C3 left D0..D6
J1
1
XIAO-ESP32C3 right 5V..D7
J2
1
AC IN (cord)
J3
1
AC OUT (lamp)
J4
1
100nF 400V
CS1
1
3.15A
F1
1
S14K150
MOV1
1
HLK-PM01 5V 0.6A
PS1
1
100
RS1
1
SS14
D5
1
470uF 16V
C1
1
100nF
C2
2
47k
R1, R2
1
220
R3
1
1k
R4
1
10k
R5

Xiao ac dimmer design files

The KiCad project lives in the HarryPehkonen/xiao-ac-dimmer repository on GitHub; these links point at the commit this page was built from.

Xiao ac dimmer: common questions

What microcontroller does the Xiao ac dimmer use?

The Xiao ac dimmer is built around the XIAO-ESP32C3 left D0..D6, from the ESP32 family.

How big is the Xiao ac dimmer PCB?

The Xiao ac dimmer measures 150 × 57 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Xiao ac dimmer?

20 components, from 19 distinct parts. The full bill of materials is listed on this page.

Where can I download the Xiao ac dimmer design files?

From the HarryPehkonen/xiao-ac-dimmer repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the Xiao ac dimmer design in my own project?

Yes, under the terms of its Unlicense license, which HarryPehkonen chose for the repository.

Can I test firmware for the Xiao ac dimmer without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.

Similar boards