

Pcb v3
semi-plc based on ESP32 and Supla
- Size
- 209 × 85.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 219
- Nets
- 204
- Pads
- 653
- Tracks, vias
- 2,530, 271
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 22 Feb 2023
- Updated
- 27 Aug 2023
Overview
Pcb v3 is an open-source printed circuit board by jaku2019, from the jaku2019/ETH32 repository on GitHub. It is a 2-layer board of 209 × 85.5 mm with 219 parts on 204 nets, routed with 2,530 tracks and 271 vias.
It is built around the LM2596T-5.0, LTV-814 and DS3231MZ+. Its parts include 68 resistors, 42 connectors, 25 capacitors, 23 ICs and 22 switches. It belongs with the ESP32 boards of this library.
Main components
3LM2596T-5.0
TO-220-5-40℃~+125℃@(TJ) 1 150kHz 3A 4.5V~40V 5V 5mA Buck Buck Built-in Fixed No TO-220-5 DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersLTV-814
DIP-4-30℃~+100℃ 1 1.2V 100mV@20mA,1mA 20% 200mW 300% 35V 3us 4us 50mA 50mA 5kV AC,DC Phototransistor DIP-4 Transistor, Photovoltaic Output Optoisolators ROHSLite-OnTransistor, Photovoltaic Output OptoisolatorsDS3231MZ+
SOIC-8-40℃~+85℃ 2.3V~5.5V I2C Temperature compensation、Backup power management and battery charging、Alarm function、Periodic interrupt output SOIC-8 Real Time Clocks ROHSMaxim Integrated (Analog Devices)Real Time Clocks
README
README.mdSupla powered ETH32 light coontroller
Thanks to the amazing help of @elmaya @radzik_r @klew and othher forum.supla.org users I managed to create ETH32 light controller.

Main characteristics
- 17 230V inputs (in the photo sample: 16x230V 1x12V) [PC814]
- 18 230V 5A inputs [HF46F/12V]
- TEST button that turns on all the relays (you can change that function in the code)
- LAN8721
- 2xMCP23017 (there is a possibility to channge its addresses with DIN switches)
- easy-access pins: 3,3V, 5V, GND, IO12, IO15, IO35, IO36, IO39, IO0, RX, TX
- easy access to I2C pins
- MCP9808 temperature sensor (there is a possibility to channge its address with DIN switch)
- RTC clock DS3231
- FRAM memory MB85RC256V (there is a possibility to channge its address with DIN switch)
Info
Instead of soldering the buck converter elements to the PCB, you can insert a ready module LM2596 (it is necessary to set its output voltage to 5V)
ESP is connected with IO by MCP23017. One of this modules was placed on a card that is a bit loose. You shouldn't play with it when ETH32 is on, as it could make the relays stop working. Repositioning it to 90 degrees should solve the problem.
The PCB is designed to fit perfectly in the Kradex ZD1012 enclosure for DIN rail.
The code
In the software example relays no. 101-116 have assigned inputs with relative numbers.
Input no. 117 turns on all the relays. Single click = turn on (all), double click = turn off (all).
Everything is preperad to work with monostable buttons.
There is no thermometer, FRAM memory nor RTC support yet.
Smart home control
You need to set your Supla accunt mail and server address in the coode (relative fields are placed in the bottom of the code).
You can integrate Supla with e.g. Home Assistant via MQTT. The setup is pretty easy and reliable. https://en-forum.supla.org/viewtopic.php?t=10419
On the din rail
And that's how it ended!
You can download a Word file, where you can find ready labels to stick on the enclosure.

