

LED controller Rev 1.1
A modular and repairable power bank
- Size
- 75 × 18.4 mm
- Copper layers
- 2
- Thickness
- 0.8 mm
- Parts
- 64
- Nets
- 51
- Pads
- 213
- Tracks, vias
- 392, 42
- Pours
- 6
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 18 Jul 2026
- Updated
- 5 Nov 2026
Overview
LED controller Rev 1.1 is an open-source printed circuit board by marksdude, from the marksdude/Pikne repository on GitHub. It is a 2-layer board of 75 × 18.4 mm with 64 parts on 51 nets, routed with 392 tracks and 42 vias.
It is built around the ESP32-C3-WROOM-02-H4, TPS62A02APDDC and AO3400A. Its parts include 27 resistors, 14 capacitors, 6 ICs, 6 connectors and 3 transistors. It belongs with the ESP32 and RISC-V boards of this library.
Main components
3ESP32-C3-WROOM-02-H4
SMD,20x18mm-105dBm -40℃~+105℃ 2.4GHz 20.5dBm 345mA 3V~3.6V 82mA Bluetooth5.0 ESP32-C3 On-board PCB Antenna UART、SPI、I2C、I2S、USB SMD,20x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesTPS62A02APDDC
TSOT-23-6-40℃~+125℃@(TJ) 1 2.4MHz 2.5V~5.5V 23uA 2A Adjustable Buck Buck Built-in Yes TSOT-23-6 DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersAO3400A
SOT-23-55℃~+150℃ 1 N-channel 1.45V 1.4W 30V 48mΩ@2.5V 5.7A 50pF 630pF 75pF 7nC@10V N-Channel SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETs
README
README.mdPikne
A modular and repairable power bank
Picture of rev 1.0 nonworking build
Features:
- USB PD output up to 60W
- 0.91 inch OLED for status monitoring
- Attachable modules
- Repairable design
- 80WH capacity
- Based on the BQ25792 and TPS25751
- One USB-C output
Modules:
- LED controller - Allows you to control LEDs with Home Assistant.
- Features:
- Up to 2.5A output
- 5V output
- Home Assistant integration
- Power monitoring on each output
- 2 monochrome outputs, 1 RGB output and 1 addressable LED output
- Note: RGB and the monochrome outputs can't be used simultaneously.
- ESP32-C3 based
- Features:

- Flashlight
- Features:
- 6600lm max brightness
- Note: The LEDs probably won't be able to run at max brightness for very long.
- PWM dimmable
- STM32L011F3 based
- 6600lm max brightness
- Features:
Coming modules
- LiPo charger - Allows you to charge up to 4S LiPos from your power bank
How does it work?
Core functionality comes from the TPS25751 and BQ25792 combination.
The TPS25751 is a USB-C PD controller IC. It handles PD negotiations, manages the BQ25792 and also has integrated I2C control for the BQ25792, which simplified firmware development.
The BQ25792 is a battery charger IC with support for USB-C PD output. It charges the battery and generates higher voltages (9V, 12V, 15V, 20V) for the USB C PD output. For 5V there is a separate regulator.
For example, if you connect a device you want to charge, first your device negotiates its required voltage and current with the TPS25751. Then the TPS25751 asks the BQ25792 to generate the requested voltage if it is above 5V. Once the correct voltage is available, the TPS25751 enables the output and your device starts charging.
An ATmega328P acts as the main controller. It monitors everything, handles faults, displays battery information and communicates with the modules.
Modules can communicate with the power bank over UART through the pogo pins above the USB-C port. A connected module is idendified with an ID number sent by the module (1 for LED controller, 2 for Flashlight). The module can then request battery information or use the button on the power bank for additional control.
LED controller
The LED controller is based on an ESP32-C3-WROOM-02U that is running ESPHome. There are 3 external MOSFETs that are used for the two monochrome outputs and one RGB output. An RGB output needs three MOSFETs, one for each color channel. Since there are only three, the monochrome outputs have to be connected together with two of the RGB channels. This is why the monochrome and RGB outputs can't be used simultaneously. INA219s are used for monitoring power draw of each output.
Wiring
All of the smaller connectors are JST-ZH, while the battery connectors are JST-VH.
The main PCB has 4 connectors. One goes to the pogo connector, two to the BMS and one is for programming.

On the BMS two connectors go to the main PCB and two to the battery pack.

The battery is connected in a 2S2P configuration. There are cutouts in the bottom of the battery holder for routing the wires and for the thermistors. BAT+ and BAT- connect to the BMS input, thermistors and the balance lead connect to the BMS battery sense connector.
The button has to be soldered to the main PCB. The pogo connector is connected to the main PCB.
LED controller
Not much wiring to do here just connect the pogo connector to the PCB.
Output pinout:

