

LED driver Rev 1.1
A modular and repairable power bank
- Size
- 73 × 20.8 mm
- Copper layers
- 2
- Thickness
- 0.8 mm
- Parts
- 67
- Nets
- 52
- Pads
- 224
- Tracks, vias
- 194, 78
- Pours
- 11
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 18 Jul 2026
- Updated
- 5 Nov 2026
Overview
LED driver 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 73 × 20.8 mm with 67 parts on 52 nets, routed with 194 tracks and 78 vias.
It is built around the TVS2200DRV and USB4180-03-0120-C. Its parts include 22 resistors, 21 capacitors, 5 ICs, 5 connectors and 3 diodes. It belongs with the STM32 boards of this library.
Main components
2TVS2200DRV
WSON-6-EP(2x2)-40℃~+125℃ 1.12kW@8/20us 105pF 22V 25.9V 28V 3.5nA 40A@8/20us IEC 61000-4-2、IEC 61000-4-5 TVS Unidirectional WSON-6-EP(2x2) ESD and Surge Protection (TVS/ESD) ROHSTexas InstrumentsESD And Surge Protection (TVS/ESD)USB4180-03-0120-C
USB-SMDUSB-SMD New Arrivals ROHSGlobal Connector Technology (GCT)Uncategorised
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
67| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 0.1uf | Capacitor_SMD:C_0402_1005Metric | C7, C25, C26, C30, C31, C37, C39 |
| 3 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R3, R34 |
| 3 | 10uf | Capacitor_SMD:C_0603_1608Metric | C27, C29, C38 |
| 3 | 1uf | Capacitor_SMD:C_0603_1608Metric | C17, C18, C24 |
| 3 | 1uf | Capacitor_SMD:C_0402_1005Metric | C3, C19, C21 |
| 3 | 4.7k | Resistor_SMD:R_0603_1608Metric | R42, R43, R44 |
| 3 | TestPoint | TestPoint:TestPoint_Pad_D1.0mm | TP1, TP2, TP3 |
| 2 | 100 | Resistor_SMD:R_0402_1005Metric | R40, R41 |
| 2 | 100k | Resistor_SMD:R_0603_1608Metric | R2, R38 |
| 2 | 10uf | Capacitor_SMD:C_1206_3216Metric | C1, C2 |
| 1 | 100k | Resistor_SMD:R_0402_1005Metric | R46 |
| 1 | 10k | Resistor_SMD:R_0402_1005Metric | R50 |
| 1 | 135k | Resistor_SMD:R_0402_1005Metric | R48 |
| 1 | 15uh | Inductor_SMD:L_Bourns_SRP1038C_10.0x10.0mm | L1 |
| 1 | 1k | Resistor_SMD:R_0402_1005Metric | R12 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R37 |
| 1 | 20m | Resistor_SMD:R_1206_3216Metric | R4 |
| 1 | 22k | Resistor_SMD:R_0603_1608Metric | R39 |
| 1 | 22uf | Capacitor_SMD:C_0805_2012Metric | C28 |
| 1 | 24.9k | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | 3.3uh | Inductor:INDC3225X120N | L2 |
| 1 | 30k | Resistor_SMD:R_0402_1005Metric | R45 |
| 1 | 470 | Resistor_SMD:R_0603_1608Metric | R36 |
| 1 | 470pf | Capacitor_SMD:C_0402_1005Metric | C4 |
| 1 | 47pf | Resistor_SMD:R_0402_1005Metric | C32 |
| 1 | 50k | Resistor_SMD:R_0402_1005Metric | R47 |
| 1 | 71.5k | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 810ma | Diode_SMD:D_SMF | D1 |
| 1 | Conn_01x04_Socket | Connector_JST:JST_ZH_B4B-ZR_1x04_P1.50mm_Vertical | J6 |
| 1 | DMP3014SFDE-13 | MOSFET:DMP1022UFDEQ7 | Q10 |
| 1 | D_Schottky | Diode_SMD:D_SOD-323_HandSoldering | D2 |
| 1 | LED | Connector_JST:JST_XH_S2B-XH-A-1_1x02_P2.50mm_Horizontal | J7 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D7 |
| 1 | LM3409MY_NOPB | Buck_Regulator:SOP50P490X109-11N | IC1 |
| 1 | NTC | Connector_JST:JST_ZH_B2B-ZR_1x02_P1.50mm_Vertical | J3 |
| 1 | SISA35DN-T1-GE3 | MOSFET:SISA35DNT1GE3 | Q1 |
| 1 | STM32L011F3Px | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U4 |
| 1 | STUSB4500QTR | Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.7x2.7mm | U2 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_B3U-1000P | SW3 |
| 1 | SW_Push | Button_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx39-2LFS | SW1 |
| 1 | TPS562246DRLR | SOTFL50P160X60-6N:SOTFL50P160X60-6N | U5 |
| 1 | TVS2200DRV | Package_SON:WSON-6-1EP_2x2mm_P0.65mm_EP1x1.6mm | U1 |
| 1 | UART | Connector_JST:JST_ZH_B3B-ZR_1x03_P1.50mm_Vertical | J5 |
| 1 | USB4180-03-0120-C | USB:USB4180030120C | J1 |
The 65 most common of 67 parts.
More from marksdude/Pikne
7- 2 layers72 × 26.7 mm

- 4 layers60 × 30 mm

- 2 layers75 × 18.4 mm

- 2 layers74 × 21.5 mm

- 4 layers50.9 × 18 mm

- 2 layers25 × 6.5 mm

- 2 layers37.5 × 10 mm

Similar boards
- 2 layers197.5 × 33 mm

- 6 layers133 × 92 mm

Motherboard
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.
264 parts4.3kMIT - 4 layers79.5 × 64.5 mm

RP2350 Duel
OpenStickCommunity/Hardware
A collection of hardware designs by members of the OpenStickCommunity
45 parts338 - 13 layers38.5 × 38.5 mm

Xbox Charge
Redherring32/100W-Charging-PCB
100W USB C PD Lithium Ion charging PCB based on the TPS25750D and BQ25713
90 parts43 - 2 layers59 × 20 mm

- 2 layers29.4 × 61.1 mm

Unwired
NoxAevi/Unwired
Unwired is a project that aims to take a USB peripheral (like a mouse/keyboard) and allow you to connect to it wirelessly while simultaniously being as compact as possible because wired stuff can be pretty annoying at…
90 parts1GPL-3.0 - 6 layers180 × 74 mm

- 4 layers52 × 52 mm

CombinedLEDdriverMAX278
williamlin108/Olympus-BH-2-LED-Module-G031xMAX20078
Smart Microscope LED Driver based on STM32G431
75 parts1Apache-2.0
Questions
How big is the LED driver Rev 1.1 PCB?
It measures 73 × 20.8 mm and has 2 copper layers, 0.8 mm thick.
What parts does the LED driver Rev 1.1 use?
67 parts, built around the TVS2200DRV and USB4180-03-0120-C. 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 driver Rev 1.1 KiCad files?
From the marksdude/Pikne repository on GitHub, at the commit this page was made from: the board is Modules/Flashlight/PCB/LED driver/LED driver 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 driver 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.