
LEDBrickHome
solhuebner/LEDBrickHome
Wi-Fi controller compatible with various Lego Lighting kits

Wi-Fi controller compatible with various Lego Lighting kits
LEDBrickHome is an open-source printed circuit board by solhuebner, from the solhuebner/LEDBrickHome repository on GitHub, published under the CERN-OHL-W-2.0 licence. It is a 2-layer board of 95.3 × 44.5 mm with 62 parts on 72 nets, routed with 459 tracks and 89 vias.
It is built around the ESP32-WROOM-32E-N16, AZ1117IH-3.3TRG1 and 2N7002K, with the SM02B-SURS-TF, SM04B-SURS-TF and BC817 among its other parts. Its parts include 22 connectors, 18 transistors, 10 resistors, 7 capacitors and 3 ICs. It belongs with the lEDs and displays and radio and wireless boards and the ESP32 boards of this library.
Wi-Fi controller compatible with various Lego Lighting kits, designed to enable integration of lighting into Home Assistant via ESPHome. Supports single colour and RGB dimmable lights, lighting effects and use in scenes.

[!WARNING]
Versions up to and included v1.1 have a hardware design issue that prevents the use of USB-C to USB-C cables. They will work correctly with USB-A to USB-C cables.
Different versions of LEDBrickHome may exist in the future with different numbers of output connectors (e.g. to reduce cost or size).
To maximise available number of channels, RGB (4-pin) outputs are shared with single colour (2-pin) outputs. In other words, a 16 PWM controller can support a total of 16 different outputs of a single colour, but for each RGB output used, three single colour outputs are lost.
| Version | Total PWM Outputs | 2-pin outputs | 4-pin outputs | Dimensions |
|---|---|---|---|---|
| 16ch-v1.0 | 16 | 16 | 5 | 96 x 45 mm |
| 16ch-v1.1 | 16 | 16 | 5 | 68 x 45 mm |
16ch-v1 is based on an ESP32-WROOM (exact memory size does not matter), uses a CP2102N (drivers) for it's USB->UART bridge, and is powered by a USB-C connector. Outputs are grouped in blocks and identified on the silkscreen which 2-pin outputs are shared with 4-pin outputs.

16ch-v1.1 is a smaller version of the previous 16ch design, using a CH340C (drivers) for it's USB->UART bridge, but is otherwise functionally identical.
Various effects are available in ESPHome, which are explained in the documentation, some of these are included in the code examples already. For flickering torch effects, the default flicker intensity (of 1.5%) will want to be increased. The demo video above has flicker set at 10%.
LEDBrickHome is compatible with lighting kits that use a JST SUR connector with 5V on pin 1, and switched 0V on pin 2 (plus pins 3 & 4 for RGB connectors).
The below table shows the results of our testing. You should verify connector type and pinout yourself for your own project.
| Light System | Compatible? | Notes |
|---|---|---|
| Light My Bricks V1 | :white_check_mark: | |
| Light My Bricks V2 | :x: | Swapped to a flat ribbon style connector |
| Briksmax V1 | :white_check_mark: | |
| Briksmax V2 | :x: | Similar but not compatible with JST SUR |
| Kyglaring | :white_check_mark: |

Note, order of Red, Green and Blue channels is not important and can be changed in your configuration file.
The PCB design is created in KiCAD V7, and is a simple 2-layer PCB.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | 2N7002K | Package_TO_SOT_SMD:SOT-23 | Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17, Q18 |
| 16 | SM02B-SURS-TF | Connector_JST:JST_SUR_SM02B-SURS-TF_1x02-1MP_P0.80mm_Horizontal | J2, J3, J4, J5, J6, J7, J8, J9, J10, J11, J12, J13, J14, J15, J16, J17 |
| 5 | SM04B-SURS-TF | Connector_JST:JST_SUR_SM04B-SURS-TF_1x04-1MP_P0.80mm_Horizontal | J18, J19, J20, J21, J22 |
| 3 | 10k | Resistor_SMD:R_0402_1005Metric | R6, R7, R10 |
| 3 | 10u | Capacitor_SMD:C_0603_1608Metric | C1, C2, C5 |
| 2 | 0 | Resistor_SMD:R_0402_1005Metric | R8, R9 |
| 2 | 100n | Capacitor_SMD:C_0603_1608Metric | C3, C4 |
| 2 | 1u | Capacitor_SMD:C_0603_1608Metric | C6, C7 |
| 2 | 5k1 | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | BC817 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 2 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2 | SW1, SW2 |
| 1 | 1k | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | 22k1 | Resistor_SMD:R_0402_1005Metric | R5 |
| 1 | 47k5 | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | AZ1117IH-3.3TRG1 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | CP2102N-Axx-xQFN24 | Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mm | U3 |
| 1 | ESP32-WROOM-32E-N16 | Espressif:ESP32-WROOM-32E | U4 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |

solhuebner/LEDBrickHome
Wi-Fi controller compatible with various Lego Lighting kits



hatlabs/HALMET-hardware
Hat Labs Marine Engine & Tank interface hardware design files


AndreasNielsen4000/Group-7-IoT-Project
The project is a wireless speaker system that can play music from a Bluetooth or WiFi source. The system consists of four main parts with subcomponents:


LManuC/ProyectoFinal-Grupo5-VariadorDeFrecuencia
Variador de frecuencia para motores de 1/3HP trifásicos de 0-500Hz

ryanbjohnson/PentairMasterTempESP32
This folder is the KiCad project area for the MasterTemp 125 ESP32 interface board.
It measures 95.3 × 44.5 mm and has 2 copper layers, 1.6 mm thick.
62 parts, built around the ESP32-WROOM-32E-N16, AZ1117IH-3.3TRG1, 2N7002K and SM02B-SURS-TF. 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.
From the solhuebner/LEDBrickHome repository on GitHub, at the commit this page was made from: the board is PCB/16ch-v1/LEDBrickHome.kicad_pcb and its schematic PCB/16ch-v1.1/LEDBrickHome.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CERN-OHL-W-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).