Skip to the content
PCBKitNew board
4 layers38 × 70 mmSolar controller, the printed circuit board in 3D

Solar controller

lzptr/solar-controller

ESP32 Based PCB for Controlling a Solar System Light Chain

Size
38 × 70 mm
Copper layers
4
Thickness
1.65 mm
Parts
53
Nets
53
Pads
214
Tracks, vias
204, 100
Pours
7
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
29 Sep 2026
Updated
7 Nov 2026

Overview

Solar controller is an open-source printed circuit board by lzptr, from the lzptr/solar-controller repository on GitHub. It is a 4-layer board of 38 × 70 mm with 53 parts on 53 nets, routed with 204 tracks and 100 vias.

It is built around the ESP32-C6-MINI-1U-H4, TPS62A01ADRL and SN74LVC1T45DBVRE4, with the USBLC6-2SC6, MA10V470M6X8 and EC11J1525402 among its other parts. Its parts include 21 resistors, 13 capacitors, 5 ICs, 3 diodes and 3 switches. It belongs with the power boards and the ESP32 and RISC-V boards of this library.

Main components

8

README

hardware/led_adapter/README.md

LED ring adapter

Small adapter PCB that sits back-to-back on the off-the-shelf 23 mm ring with seven SK6812 RGBW LEDs used in each planet globe. It gives the ring a keyed, pluggable connector so the cables between the globes can be made and changed later instead of being soldered to the ring at the final length.

text
globe interior
  ┆  LEDs face the globe
  ├─ LED ring (D23, 1.6 mm, LEDs 1.6 mm tall)
  ├─ adapter (this board, 1.6 mm)   back-to-back with the ring, pads aligned
  └─ J1  PHD 2.0 mm 2x3 wafer      points away from the globe, into the socket
         cable from the previous globe (odd pins) / cable to the next globe (even pins)

Five standard header pins (0.64 mm square, pulled out of a pin header strip) go through both boards and carry IN, 5V, GND, GND and OUT; 5V and GND are bussed straight through the adapter, data enters the ring at IN and leaves it at OUT. Two M2.5 screws through the shared 2.9 mm holes clamp the stack into the printed socket.

Files

FileContent
led_adapter.kicad_pro/_sch/_pcbKiCad 10 project, created from the JLCPCB 1-2 layer template
LedAdapter.kicad_symsymbol LED_Ring_SK6812_7 (the ring as a 5-pin module)
LedAdapter.pretty/Hanxia_HX-PHD2.0-2x3ALT.kicad_modconnector footprint from the manufacturer land pattern
LedAdapter.pretty/LED_Ring_SK6812_7_D23_Pins.kicad_modthe ring's pad pattern (pins) and mounting holes
datasheets/connector drawing

LED ring geometry as modelled

Ring: 23.0 mm diameter, 1.6 mm thick, 3.2 mm with LEDs. Mounting holes 2.9 mm, 19.2 mm apart, on the x axis. Pad positions, seen from the LED side with the holes left/right (origin = ring centre, y up):

Padxy
IN+2.54+4.57
5V (PWR)-2.54+4.57
GND-5.330.00
GND-2.54-4.57
OUT+2.54-4.57

The adapter is viewed from the connector side, i.e. the ring is seen from its back, so on the adapter the pattern is mirrored: IN top-left, 5V top-right, GND right, GND bottom-right, OUT bottom-left (as labelled on the silkscreen).

Positions were measured from the seller's front and back product photos scaled to the 19.2 mm hole pitch and confirmed with calipers on the real ring: IN to OUT 9.1 mm, IN to PWR 5.1 mm (model: 9.14 / 5.08). The pattern's position relative to the mounting holes comes from the photos (about 0.2 mm uncertainty), which the 0.4 mm clearance of M2.5 screws in the 2.9 mm holes covers. The ring's pads are 1.6 mm with a hole that takes a standard 0.64 mm square header pin; the adapter's pin holes are 1.2 mm (2.0 mm pad) so the pins pass both boards with some slack.

Connector J1

hanxia HX-PHD2.0-2x3ALT, LCSC C53055815, JLCPCB extended part (435 in stock on 2026-10-20). 2x3 top-entry SMD wafer, 2.0 mm pitch, JST PHD compatible, keyed, 3 A per contact, housing 8.0 x 5.55 mm, 8.1 mm tall.

Mating side: JST PHDR-06VS housing with SPHD-001T-P0.5 contacts (AWG 22 to 28) or the equivalent "PHD2.0 2x3" clone housings and crimp terminals.

Same land pattern, usable as drop-in alternatives if the stock runs out: SHOU HAN PHD2.0-2x3PLT (C48783195), XUNPU WAFER-PHD2.0-6PLB (C55130937). A 2.54 mm 2x3 SMD pin header (hanxia HX PZ2.54-2x3P TP, C32713283, 44k in stock) would also fit the board with a new footprint, but it is not keyed.

Pinout (odd row = cable from the previous globe or the controller, even row = cable to the next globe; the pin-1 mark is next to the odd data pin):

