Skip to the content
2 layers209 × 85.5 mmPcb v3, the printed circuit board in 3D

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

3

README

README.md

Supla 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.

alt text

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. alt text

Parts

219
QtyValueFootprintReferences
36Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1, J2, J10, J11, J12, J13, J14, J15, J16, J17, J18, J19, J20, J21, J22, J23 +20
2710kResistor_SMD:R_0603_1608MetricR23, R24, R25, R39, R40, R41, R44, R45, R46, R47, R48, R49, R50, R51, R54, R55 +11
22100nFCapacitor_SMD:C_0603_1608MetricC3, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24 +6
20D_PhotoLED_SMD:LED_0603_1608MetricD1, D2, D3, D5, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21 +4
192kResistor_SMD:R_0603_1608MetricR1, R2, R3, R5, R11, R12, R17, R18, R26, R27, R28, R33, R34, R35, R37, R38 +3
18HF46F/12VRelay:HF46FK1, K2, K3, K4, K5, K6, K7, K10, K11, K12, K13, K14, K15, K16, K17, K18 +2
1747kResistor_SMD:R_2512_6332MetricR7, R8, R10, R13, R14, R15, R16, R19, R20, R21, R22, R29, R30, R31, R32, R36 +1
17LTV-814Package_DIP:DIP-4_W7.62mmU2, U3, U4, U5, U6, U7, U8, U10, U11, U12, U13, U15, U16, U17, U18, U19 +1
7SolderJumper_2_OpenConnector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_VerticalJP1, JP2, JP3, JP4, JP5, JP6, JP7
44,7kResistor_SMD:R_0603_1608MetricR42, R43, R66, R67
4MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3REF1, REF2, REF3, REF4
3MountingHole_2.2mm_M2_ISO14580MountingHole:MountingHole_2.2mm_M2_ISO14580REF5, REF6, REF7
3SW_DIP_x03Button_Switch_SMD:SW_DIP_SPSTx03_Slide_KingTek_DSHP03TS_W7.62mm_P1.27mmSW1, SW2, SW3
2Conn_01x02_MaleConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ59, J60
110nFCapacitor_SMD:C_0402_1005MetricC25
11N5824Diode_THT:D_DO-201AD_P3.81mm_Vertical_AnodeUpD4
133μHInductor_SMD:L_12x12mm_H8mmL1
1600kResistor_SMD:R_0603_1608MetricR4
1BatteryBattery:Battery_Panasonic_CR1220-VCN_Vertical_CircularHolesBT1
1C_Polarized 220μFCapacitor_SMD:CP_Elec_8x10C2
1C_Polarized 680μFCapacitor_SMD:CP_Elec_10x10.5C1
1Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ50
1Conn_01x08_FemaleConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ42
1Conn_02x13_Odd_EvenConnector_PinSocket_2.00mm:PinSocket_2x13_P2.00mm_Vertical_SMDJ29
1DS3231MPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU21
1ESP32_38pinRF_Module:ESP32_38pinU20
1LM2596T-5Package_TO_SOT_SMD:TO-263-5_TabPin3U1
1LOGOMoje symbole:supla_logo_3cmG02
1MB85RC256VPackage_SO:SSOP-8_3.9x5.05mm_P1.27mmU23
1MCP23017_SPPackage_DIP:DIP-28_W7.62mm_SocketU14
1MCP9808_MSOPPackage_SO:MSOP-8_3x3mm_P0.65mmU22
1PinHeader_2x07_P2.54mm_Vertical_SMDConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_Vertical_SMDJ56
1SW_Push (TEST)Button_Switch_THT:SW_PUSH_6mm_H5mmSW4
1YAAJ_DCDC_StepDown_LM2596RF_Module:YAAJ_DCDC_StepDown_LM2596REF8

More from jaku2019/ETH32

1
  • 2 layers33 × 46.6 mmPlytka MCP, the printed circuit board in 3D

    Plytka MCP

    jaku2019/ETH32

    semi-plc based on ESP32 and Supla

    13 parts

Similar boards

  • 2 layers99.1 × 76.2 mmSsr, the printed circuit board in 3D

    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 mmDebounce shield, the printed circuit board in 3D

    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 mmWirelessTeleInfo, the printed circuit board in 3D

    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 mmAlimTeleinfoMySensors, the printed circuit board in 3D

    AlimTeleinfoMySensors

    tdouez/TeleinfoMySensors

    Interface Téléinfo pour compteur Linky avec MySensors

    14 parts14
  • 2 layers45.8 × 40.2 mmGoProControl, the printed circuit board in 3D

    GoProControl

    synfinatic/GoProControl

    GoPro WiFi controller board using an ESP8266 allowing easy integration with other circuits

    27 parts13GPL-3.0
  • 2 layers100 × 67 mmLed controller, the printed circuit board in 3D

    Led controller

    markus-k/led-controller-hardware

    KiCAD schematics and design files for my LED controller.

    91 parts5
  • 2 layers62.7 × 87.8 mmLinky TEMPO, the printed circuit board in 3D

    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.