Skip to the content
4 layers31.4 × 22 mmUplc, the printed circuit board in 3D

I now have two prototypes of the uPLC-Relay so ESP-Home integrations will come soon.

Size
31.4 × 22 mm
Copper layers
4
Thickness
1.6 mm
Parts
53
Nets
36
Pads
139
Tracks, vias
357, 86
Pours
12
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
19 Feb 2024
Updated
9 Apr 2025

Overview

Uplc is an open-source printed circuit board by fredriknk, from the fredriknk/uPLC-Relay repository on GitHub, published under the MIT licence. It is a 4-layer board of 31.4 × 22 mm with 53 parts on 36 nets, routed with 357 tracks and 86 vias.

It is built around the ESP32-C3-WROOM-02-N4, AP63201WU and TBD62003AFWG, with the 1N5819WS, 0402CG200J500NT and G6K-2F-Y-5V among its other parts. Its parts include 12 resistors, 9 capacitors, 3 ICs, 3 diodes and 2 connectors. It belongs with the ESP32 and RISC-V boards of this library.

Main components

10

README

README.md

μPLC-Relay

Pcbway Sponsorship

Thanks so much to PCBWay who offered to assemble my first prototype batch of all three uPLC modules. They deliver awesome quality as always, see the result for yourself below. Front

I now have two prototypes of the uPLC-Relay so ESP-Home integrations will come soon.

ESP micro PLC the size of a post stamp. he uPLC-relay version has two small signal relay module utilizing an ESP-32-C3 wifi, bluetooth module for communication and MCU, it has a 0-24V buck regulator, has two 2.5-25V inputs, two 25v, 100/50ma high speed open drain output through a TBD062003 DMOS transistor array ic. And two relay outputs are capable of driving around 25V 500ma.

Thanks to u/PricelessToolkit/ESPClicker for inspiration.

Schematic

Assembly IBOM

Specifications

ParameterDescription
Input voltage3.8-24v
CurrentTBD Wifi: ##mA, Radio Off: ##mA, Deep sleep ##uA
Communication2.4ghz WIFI, Uart TTL
Baudrate115200
PCB size22x31.1mm
PCB info1.6mm FR4, HASL lead free, 4 layer
Case sizeXxXxXmm TBD

Connector

LabelGPIODescription
R2NOGPIO5Relay 1 Normally Open
R2COGPIO5Relay 1 COM
R2NCGPIO5Relay 1 Normally Closed
R1NOGPIO6Relay 1 Normally Open
R1COGPIO6Relay 1 COM
R1NCGPIO6Relay 1 Normally Closed
HI2GPIO192.5-25v input
HI1GPIO182.5-25v input
HO2GPIO325v 50ma open drain output
HO1GPIO725v 100ma open drain output
4-24V3V34-24v
GNDGNDGround

PCB Pictures

PCB assembly by PCBWay Cable1 Cable2 Top Bottom

Homeassistant Implementation

TODO

FIRST PRODUCTION PROTOTYPE

TODO

Parts