Firmware
Firmware is currently very limited. Version 0.1 has a basic menu to check some battery information, that's about it. It relies on the ArduinoSMBus library for communicating with the BMS and the Adafruit_SSD1306 and Adafruit GFX Library libraries for drawing on the OLED. I plan to move away from these libraries in the future.
There is still a lot left to be implemented.
Why did I make this?
It all started because I was tired of changing the AA batteries in my mom's battery-powered lights. I wanted to make the process faster and less wasteful, so I thought it would be a good idea to design an easily removable, rechargeable battery pack for the lights and also integrate them with Home Assistant. The original idea was going to have 2 parts the battery pack and a controller board. They were supposed to be held together with magnets, connected with pogo pins and communicate over UART. Then I thought, why not turn the battery pack into a power bank so it could be used for things other than the lights? That's what I did. The idea of making the battery pack easily removable led me to make the power bank modular. That's how Pikne was born.
Parts
64| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 10 | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R13, R14, R17, R18, R20, R21, R23, R24 |
| 8 | 100nF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C5, C6, C7, C9, C10, C12, C13, C14 |
| 6 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R6, R7, R8, R10, R11 |
| 4 | 20m | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15, R16, R19, R22 |
| 4 | INA219AxDCN | Package_TO_SOT_SMD:SOT-23-8 | U1, U2, U3, U5 |
| 3 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3 |
| 2 | 22 | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R26, R27 |
| 2 | 4.7k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R9, R12 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R4, R5 |
| 2 | LED | Connector_JST:JST_XH_S2B-XH-A-1_1x02_P2.50mm_Horizontal | J1, J2 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3 |
| 1 | 100nF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C8 |
| 1 | 120pf | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C3 |
| 1 | 150k | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R25 |
| 1 | 1uH | Inductor_SMD:L_1008_2520Metric_Pad1.43x2.20mm_HandSolder | L1 |
| 1 | 1uf | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C4 |
| 1 | 22uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C11 |
| 1 | 22uf | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2 |
| 1 | 3.3V | TestPoint:TestPoint_Pad_D1.0mm | TP1 |
| 1 | 300k | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R1 |
| 1 | 4.7uf | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1 |
| 1 | 5V | TestPoint:TestPoint_Pad_D1.0mm | TP2 |
| 1 | BOOT | Button_Switch_SMD:SW_SPST_B3U-1000P | SW3 |
| 1 | ESP32-C3-WROOM-02 | RF_Module:ESP32-C3-WROOM-02U | U7 |
| 1 | ON/OFF | Button_Switch_SMD:SW_SPST_B3U-1000P | SW1 |
| 1 | RESET | Button_Switch_SMD:SW_SPST_B3U-1000P | SW2 |
| 1 | RGB 2A max | Connector_JST:JST_XH_S3B-XH-A-1_1x03_P2.50mm_Horizontal | J5 |
| 1 | RGB 2A max | Connector_JST:JST_XH_S4B-XH-A-1_1x04_P2.50mm_Horizontal | J4 |
| 1 | TPS62A02APDDC | Package_TO_SOT_SMD:SOT-23-6 | U4 |
| 1 | UART | Connector_JST:JST_ZH_B3B-ZR_1x03_P1.50mm_Vertical | J7 |
| 1 | UP32-1-C-H-G-BMT-P24 | UP32-1-C-H-G-BMT-P24:SAMESKY_UP32-1-C-H-G-BMT-P24 | J3 |
The 62 most common of 64 parts.
More from marksdude/Pikne
7- 2 layers72 × 26.7 mm

- 4 layers60 × 30 mm

- 2 layers73 × 20.8 mm

- 2 layers74 × 21.5 mm

- 4 layers50.9 × 18 mm

- 2 layers25 × 6.5 mm

- 2 layers37.5 × 10 mm

Similar boards
- 4 layers65 × 56.5 mm

ROV PCIE USB HUB FINAL
samnadol/ROV_PCIe_USB_HUB
up-to-16 port USB hub + PCIe host controller "hat" for Pi 5
171 parts - 4 layers100 × 65 mm

- 6 layers50 × 60 mm

Healthylink compute v5
Protocentral/protocentral_healthypi6_hardware
Open hardware design files for HealthyPi 6 — STM32H757 vital-signs monitor with the HealthyLink modular expansion bus
124 parts2CERN-OHL-P-2.0 - 4 layers132.5 × 82 mm

Wandfernsprecher
hanebefl/wandfernsprecher-hw
GSM conversion for a old German Wandfernsprecher telephone
93 parts6 - 4 layers51 × 33 mm

- 2 layers64 × 38 mm

Ledctl
BilginistAdam/esp32-led-controller
12–24 V LED şeritleri WiFi üzerinden açıp kapatan ve PWM ile dimleyen küçük bir kontrol kartı. Proje KiCad donanım dosyalarını, iki firmware seçeneğini (ESPHome / PlatformIO) ve 3D yazıcıyla basılabilen bir kutuyu…
36 parts - 6 layers63 × 73.2 mm

Chris
dashonigkuchen/embedded-projects
A collection of embedded development projects, experiments, and hardware/software prototypes.
89 partsMIT - 4 layers85 × 40 mm

Wled controller
electro-practically/wled-controller
WLED ESP32 controller powered by USB-C Power Delivery.
99 partsCERN-OHL-P-2.0
Questions
How big is the LED controller Rev 1.1 PCB?
It measures 75 × 18.4 mm and has 2 copper layers, 0.8 mm thick.
What parts does the LED controller Rev 1.1 use?
64 parts, built around the ESP32-C3-WROOM-02-H4, TPS62A02APDDC and AO3400A. 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 LED controller Rev 1.1 KiCad files?
From the marksdude/Pikne repository on GitHub, at the commit this page was made from: the board is Modules/LED controller/PCB/LED controller/LED controller Rev 1.1.kicad_pcb and its schematic BMS/BMS Rev 1.1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the LED controller Rev 1.1 design in my own project?
Its repository states no licence, so its author keeps all rights: ask marksdude before reusing the design.