Skip to the content
2 layers200.3 × 96 mmESP32C5 iot switch, the printed circuit board in 3D

Personal project - Iot switch with esp32c5 and 3.7" epaper display

Size
200.3 × 96 mm
Copper layers
2
Thickness
1.6 mm
Parts
89
Nets
71
Pads
278
Tracks, vias
477, 870
Pours
26
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
29 May 2026
Updated
4 Nov 2026

Overview

ESP32C5 iot switch is an open-source printed circuit board by mynameisbrozu, from the mynameisbrozu/esp32-based-iot-switch repository on GitHub, published under the MIT licence. It is a 2-layer board of 200.3 × 96 mm with 89 parts on 71 nets, routed with 477 tracks and 870 vias.

It is built around the ESP32-C5-WROOM-1-N16R8, HLK-5M05 and TTP223-BA6, with the SPX3819M5-L-3-3, USBLC6-2SC6 and MBR0530 among its other parts. Its parts include 24 capacitors, 15 resistors, 10 diodes, 5 connectors and 4 ICs. It belongs with the lEDs and displays and home automation and IoT boards and the ESP32 and RISC-V boards of this library.

Main components

10

README

README.md

ESP32 based iot switch

An IOT switch designed in KiCad based on ESP32-C5 and GDEY037T03 e-paper display. All electronic components were sourced from AliExpress (wanted to try something I guess).

ESP32-C5

32-bit single-core RISC-V MCU running at up to 240 MHz with 29 GPIOs.

  • Dual-band 2.4/5 GHz connectivity
  • Wi-Fi 6
  • BLE 5
  • Zigbee and Thread support

GooDisplay GDEY037T03

3.7" black-and-white e-paper display.

  • 240x416 resolution.
  • 4-wire SPI interface

1. Part sourcing and Power Budget

All components used in this project were sourced from AliExpress.

A simple system block diagram was created early in the design process to estimate the power budget and guide component selection.

Preview

The BOM was progressively refined while developing the schematic. BOM in "spreadsheets" folder.

2. Schematic and PCB layout

The schematic was designed using reference circuits from datasheets, application notes, and technical articles.

Preview

The PCB layout shows some of the mechanical constraints of the enclosure.

Preview

3. PCB Assembly

All components were manually assembled and soldered with a soldering iron (yeah...).

PCB-A

PCB-B

4. Firmware

Firmware development started with the development of an integration library between the GDEY037T03 e-paper display and the Adafruit GFX library

The library can currently be found on https://github.com/mynameisbrozu/GDEY037T03-AdafruitGFX.

Features:

  • Relay control and sync: A tap toggles the relay and the red/blue status LEDs, and reports the new state to SinricPro. Remote commands from SinricPro update the relay and the display.
  • WiFi setup: A 5-second long press opens a captive config portal (non-blocking, with a QR code on the display, a blinking LED, and a 5-minute timeout). If WiFi is already saved, a long press resets the stored settings and restarts the device.
  • Local web interface: An async web server shows a config page where you can set your location (with autocomplete via the Open-Meteo Geocoding API) and your SinricPro credentials (key, secret, device ID). These are stored in NVS flash, and the device restarts when credentials change.
  • Weather and date display: NTP syncs the clock, and current temperature and weather conditions are fetched from Open-Meteo every 30 minutes. The e-paper screen shows the day, date, month, temperature, city, and a weather icon. When offline it shows a light bulb and switch icon instead.
  • Extra: A 10-second hardware watchdog, WiFi auto-reconnect, retry logic for HTTP and SinricPro calls, and bilingual UI text only configurable via firmware(English/Spanish).

Preview

5. Enclosure...

The enclosure was designed in Autodesk Inventor. Documentation, assembly instructions, and design notes are still in progress and will be added soon.

Preview

Preview

Parts