53
QtyValueFootprintReferences
1010KResistor_SMD:R_0402_1005MetricR1, R2, R4, R5, R7, R8, R9, R10, R11, R12
30.1uFCapacitor_SMD:C_0402_1005MetricC2, C3, C9
31N5819WSDiode_SMD:D_SOD-323D1, D2, D4
322ufCapacitor_SMD:C_0402_1005MetricC8, C11, C12
220pfCapacitor_SMD:C_0402_1005MetricC1, C4
2G6K-2F-YRelay_SMD:Relay_DPDT_Omron_G6K-2F-YK1, K2
110uFCapacitor_SMD:C_0805_2012MetricC5
1182kResistor_SMD:R_0402_1005MetricR14
132.768khz 3215 12.5pfCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY1
14.7uHInductor_SMD:L_1008_2520MetricL1
162kResistor_SMD:R_0402_1005MetricR15
1AP63201WUPackage_TO_SOT_SMD:TSOT-23-6U1
1Conn_01x06_PinTestPoint:TestPoint_Pad_1.0x1.0mm_6padJ1
1ESP32-C3-WROOM-02PCM_Espressif:ESP32-C3-WROOM-02U3
1G***esprelay:kibuzzard-65D361F2kibuzzard-65D361F2
1G***kibuzzard-65D71774kibuzzard-65D71774
1G***esprelay:kibuzzard-65D3616Ekibuzzard-65D3616E
1G***esprelay:kibuzzard-65D361E9kibuzzard-65D361E9
1G***esprelay:kibuzzard-65D361E1kibuzzard-65D361E1
1G***esprelay:kibuzzard-65D361D3kibuzzard-65D361D3
1G***esprelay:kibuzzard-65D46022kibuzzard-65D46022
1G***kibuzzard-65D49092kibuzzard-65D49092
1G***esprelay:kibuzzard-65D361B0kibuzzard-65D361B0
1G***esprelay:kibuzzard-65D361A7kibuzzard-65D361A7
1G***esprelay:kibuzzard-65D3620Ekibuzzard-65D3620E
1G***esprelay:kibuzzard-65D3619Dkibuzzard-65D3619D
1G***esprelay:kibuzzard-65D36206kibuzzard-65D36206
1G***kibuzzard-65D7177Bkibuzzard-65D7177B
1G***esprelay:kibuzzard-65D36177kibuzzard-65D36177
1G***esprelay:kibuzzard-65D460A0kibuzzard-65D460A0
1G***esprelay:kibuzzard-65D361FDkibuzzard-65D361FD
1G***kibuzzard-65D6FF37kibuzzard-65D6FF37
1G***kibuzzard-65D7176Dkibuzzard-65D7176D
1G***esprelay:kibuzzard-65D46066kibuzzard-65D46066
1SM12B-GHS-TB(LF)(SN)Connector_JST:JST_GH_SM12B-GHS-TB_1x12-1MP_P1.25mm_HorizontalJ2
1TBD62003AFWGPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU2

Similar boards

  • 4 layers31.4 × 70 mmUPLC Panel, the printed circuit board in 3D

    UPLC Panel

    fredriknk/uPLC-Stack

    Quick note, this is then panelization repo, head for the individual repos to get design files.

    226 parts9
  • 4 layers31.4 × 22 mmUPLC Digital, the printed circuit board in 3D

    UPLC Digital

    fredriknk/uPLC-Digital

    I now have two prototypes of the uPLC-Digital so ESP-Home integrations will come soon.

    64 parts5MIT
  • 4 layers31.4 × 22 mmUPLC Analog, the printed circuit board in 3D

    UPLC Analog

    fredriknk/uPLC-Analog

    I now have two prototypes of the uPLC-Analog so ESP-Home integrations will come soon.

    69 parts4MIT
  • 2 layers52.3 × 20 mmEsprelay, the printed circuit board in 3D

    Esprelay

    fredriknk/esprelay

    ESP8266 small signal relay module utilizing an ESP-12-F wifi module for communication and MCU, and has two 2.5-25V inputs, and a single 25v, 100ma high speed open drain output through a TBD062003 DMOS transistor array…

    42 partsMIT
  • 4 layers74 × 66.8 mmEsp32s3-poc devboard, the printed circuit board in 3D

    Esp32s3-poc devboard

    Galacs/esp32s3-poc-devboard

    ESP32-S3 based PoC board made to test step-down power supply design, 24v level shifter, crystal circuits and RF circuit

    107 parts
  • 6 layers76 × 56 mmCM4 MANET, the printed circuit board in 3D

    CM4 MANET

    ties1887/Mesh-radio-Halow-LoRa

    Modular mesh radio system using Raspberry Pi + HaLow (802.11ah) + LoRa.

    122 parts40
  • 4 layers88 × 58 mmECG V-0.2, the printed circuit board in 3D

    ECG V-0.2

    Doenec/ecg-esp32

    open source project ecg with esp32 and ad8232

    115 parts8
  • 6 layers41.8 × 42 mmWatch pcb, the printed circuit board in 3D

    Watch pcb

    dezash123/watch-pcb

    ECAD for my custom smartwatch

    179 parts1

Questions

How big is the Uplc PCB?

It measures 31.4 × 22 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Uplc use?

53 parts, built around the ESP32-C3-WROOM-02-N4, AP63201WU, TBD62003AFWG and 1N5819WS. 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 Uplc KiCad files?

From the fredriknk/uPLC-Relay repository on GitHub, at the commit this page was made from: the board is CAD/uplc/uplc.kicad_pcb and its schematic CAD/uplc/uplc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Uplc design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).