Skip to the content
PCBKitNew board
2 layers46.3 × 23.3 mmLEDController, the printed circuit board in 3D

A simple monochromatic LED controller for Home Assistant

Size
46.3 × 23.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
20
Pads
51
Tracks, vias
38, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 May 2025
Updated
19 Aug 2025

Overview

LEDController is an open-source printed circuit board by Pegoku, from the Pegoku/LED-Controller-PCB repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 46.3 × 23.3 mm with 10 parts on 20 nets, routed with 38 tracks and 0 vias.

It is built around the L7805, BS170 and DC-005-A200, with the IRLZ34N and NSR0320MW2T1G among its other parts. Its parts include 3 resistors, 2 ICs, 2 diodes and 2 transistors. It belongs with the ESP32 and RISC-V boards of this library.

Main components

5

README

README.md

LED Controller

A simple monochromatic LED controller for Home Assistant, powered by ESPHome on a XIAO ESP32-C3.

Features

  • Brightness control via Home Assistant UI
  • Over-the-air (OTA) updates

Images

Final project

Final

Schematic

schematic

PCB

PCB design PCB render

BOM

Item NameWhat the item is for in your projectItem sourceItem priceTotal Price
JST XH connectorLight connectorhttps://es.aliexpress.com/item/10050074608978V65.html1.22€77.15€
SS2040FL DiodeReverse polarity protectionhttps://es.aliexpress.com/item/1005009042615388.html5.39€87.75 USD
5.5mm jackPSU connectorhttps://es.aliexpress.com/item/10000000716763.html1.39€
BS170Driver for power mosfethttps://es.aliexpress.com/item/1005007109406326.html1.44€
IRLZ34NPower Mosfethttps://es.aliexpress.com/item/1005007174349301.html1.90€
220 Ω resistorMosfet series resistorhttps://es.aliexpress.com/item/1005006750101049.html1.08€
10 kΩ resistorPullup resistorhttps://es.aliexpress.com/item/1005006750101049.html1.08€
XIAO ESP32C3MCUhttps://es.aliexpress.com/item/1005006828136326.html8.29€
L7805CVRegulate 5Vhttps://es.aliexpress.com/item/1005004989595789.html1.69€
PCBThe main PCBhttps://aisler.com/35.67€
ELEGOO PLA filamentPrinting casehttps://www.amazon.es/-/en/Filament-Printer-Dimensional-Accuracy-Printers/dp/B0CD77VHBZ18€

Configuration

All firmware configuration lives in code.yaml:

yaml
esphome:
  name: led-controller
  friendly_name: LED-Controller

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: arduino

logger:

api:
  encryption:
    key: "YOUR_API_ENCRYPTION_KEY"

ota:
  - platform: esphome
    password: "YOUR_OTA_PASSWORD"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: "Led-Controller"

Parts

10
QtyValueFootprintReferences
2220Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR1, R2
110kResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR3
1BS170Package_TO_SOT_THT:TO-92_InlineQ1
1DC-005-A200easyeda2kicad:DC-IN-TH_DC-005-A200DC1
1IRLZ34NPackage_TO_SOT_THT:TO-220-3_VerticalQ2
1L7805Package_TO_SOT_THT:TO-220-3_VerticalU2
1LED_SeriesConnector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_VerticalD1
1NSR0320MW2T1Geasyeda2kicad:SOD-323_L1.8-W1.3-LS2.5-RDD2
1XIAO-ESP32-C3-DIPSeeed Studio XIAO Series Library:XIAO-ESP32C3-DIPU1

Questions

How big is the LEDController PCB?

It measures 46.3 × 23.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LEDController use?

10 parts, built around the L7805, BS170, DC-005-A200 and IRLZ34N. 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 LEDController KiCad files?

From the Pegoku/LED-Controller-PCB repository on GitHub, at the commit this page was made from: the board is PCB/LEDController/LEDController.kicad_pcb and its schematic PCB/LEDController/LEDController.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LEDController design in my own project?

Its repository publishes it under the GPL-3.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).

Similar boards

  • 2 layers68 × 56 mmStereo, the printed circuit board in 3D

    Stereo

    noranraskin/stereo-hat

    A small, power-efficient AirPlay 2 network amplifier. A custom stereo class-D amplifier HAT sits on a Radxa Zero 3E running NixOS and shairport-sync, so any Apple device (or anything that speaks AirPlay 2) can stream…

    57 parts162GPL-3.0
  • 2 layers160 × 100 mmBase, the printed circuit board in 3D

    Base

    florolf/lab-automation

    Plugs into relay and can be used to provide switchable 5V USB power to downstream devices.

    83 parts1
  • 4 layers250.8 × 30 mmLedTubeFixture, the printed circuit board in 3D

    LedTubeFixture

    adamvotocek/Open-Tube-Light

    work in progress

    201 parts
  • 2 layers55 × 40 mmClock2, the printed circuit board in 3D

    Clock2

    anandijain/clock2-kicad

    I'm not sure why the placement of the resistors, caps, and 555s (and a few other things) is wrong in the 3D file.

    38 parts
  • 2 layers65 × 150 mmNB3 charger, the printed circuit board in 3D

    NB3 charger

    NoBlackBoxes/LastBlackBox

    A course for brains interested in brains (not tools interested in tools)

    60 parts69
  • 2 layers100 × 100 mmChessconnect uP, the printed circuit board in 3D

    Chessconnect uP

    K-0hm/Chessboard

    Code for a chessboard with light and capacitance Touch Sensors.

    93 partsGPL-3.0
  • 2 layers51.4 × 58.4 mmCompact, the printed circuit board in 3D

    Compact

    OpenHumidistat/hardware

    KiCAD design files for PCBs for the OpenHumidistat humidity controller

    28 parts4