89
QtyValueFootprintReferences
91uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC9, C15, C16, C17, C18, C19, C20, C23, C24
6100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC4, C6, C8, C10, C11, C12
62.5mmMountingHole:MountingHole_2.5mmH4, H5, H6, H7, H8, H9
4MBR0530Diode_SMD:D_SOD-123D3, D5, D6, D7
310kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R5, R6
310uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C5, C7
3LOGOLOGOG***, G***, G***
3M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3
3REDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1, D4, D8
21Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR12, R13
2100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR14, R15
222Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7, R8
23*4*2,5mmButton_Switch_SMD:SW_SPST_PTS810SW1, SW2
24.7uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC21, C22
2470Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2
25k1Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR9, R10
2AO3400APackage_TO_SOT_SMD:SOT-23Q1, Q2
2BLUELED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD9, D10
2SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1, JP2
10.1uF/275VCapacitor_THT:C_Rect_L13.0mm_W6.0mm_P10.00mm_FKS3_FKP3_MKS4C1
10.5AFuse:Fuse_Littelfuse_395SeriesF1
110D561KVaristor:RV_Disc_D12mm_W4.3mm_P7.5mmRV1
110pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC14
110uH 1A(max)Inductor_SMD:L_Taiyo-Yuden_NR-30xx_HandSolderingL1
112mmcapacitive_pad:touch_pad12mmTPAD1
1150Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4
11MResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11
11N4148WDiode_SMD:D_SOD-123D2
1220uFCapacitor_SMD:CP_Elec_6.3x5.4C2
130pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC13
13V3TestPoint:TestPoint_Pad_D1.5mmTP5
15VTestPoint:TestPoint_Pad_D1.5mmTP4
1BOOTTestPoint:TestPoint_Pad_D1.5mmTP2
1ENTestPoint:TestPoint_Pad_D1.5mmTP1
1ESP32-C5-WROOM-1-N16R8ESP32-C5-WROOM-1:ESP32-C5-WROOM-1U1
1FPC24(0.5mm) - GDEY037T03Mintron_FPC_LW05201:FPC_LW05201-24P1
1GNDTestPoint:TestPoint_Pad_D1.5mmTP6
1HLK-5M05Converter_ACDC:Converter_ACDC_Hi-Link_HLK-5MxxPS1
1Header FConnector_PinSocket_2.54mm:PinSocket_2x03_P2.54mm_Vertical_SMDJ3
1Header MConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical_SMDJ4
1KF2EDG 3PTerminalBlock_Degson:TerminalBloc_2EDGV-2EDGK_5.08mm_01x03PJ1
1RelayTestPoint:TestPoint_Pad_D1.5mmTP3
1SPX3819M5-L-3-3Package_TO_SOT_SMD:SOT-23-5U2
1SRD-05VDC-SL-CRelay_THT:Relay_SPDT_Hongfa_HF3F-L-xx-1ZL1TK1
1TTP223-BA6TTP223-BA6:SOT23-6U4
1TouchTestPoint:TestPoint_Pad_D1.5mmTP7
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U3
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ2

Similar boards

  • 2 layers105 × 58 mmZAP-01A, the printed circuit board in 3D

    ZAP-01A

    ponrajleo/AI-Hardware-ESP32S3-

    This project is part of a complete open-source hardware design course on YouTube:

    103 parts
  • 2 layers50 × 100 mmAirtap, the printed circuit board in 3D

    Airtap

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    62 parts1MIT
  • 2 layers160 × 110 mmPumpengruppe rs485, the printed circuit board in 3D

    Pumpengruppe rs485

    freezweb/de.freezweb.heizungssteuerung

    Dieses Verzeichnis enthaelt den KiCad-Startentwurf fuer die dezentrale Pumpengruppen-Platine:

    123 parts
  • 2 layers105 × 58 mmZAP-010A, the printed circuit board in 3D

    ZAP-010A

    lalithk06/Esp32_Smart_Plug

    Hardware reference design for an ESP32-S3 smart plug with mains power conversion, relay switching, RTC support, USB connectivity, and protection components.

    80 parts
  • 2 layers105 × 58 mmViRa V1.0, the printed circuit board in 3D

    ViRa V1.0

    VikramR3/ViRa_Ai_plug

    ESP32-S3 mains smart plug: HLK-5M05 isolated supply, SRD-05VDC relay, DS3231M RTC. 2-layer KiCad design.

    80 partsMIT
  • 2 layers135.3 × 211.3 mmESP32 Sprinkle Timer, the printed circuit board in 3D

    ESP32 Sprinkle Timer

    rgodin974/ESP32_sprinkler_timer

    Coded on PlateformIO and VS Code. Project based on RitonDuino : https://riton-duino.blogspot.com/2023/08/esp32-micro-irrigation-connectee-partie.html

    103 parts1
  • 2 layers80 × 60 mmETH2Zigbee, the printed circuit board in 3D

    ETH2Zigbee

    acha666/ETH2Zigbee

    71 parts
  • 2 layers134.2 × 78.5 mmWaterbox 2.1, the printed circuit board in 3D

    Waterbox 2.1

    kemalrizky/Waterbox-PCB

    25 parts

Questions

How big is the ESP32C5 iot switch PCB?

It measures 200.3 × 96 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ESP32C5 iot switch use?

89 parts, built around the ESP32-C5-WROOM-1-N16R8, HLK-5M05, TTP223-BA6 and SPX3819M5-L-3-3. 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 ESP32C5 iot switch KiCad files?

From the mynameisbrozu/esp32-based-iot-switch repository on GitHub, at the commit this page was made from: the board is PCB/ESP32C5_iot_switch/ESP32C5_iot_switch.kicad_pcb and its schematic PCB/ESP32C5_iot_switch/ESP32C5_iot_switch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32C5 iot switch 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).