Hue simple switch

tineira·hue-simple-switch·hardware/kicad/hue-simple-switch-mains.kicad_pcb

Hue simple switch PCB layout, top view — open source ESP32 board by tineira

About the Hue simple switch PCB

Hue simple switch is an open source ESP32 PCB design by tineira, published on GitHub under the MIT license. It is a 2-layer board measuring 42 × 52 mm, with 28 components from 12 distinct parts.

Its main chip is the Seeed Studio XIAO ESP32-C6 (113991254), from the ESP32 family. By type, the board carries 12 resistors, 8 capacitors, 3 connectors, 1 IC, 1 fuse and 1 diode.

It belongs with the iot & wireless designs in this gallery.

From the project

Wi-Fi wall switch for Philips Hue on a Seeed XIAO ESP32-C6, wired to a toggle switch or push buttons. Controls the Hue Bridge over its local API (not Zigbee).

A small board that puts the XIAO ESP32-C6 and its own power supply inside a wall electrical box, powered from the mains, reading the existing wall switches or buttons on D0 to D5. Firmware, pin map and console contract are unchanged: this is the same hue-simple-switch, with a different way to power and wire it.

The XIAO has no 3D model in these renders. It sits flat on the top side, USB-C at the left edge.

Hue simple switch, from the project README
From the project README

Main components on the Hue simple switch

Hue simple switch bill of materials (BOM)

28 components, 12 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
Seeed Studio XIAO ESP32-C6 (113991254)
XIAO ESP32-C6
U1
1
KF128-5.08-2P (Cixi Kefa)
MAINS L/N
J1
1
XY350V-3.5-4P (Ningbo Xinlaiya)
D0 D1 D2 D3
J2
1
KF350-3.5-3P (Cixi Kefa)
D4 D5 GND
J3
1
Littelfuse 37205000001 (TR5 372, time-lag)
T500mA 250V
F1
1
Hi-Link HLK-PM01, 5 V 0.6 A, 3 kVAC isolation
HLK-PM01
PS1
1
TDK SIOV B72650M0271K072 (CU3225K275G2), 275 VAC, SMD 3225
275VAC
RV1
1
SS34
D1
2
CL21A226MAQNNNE
22uF 25V
C1, C2
6
0603B103K500NT
10nF
C11, C12, C13, C14, C15, C16
6
0603WAF1002T5E
10k
R1, R2, R3, R4, R5, R6
6
0603WAF1001T5E
1k
R11, R12, R13, R14, R15, R16

Hue simple switch design files

The KiCad project lives in the tineira/hue-simple-switch repository on GitHub; these links point at the commit this page was built from.

Hue simple switch: common questions

What microcontroller does the Hue simple switch use?

The Hue simple switch is built around the Seeed Studio XIAO ESP32-C6 (113991254), from the ESP32 family.

How big is the Hue simple switch PCB?

The Hue simple switch measures 42 × 52 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Hue simple switch?

28 components, from 12 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the Hue simple switch design files?

From the tineira/hue-simple-switch repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Hue simple switch design in my own project?

Yes, under the terms of its MIT license, which tineira chose for the repository.

Can I test firmware for the Hue simple switch 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