Skip to the content
2 layers80 × 85 mmLight controller base, the printed circuit board in 3D

Light controller base

M41T3/USB-PD-Table-Lamp

Table Lamp with USB PD Light Controller

Size
80 × 85 mm
Copper layers
2
Thickness
1.6 mm
Parts
105
Nets
76
Pads
315
Tracks, vias
539, 209
Pours
15
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
21 Mar 2026
Updated
22 Mar 2026

Overview

Light controller base is an open-source printed circuit board by M41T3, from the M41T3/USB-PD-Table-Lamp repository on GitHub. It is a 2-layer board of 80 × 85 mm with 105 parts on 76 nets, routed with 539 tracks and 209 vias.

It is built around the PAM2861CBR, AONR21307 and SMF33A, with the SS14 among its other parts. Its parts include 29 resistors, 16 capacitors, 12 connectors, 6 diodes and 4 ICs. It belongs with the power boards of this library.

Main components

4

README

readme.md

Table Lamp with USB PD Light Controller

lamp

Contents

  • Light controller PCB design
  • CAD designs (FreeCAD projects)
    • concrete lamp base mould
    • shade, light mount and knob

1. PCB design

The objective was to develop a highly configurable controller for various light sources that is powered via USB Power Delivery.

pcb

Operation Modes

The operating mode can be configured using jumpers and potentiomenter wiring:

  1. Switch VBUS power and dimm light via PMW
  2. Switch VBUS power and dimm light via constant current source
  3. Low Side Switch and dimm light via PWM
  4. Simple ON/OFF with disabled USB PD (5 V)
  5. Switch VBUS power and fixed output current (set with jumpers)

Noteable Features

  • Configure output voltage and current
    • Voltage: 5 V, 9 V, 12 V, 15 V, 20 V, 28 V
    • Current: 1.25 A - 3.25 A
    • Low power LED up to high power halogen lamps (35 W) supported
  • Step-down converter to supply control units with all voltage levels
  • Dimm light with PWM (555 Timer module)
  • Constant current source to fine tune current
  • High power mosfet to switch light
  • 80 x 80 mm
USB PD ERP Sink controller (HUSB238A):
  • Fully Autonomous USB Type-C® and USB PD Sink Controller
  • USB PD Specification Reversion 3.1 supported
  • Integrated VBUS Switch Driver
  • Error detection output (LED)
PWM Controller (LMC555)
  • CMOS variant of famous 555 general-purpose timer
  • Duty cycle configurable by 100k potentiometer
Constant Current Source (PAM2861)
  • 1 A LED driber with internal switch
  • Adjustable output current (100k potentiometer)
Step-Down Converter (TPS54302)
  • Converts variable VUSB voltage to 5 V to supply 555 timer and constant current control
100 kOhm Potentiometer with Rotary Switch (WSFA202-A2-08-30F1)

2. Concrete Lamp Base

The lamp's base was made of concrete. To do this, a mold was designed and printed using a 3D printer with PLA. The controller board is installed inside the lamp's base.

Mould

The mold is designed so that it can be taken apart into separate pieces after curing.

inner mould

The seams are sealed with hot glue.

complete mould

The liquid concrete is poured into the mold up to the top edge:

filled mould

Box of Shame

To be honest, it took three attempts with different modifications to the base design before I was able to get the concrete piece out of the mold in one piece...

box of shame

Base installations

To position the light source in the right spot, a 3D-printed bracket is screwed onto the circuit board:

pcb backside

PCB, potentiomenter, knob and magnets are installed to the base:

pcb in base

Bottom:

pcb backside

3. Shade

The lamp base was designed so that the light shade can be attached using magnets. This means the shade can be easily swapped out. This shade was designed so that it can be 3D-printed in vase mode.

shade shade detailed

4. Light it up!

Operating Mode: Switch VBUS and dimm light via PWM with potentiometer

lamp gif

Parts

