Xiao ac dimmer
HarryPehkonen·xiao-ac-dimmer
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.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | H11AA1 | DIP-6_W7.62mm | U1 |
| 1 | MOC3021M | DIP-6_W7.62mm | U2 |
| 1 | BTA16-600B | TO-220-3_Vertical | Q1 |
| 1 | XIAO-ESP32C3 left D0..D6 | PinSocket_1x07_P2.54mm_Vertical | J1 |
| 1 | XIAO-ESP32C3 right 5V..D7 | PinSocket_1x07_P2.54mm_Vertical | J2 |
| 1 | AC IN (cord) | TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J3 |
| 1 | AC OUT (lamp) | TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J4 |
| 1 | 100nF 400V | C_Rect_L7.0mm_W2.0mm_P5.00mm | CS1 |
| 1 | 3.15A | Fuseholder_Clip-5x20mm_Keystone_3512P_Inline_P23.62x7.27mm_D1.02x2.41x1.02x1.57mm_Horizontal | F1 |
| 1 | S14K150 | RV_Disc_D12mm_W4.5mm_P7.5mm | MOV1 |
| 1 | HLK-PM01 5V 0.6A | Converter_ACDC_Hi-Link_HLK-PMxx | PS1 |
| 1 | 100 | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | RS1 |
| 1 | SS14 | D_DO-41_SOD81_P10.16mm_Horizontal | D5 |
| 1 | 470uF 16V | CP_Radial_D8.0mm_P3.50mm | C1 |
| 1 | 100nF | C_Disc_D5.0mm_W2.5mm_P5.00mm | C2 |
| 2 | 47k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2 |
| 1 | 220 | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3 |
| 1 | 1k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4 |
| 1 | 10k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | 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.
- Layoutxiao-ac-dimmer.kicad_pcb
- Schematicxiao-ac-dimmer.kicad_sch
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
ESP32
OSO-BOOK-B1
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8k