PinRowSignal
1oddDIN (to the ring's IN)
2evenDOUT (from the ring's OUT)
3oddGND
4evenGND
5odd+5V
6even+5V

The connector is shifted 0.8 mm towards the DIN/DOUT side so its solder tails clear the right-hand GND pin pad. Its housing ends cover the inner 0.4 mm of the four outer pin pads; the holes themselves and the outer half of each pad stay free, which is enough to solder the pins from the outside.

Assembly

  1. Put the five pins into the adapter from the connector side, solder them on the connector side, trim flush on top.
  2. Slide the ring onto the protruding pins, back to back with the adapter, solder on the LED side between the LEDs, trim.
  3. Plug the cables: contacts crimped at both ends; at each globe the three wires of the incoming cable go into the odd positions, the outgoing cable into the even positions of one PHDR-06VS housing.

Production

Board: 23 mm round, 2 layers, 1.6 mm, JLCPCB rules from the template. For the JLCPCB BOM/CPL use the Fabrication Toolkit plugin as for the controller board; J1 carries the LCSC Part # field, J2 (the ring interface) is excluded from BOM and position files.

Parts

53
QtyValueFootprintReferences
7100nCapacitor_SMD:C_0402_1005MetricC302, C304, C401, C402, C403, C407, C408
610kResistor_SMD:R_0402_1005MetricR301, R302, R303, R404, R408, R413
62k2Resistor_SMD:R_0402_1005MetricR211, R306, R405, R406, R411, R412
4100kResistor_SMD:R_0402_1005MetricR208, R407, R410, R414
4GNDMountingHole:MountingHole_2.7mm_M2.5_ISO14580_PadH101, H102, H103, H104
322uCapacitor_SMD:C_0805_2012MetricC206, C303, C405
25k1Resistor_SMD:R_0402_1005MetricR307, R308
11kResistor_SMD:R_0402_1005MetricR403
11uCapacitor_SMD:C_0402_1005MetricC301
11uInductor_SMD:L_1008_2520MetricL201
122kResistor_SMD:R_0402_1005MetricR209
1330Resistor_SMD:R_0402_1005MetricR409
1470uCapacitor_SMD:CP_Elec_6.3x7.7C404
14u7Capacitor_SMD:C_0805_2012MetricC205
1BOOTButton_Switch_SMD:SW_SPST_TS-1088-xR020SW302
1EC11J1525402SolarController:ALPS_EC11J1525402SW402
1ESP32-C6-MINI-1U-H4PCM_Espressif:ESP32-C6-MINI-1UU301
1LED_ACTLED_SMD:LED_0603_1608MetricD301
1LED_GREENLED_SMD:LED_0603_1608MetricD201
1LOGOLOGOG***
1RESETButton_Switch_SMD:SW_SPST_TS-1088-xR020SW301
1SN74LVC1T45DBVRPackage_TO_SOT_SMD:SOT-23-6U403
1SS34Diode_SMD:D_SMAD401
1TPS259531DSGRPackage_SON:Texas_DSG0008A_WSON-8-1EP_2x2mm_P0.5mm_EP0.9x1.6mmU402
1TPS62A01ADRLPackage_TO_SOT_SMD:SOT-563U203
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U302
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J301
1ZX-XH2.54-3PWTSolarController:Megastar_ZX-XH2.54-3PWTJ401

Questions

How big is the Solar controller PCB?

It measures 38 × 70 mm and has 4 copper layers, 1.65 mm thick.

What parts does the Solar controller use?

53 parts, built around the ESP32-C6-MINI-1U-H4, TPS62A01ADRL, SN74LVC1T45DBVRE4 and USBLC6-2SC6. 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 Solar controller KiCad files?

From the lzptr/solar-controller repository on GitHub, at the commit this page was made from: the board is hardware/solar_controller/solar-controller.kicad_pcb and its schematic hardware/led_adapter/led_adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Solar controller design in my own project?

Its repository states no licence, so its author keeps all rights: ask lzptr before reusing the design.

More from lzptr/solar-controller

1
  • 2 layersLed adapter, the printed circuit board in 3D

    Led adapter

    lzptr/solar-controller

    ESP32 Based PCB for Controlling a Solar System Light Chain

    2 parts

Similar boards

  • 4 layers203 × 148 mmKik panel, the printed circuit board in 3D

    Kik panel

    RoboticsBrno/Saturn

    553 parts3
  • 2 layers430 × 118.4 mmV2, the printed circuit board in 3D

    V2

    Jaydosu/V2

    try

    265 parts
  • 2 layers249.7 × 99.4 mmKicadproj, the printed circuit board in 3D

    Kicadproj

    steven-na/saria

    An rp2040 based, wired, split-ergo, mechanical keyboard. Running on QMK firmware

    148 parts
  • 4 layers30.1 × 30.1 mmMaglev driver, the printed circuit board in 3D

    Maglev driver

    Janky-Jingle-Crew/SouthPoleLevitator

    2025 Christmas card "South Pole Levitator"

    65 parts3
  • 2 layers180 × 180 mmPhyllo power prepared, the printed circuit board in 3D

    Phyllo power prepared

    yangwei251003/phyllotaxis

    PHYLLO叶序灯:F411固件、网页演示与可公开硬件设计,实板尚未验证。

    167 partsMIT
  • 4 layers117.5 × 30 mm4reel ee, the printed circuit board in 3D

    4reel ee

    o7-machinehum/4reel

    Stereo machine vision camera for outdoor mobile robotics.

    179 parts34MIT
  • 4 layers282 × 129 mmTracker Panel, the printed circuit board in 3D

    Tracker Panel

    SomaticVR/Eros-Hardware

    860 parts1
  • 4 layers80 × 50 mmPCB LoRa+GPS, the printed circuit board in 3D

    PCB LoRa+GPS

    ChrisKlein01/ArrozPCB

    LoRa-based GPS PCB design with KiCad

    84 parts