Parts
219| Qty | Value | Footprint | References |
|---|---|---|---|
| 36 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1, J2, J10, J11, J12, J13, J14, J15, J16, J17, J18, J19, J20, J21, J22, J23 +20 |
| 27 | 10k | Resistor_SMD:R_0603_1608Metric | R23, R24, R25, R39, R40, R41, R44, R45, R46, R47, R48, R49, R50, R51, R54, R55 +11 |
| 22 | 100nF | Capacitor_SMD:C_0603_1608Metric | C3, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24 +6 |
| 20 | D_Photo | LED_SMD:LED_0603_1608Metric | D1, D2, D3, D5, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21 +4 |
| 19 | 2k | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R5, R11, R12, R17, R18, R26, R27, R28, R33, R34, R35, R37, R38 +3 |
| 18 | HF46F/12V | Relay:HF46F | K1, K2, K3, K4, K5, K6, K7, K10, K11, K12, K13, K14, K15, K16, K17, K18 +2 |
| 17 | 47k | Resistor_SMD:R_2512_6332Metric | R7, R8, R10, R13, R14, R15, R16, R19, R20, R21, R22, R29, R30, R31, R32, R36 +1 |
| 17 | LTV-814 | Package_DIP:DIP-4_W7.62mm | U2, U3, U4, U5, U6, U7, U8, U10, U11, U12, U13, U15, U16, U17, U18, U19 +1 |
| 7 | SolderJumper_2_Open | Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_Vertical | JP1, JP2, JP3, JP4, JP5, JP6, JP7 |
| 4 | 4,7k | Resistor_SMD:R_0603_1608Metric | R42, R43, R66, R67 |
| 4 | MountingHole_3.2mm_M3 | MountingHole:MountingHole_3.2mm_M3 | REF1, REF2, REF3, REF4 |
| 3 | MountingHole_2.2mm_M2_ISO14580 | MountingHole:MountingHole_2.2mm_M2_ISO14580 | REF5, REF6, REF7 |
| 3 | SW_DIP_x03 | Button_Switch_SMD:SW_DIP_SPSTx03_Slide_KingTek_DSHP03TS_W7.62mm_P1.27mm | SW1, SW2, SW3 |
| 2 | Conn_01x02_Male | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J59, J60 |
| 1 | 10nF | Capacitor_SMD:C_0402_1005Metric | C25 |
| 1 | 1N5824 | Diode_THT:D_DO-201AD_P3.81mm_Vertical_AnodeUp | D4 |
| 1 | 33μH | Inductor_SMD:L_12x12mm_H8mm | L1 |
| 1 | 600k | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | Battery | Battery:Battery_Panasonic_CR1220-VCN_Vertical_CircularHoles | BT1 |
| 1 | C_Polarized 220μF | Capacitor_SMD:CP_Elec_8x10 | C2 |
| 1 | C_Polarized 680μF | Capacitor_SMD:CP_Elec_10x10.5 | C1 |
| 1 | Conn_01x02_Male | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J50 |
| 1 | Conn_01x08_Female | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | J42 |
| 1 | Conn_02x13_Odd_Even | Connector_PinSocket_2.00mm:PinSocket_2x13_P2.00mm_Vertical_SMD | J29 |
| 1 | DS3231M | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U21 |
| 1 | ESP32_38pin | RF_Module:ESP32_38pin | U20 |
| 1 | LM2596T-5 | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U1 |
| 1 | LOGO | Moje symbole:supla_logo_3cm | G02 |
| 1 | MB85RC256V | Package_SO:SSOP-8_3.9x5.05mm_P1.27mm | U23 |
| 1 | MCP23017_SP | Package_DIP:DIP-28_W7.62mm_Socket | U14 |
| 1 | MCP9808_MSOP | Package_SO:MSOP-8_3x3mm_P0.65mm | U22 |
| 1 | PinHeader_2x07_P2.54mm_Vertical_SMD | Connector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_Vertical_SMD | J56 |
| 1 | SW_Push (TEST) | Button_Switch_THT:SW_PUSH_6mm_H5mm | SW4 |
| 1 | YAAJ_DCDC_StepDown_LM2596 | RF_Module:YAAJ_DCDC_StepDown_LM2596 | REF8 |
More from jaku2019/ETH32
1- 2 layers33 × 46.6 mm

Similar boards
- 2 layers99.1 × 76.2 mm

Ssr
Miceuz/triac-bloc
An universal power block based on triac. In essence this is a solid state relay with some bells and whistles
39 parts54 - 2 layers65 × 56 mm

Debounce shield
MayaPosch/DebounceHat
Fully isolated, input debounce Hat for Raspberry Pi, for up to 6 switches, relays and powered devices
83 parts24BSD-3-Clause - 2 layers25.4 × 26 mm

WirelessTeleInfo
Domochip/WTeleInfo
Un D1 Mini et quelques composants pour envoyer votre Téléinfo (Compteur EDF) sur votre Domotique
9 parts22 - 2 layers21.9 × 17.1 mm

AlimTeleinfoMySensors
tdouez/TeleinfoMySensors
Interface Téléinfo pour compteur Linky avec MySensors
14 parts14 - 2 layers45.8 × 40.2 mm

GoProControl
synfinatic/GoProControl
GoPro WiFi controller board using an ESP8266 allowing easy integration with other circuits
27 parts13GPL-3.0 - 2 layers100 × 67 mm

Led controller
markus-k/led-controller-hardware
KiCAD schematics and design files for my LED controller.
91 parts5 - 2 layers100 × 100 mm

- 2 layers62.7 × 87.8 mm

Linky TEMPO
tdouez/Linky_TEMPO
Module de récupération des sorties relais pour le compteur Linky avec un contrat TEMPO Compatible en TIC historique et standard
34 parts3Apache-2.0
Questions
How big is the Pcb v3 PCB?
It measures 209 × 85.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pcb v3 use?
219 parts, built around the LM2596T-5.0, LTV-814 and DS3231MZ+. 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 Pcb v3 KiCad files?
From the jaku2019/ETH32 repository on GitHub, at the commit this page was made from: the board is pcb_v3/pcb_v3.kicad_pcb and its schematic MCP_exp_brd/plytka_MCP.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pcb v3 design in my own project?
Its repository states no licence, so its author keeps all rights: ask jaku2019 before reusing the design.