105
QtyValueFootprintReferences
8Jumper_2_Small_OpenConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1, JP3, JP7, JP15, JP16, JP17, JP21, JP22
6MountingHole_PadMountingHole:MountingHole_3.2mm_M3_DIN965_Pad_TopBottomH1, H2, H3, H4, H5, H6
6SolderJumper_3_OpenConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP9, JP10, JP14, JP18, JP19, JP20
5Conn_01x02Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ2, J3, J10, J11, J12
30.3Resistor_SMD:R_1206_3216MetricR20, R21, R22
31kResistor_SMD:R_0603_1608MetricR17, R27, R28
34.7 uFCapacitor_SMD:C_1206_3216MetricC3, C4, C5
3SolderJumper_3_Openlight_controller:PinHeader_doubled_2x03_P2.54mmJP8, JP11, JP12
3TestPointTestPoint:TestPoint_Keystone_5015_Micro_MiniTP1, TP2, TP3
21 uFCapacitor_SMD:C_0603_1608MetricC1, C2
210 nFCapacitor_SMD:C_0603_1608MetricC12, C13
210 uFCapacitor_SMD:C_1206_3216MetricC7, C15
2100 nFCapacitor_SMD:C_0603_1608MetricC8, C9
2100kResistor_SMD:R_0603_1608MetricR19, R25
210kResistor_SMD:R_0603_1608MetricR6, R7
222 uFCapacitor_SMD:C_1206_3216MetricC11, C16
249.9kResistor_SMD:R_0603_1608MetricR2, R18
26.04kResistor_SMD:R_0603_1608MetricR14, R16
2900kResistor_SMD:R_0805_2012MetricR1, R4
2Conn_01x03Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_VerticalJ8, J9
2D_SmallDiode_SMD:D_SOD-123D4, D5
2Jumper_2_Small_Openlight_controller:PinHeader_doubled_2x02_P2.54mmJP6, JP13
2SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP4, JP5
2~light_controller:PinHeader_select_2x06_P2.54mmJ5, J6
10.1 uFCapacitor_SMD:C_0603_1608MetricC14
11.8kResistor_SMD:R_0603_1608MetricR5
110 uHlight_controller:L_5.2_5.4_smdL2
1105kResistor_SMD:R_0603_1608MetricR24
110nFCapacitor_SMD:C_0603_1608MetricC6
111.5kResistor_SMD:R_0603_1608MetricR15
111kResistor_SMD:R_0603_1608MetricR8
113.3kResistor_SMD:R_0603_1608MetricR26
11803426light_controller:1803426J7
119.1kResistor_SMD:R_0603_1608MetricR13
12.26kResistor_SMD:R_0603_1608MetricR12
121kResistor_SMD:R_0603_1608MetricR10
13kResistor_SMD:R_0603_1608MetricR9
149.9Resistor_SMD:R_0603_1608MetricR29
1511kResistor_SMD:R_0603_1608MetricR23
16.2kResistor_SMD:R_0603_1608MetricR3
168 uHlight_controller:L_6.6_7.1_smdL1
175 pFCapacitor_SMD:C_0603_1608MetricC10
18.45kResistor_SMD:R_0603_1608MetricR11
1AONR21307light_controller:DFN_3X3_EPQ1
1Conn_01x04Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalJ4
1Jumper_2_Small_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1LMC555CMX_NOPBlight_controller:SOIC127P600X175-8NL3
1LOGOlight_controller:open_hw_logo_5mm_silkG***
1LOGOlight_controller:m41t3_logo_soldermask_10mmG***
1LOGOlight_controller:m41t3_logo_silkscreen_25mmG***
1MM1Z24W Zener 24VDiode_SMD:Nexperia_CFP3_SOD-123WD1
1NCE6005AR customPackage_TO_SOT_SMD:SOT-223-3_TabPin2U1
1PAM2861CBRlight_controller:SOT89-5IC2
1SMF33Alight_controller:SODFL3618X110ND6
1SS14Diode_SMD:D_SMAD3
1TPS54302DDCRlight_controller:SOT95P280X110-6NIC3
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1
1husb238alight_controller:QFN50P300X300X80-17N-DIC1
1~LED_SMD:LED_0603_1608MetricD2

Similar boards

  • 6 layers190 × 140 mmLatest, the printed circuit board in 3D

    Latest

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    442 parts397Apache-2.0
  • 2 layers68.7 × 22.9 mmBurnwing, the printed circuit board in 3D

    Burnwing

    CubeSource/Burnwing

    A burnwire release mechanism development board. Featherwing form factor.

    75 parts4
  • 2 layers162 × 40 mmNano supply v2b, the printed circuit board in 3D

    Nano supply v2b

    xx0x/nano-supply

    Compact open source Eurorack USB-C power supply.

    54 parts1CERN-OHL-P-2.0
  • 2 layersMotherboard V2, the printed circuit board in 3D

    Motherboard V2

    jserra7d5/ece-capstone-motherboard-v2-pcb

    30 parts
  • 2 layers45 × 30 mmSparkleboard5v, the printed circuit board in 3D

    Sparkleboard5v

    TemuWolverine/Circuits

    A collection of PCB designs and KiCad stuff

    37 partsMIT
  • 2 layers23.1 × 34.5 mmUSCB PD, the printed circuit board in 3D

    USCB PD

    Will946/USBC-PD

    A compact USB Power Delivery sink board based on the HUSB238 USB-PD controller IC. Accepts USB-C PD input and outputs a selectable regulated voltage via an onboard 6-position DIP switch.

    24 partsMIT
  • 2 layers55.6 × 15.5 mmUsb c power, the printed circuit board in 3D

    Usb c power

    MicroLind-Developers/microlind-hw

    Hardware repository for the microlind project

    16 partsCERN-OHL-P-2.0

Questions

How big is the Light controller base PCB?

It measures 80 × 85 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Light controller base use?

105 parts, built around the PAM2861CBR, AONR21307, SMF33A and SS14. 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 Light controller base KiCad files?

From the M41T3/USB-PD-Table-Lamp repository on GitHub, at the commit this page was made from: the board is light_controller_pcb/light_controller_base/light_controller_base.kicad_pcb and its schematic light_controller_pcb/light_controller_base/constant_current_source.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Light controller base design in my own project?

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