Skip to the content
PCBKitNew board
2 layers80 × 66 mmLightlink, the printed circuit board in 3D

Code and PCB designs for a device that can link a switched power outlet to any other outlet remotely.

Size
80 × 66 mm
Copper layers
2
Thickness
1.6 mm
Parts
59
Nets
50
Pads
179
Tracks, vias
376, 64
Pours
14
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
3 Apr 2024
Updated
31 Oct 2026

Overview

Lightlink is an open-source printed circuit board by spstack, from the spstack/lightlink-remote-outlet repository on GitHub. It is a 2-layer board of 80 × 66 mm with 59 parts on 50 nets, routed with 376 tracks and 64 vias.

It is built around the PIC16F18126-I/ST, TPS56339DDC and LNK304GN, with the ES1J-LTP among its other parts. Its parts include 18 resistors, 17 capacitors, 6 diodes, 5 ICs and 5 connectors. It belongs with the PIC boards of this library.

Main components

4

README

README.md

Light Link

A way to remotely link power outlets! This is an idea taken from the "Switcheroo" device that allows taking an existing switched power outlet and linking it wirelessly with another outlet.

Basically, you can change the location of an outlet that is already hooked up to a switch. The device uses a simple 915MHz wireless transceiver so there's no wifi/bluetooth involved. You just select the channel you want to control and if any device on that channel is powered on or off, all of the devices on that channel will follow it.

It's really useful for me in an apartment where you can't change the wiring (or just don't want to). I made about 10 of these devices to use in multiple locations where there's a switched outlet.

Light Link EnclosuresLight Link Completed1

Board Design

The board was designed in KiCAD and manufactured by JLC PCB. The main components are a PIC microcontroller connected to an RFM69HCW wireless transciever. There's also a relay connected to the live end of the incoming mains voltage and a small set of DIP switches for selecting which channel to transmit on.

The power system is somewhat interesting. A 12V rail is generated through a simple switching regulator that's designed to replace capacitive dropper circuits (small amount of current). This rail contains some very large electrolytic capacitors that serve to store energy and power the rest of the system for a small amount of time when mains voltage is lost. This 12V rail feeds into a second DC-DC switching regulator that powers the digital electronics. If the 12V rail drops below a threshold, a signal is sent to the PIC to transmit the "power down" command to all other LightLinks on it's channel.

Schematic Sheet 1Schematic Sheet 2
LightLink Sch 1LightLink Sch 2
Board Layout FrontBoard Layout Back
Board Layout 1Board Layout 2

Parts

59
QtyValueFootprintReferences
90.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC6, C7, C11, C12, C13, C14, C15, C16, C17
710kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR1, R3, R4, R5, R6, R12, R14
3ES1J-LTPDiode_SMD:D_SMA_HandsolderingD2, D3, D6
2100uFCapacitor_SMD:CP_Elec_6.3x7.7C4, C9
210uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C5
222uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC8, C10
2Conn_01x01_Socketconnectors_sps:conn_harwin_S1941-46RJ4, J5
10Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR17
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
1102kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR18
113kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR7
11kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR16
11mHInductor_THT:L_Radial_D8.7mm_P5.00mm_Fastron_07HCPL1
12.05kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR8
13.3kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR10
130Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR13
131.6kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR2
134kCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR19
14.7uFCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC1
14.7uHinductors_sps:L_Bourns_SRN5040L2
143Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR9
1600Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR11
1Conn_WallSocketConnector_JST:JST_VH_B2P-VH-B_1x02_P3.96mm_VerticalJ3
1D_Bridge_+A-Aq_packages_sps:SOPA-4D1
1Fusefuse_sps:fuseholder_20x5mm_keystone_4628F1
1LNK304GPackage_DIP:PowerIntegrations_SMD-8BU3
1MM3Z2V7B 2.7VDiode_SMD:D_SOD-323_HandSolderingD5
1PIC Programming HeaderConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ1
1PIC16F18126Package_SO:SSOP-20_5.3x7.2mm_P0.65mmU1
1Q_NMOS_DGSq_packages_sps:SOT-23_FDV301Q1
1RED LEDLED_THT:LED_D3.0mmD4
1RFM69HCWRF_Module:HOPERF_RFM69HWU2
1Relay_SPST-NOrelays_sps:relay_SPST_NO_panasonic_ALDP112WK1
1SW_DIP_x04switches_sps:DIP-8_SW_Horiz_WerthSW1
1SW_MEC_5G_2LEDswitches_sps:switch_right_angle_228DD1S1AAFAMSCSW2
1TLV3201Package_TO_SOT_SMD:TSOT-23-5_HandSolderingU5
1TPS56339DDCPackage_TO_SOT_SMD:SOT-23-6U4
1VaristorVaristor:RV_Disc_D7mm_W3.4mm_P5mmRV1
1Wire AntennaConnector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_VerticalJ2

Questions

How big is the Lightlink PCB?

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

What parts does the Lightlink use?

59 parts, built around the PIC16F18126-I/ST, TPS56339DDC, LNK304GN and ES1J-LTP. 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 Lightlink KiCad files?

From the spstack/lightlink-remote-outlet repository on GitHub, at the commit this page was made from: the board is pcb/lightlink/lightlink.kicad_pcb and its schematic pcb/lightlink/lightlink.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Lightlink design in my own project?

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

Similar boards

  • 2 layers94 × 82 mmEnergyMeter, the printed circuit board in 3D

    EnergyMeter

    jkordek1/EnergyMeter

    72 parts
  • 4 layers150 × 50 mmEmber, the printed circuit board in 3D

    Ember

    notaroomba/ember

    A custom hot plate powered by USB-C Power Delivery.

    136 parts25
  • 4 layers100 × 100 mmPlantomation V2, the printed circuit board in 3D

    Plantomation V2

    Synthron/Plantomation

    DIY plant watering system

    203 parts10
  • 2 layers95 × 35 mmSynth psu, the printed circuit board in 3D

    Synth psu

    mattvenn/usbc-synth-psu

    For build notes, problems and fixes, please check the project log

    91 parts2
  • 2 layers95 × 99 mmPolaris4.1, the printed circuit board in 3D

    Polaris4.1

    porbital/GNC_Hapsis

    Software for the GNC Hapsis launch structure control system

    95 parts2
  • 2 layersInter assignment, the printed circuit board in 3D

    Inter assignment

    Arpit192005/Buck-converter-using-TPS56339DDC

    12 parts1
  • 4 layers46 × 56 mmLINBoard HW, the printed circuit board in 3D

    LINBoard HW

    corygrant/LINBoard

    73 parts1
  • 4 layers101 × 51.5 mmQuack core, the printed circuit board in 3D

    Quack core

    HeyPCB/quack-core

    Brain board for the Open Duck Mini: Pi Zero 2W carrier, 14-servo STS bus, fused 2S power path in stitched copper zones (15-18 A battery side), USB-C charging with balancing, IMU.

    138 parts1CERN-OHL-S-2.0