Skip to the content
2 layers80 × 80 mmPractica, the printed circuit board in 3D

Custom ESP32-based temperature web server PCB designed in KiCad, manufactured and assembled with SMD/THT components, including LM35 sensing, USB/RS232 communication and lab validation.

Size
80 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
73
Nets
61
Pads
206
Tracks, vias
510, 17
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
11 May 2026
Updated
12 May 2026

Overview

Practica is an open-source printed circuit board by marcosindiano7, from the marcosindiano7/ESP32-Temperature-WebServer-PCB repository on GitHub. It is a 2-layer board of 80 × 80 mm with 73 parts on 61 nets, routed with 510 tracks and 17 vias.

It is built around the CH340N, BC547 and BC557, with the RMB2S among its other parts. Its parts include 20 resistors, 15 capacitors, 11 diodes, 4 ICs and 4 transistors.

Main components

4

README

README.md

ESP32 Temperature Web Server PCB

Custom two-layer PCB designed in KiCad for an ESP32-based temperature monitoring system.
The board measures temperature using an LM35 analog sensor and allows the measured value to be monitored through a web interface served by the ESP32 module.

This project focuses on the complete hardware development flow: schematic capture, PCB layout, manufacturing files generation, board assembly and laboratory validation.

Project Overview

The goal of this project was to design and validate a functional printed circuit board for an IoT temperature monitoring device.

The system includes:

  • ESP32 module as the main processing and communication unit
  • LM35 analog temperature sensor
  • USB-to-UART interface based on CH340N
  • RS232 communication interface
  • Communication selection through jumpers
  • 5 V regulated power supply stage
  • Bootloader and reset management circuitry
  • Alarm LED output
  • Expansion connector for additional ESP32 signals
  • Two-layer PCB designed in KiCad
  • SMD and through-hole component assembly
  • Laboratory functional validation

PCB Preview

3D Render

PCB 3D Top Render

PCB 3D Bottom Render

PCB Layout

PCB Layout

Assembled Board

Assembled PCB Top

Assembled PCB Bottom

Web Interface

Web Interface Alert

Web Interface Normal

Hardware Architecture

The schematic is divided into several functional blocks:

Power Regulation

The power stage provides the regulated supply required by the system.
It includes input filtering, a linear voltage regulator and a power indicator LED.

Power and Serial Schematic

ESP32 Module

The ESP32 module acts as the core of the system.
It is connected to the temperature sensing stage, UART communication lines, boot/reset circuitry and alarm LED.

ESP32 and Sensor Schematic

Temperature Sensor

The board uses an LM35 analog temperature sensor.
Its output voltage is proportional to the measured temperature and is connected to the ESP32 analog input through a simple conditioning/filtering stage.

USB Interface

A CH340N USB-to-UART converter is used to provide serial communication through the USB connector.

USB Schematic

RS232 Interface

The board also includes an RS232 communication stage with level adaptation to interface with the ESP32 UART signals.

Communication Selection

Jumpers are used to select whether the ESP32 UART lines are connected to the USB interface or to the RS232 interface.

Bootloader and Reset Management

The design includes manual and automatic boot/reset circuitry, allowing the ESP32 to start normally or enter programming mode.

Bootloader and Expansion Schematic

Expansion Connector

An expansion connector exposes additional ESP32 pins for future extensions or external peripherals.

Repository Structure

text
.
├── hardware/
│   ├── kicad/              # KiCad project files
│   └── fabrication/        # Gerber and drill files
├── docs/
│   └── images/             # Schematic captures, PCB renders and photos
├── bom/                    # Bill of materials, if available
├── README.md
└── .gitignore

KiCad Design

The hardware design was developed using KiCad and includes:

  • Schematic capture
  • Custom symbol/footprint handling
  • Two-layer PCB layout
  • Functional block-based component placement
  • Top and bottom copper zones connected to GND
  • SMD and through-hole component placement
  • Mounting holes
  • Silkscreen identification
  • Design files ready for manufacturing

Manufacturing Files

The hardware/fabrication/ folder contains the production files required to manufacture the PCB:

  • Top and bottom copper layers
  • Top and bottom solder mask
  • Top and bottom silkscreen
  • Solder paste layers
  • Board outline
  • PTH and NPTH drill files
  • Gerber job file

Assembly

The PCB was manufactured externally and later assembled in the laboratory.
The assembly process included both SMD and through-hole components.

Main assembled elements:

  • ESP32 socket/header area
  • USB connector
  • DB9 RS232 connector
  • Voltage regulator
  • CH340N USB-to-UART converter
  • LM35 temperature sensor socket
  • BJTs and diode-based interface circuitry
  • Jumpers and test points
  • Indicator LEDs
  • Mounting holes

Validation

The assembled PCB was validated through several checks:

  • Power supply verification
  • 5 V regulator output measurement
  • ESP32 module power-up test
  • USB communication test
  • RS232 communication test
  • UART signal routing through jumpers
  • Web server access from a mobile browser
  • Temperature visualization
  • Configurable threshold test
  • Alarm LED activation when the temperature exceeds the configured threshold

Functional Test

During the final test, the ESP32 web interface displayed:

  • Current time
  • Measured temperature
  • Configurable temperature threshold
  • Alarm message when the threshold was exceeded
  • Button to clear the alert

Example web interface:

Web Interface Alert

Skills Demonstrated

  • PCB design with KiCad
  • Schematic capture
  • PCB layout and routing
  • Gerber and drill file generation
  • SMD soldering
  • Through-hole soldering
  • ESP32-based IoT hardware
  • Analog sensor integration
  • USB-to-UART communication
  • RS232 interface design
  • Boot/reset circuit integration
  • Laboratory hardware validation
  • Multimeter and oscilloscope-based testing
  • Technical documentation

Notes

This repository focuses on the hardware design, PCB manufacturing files and validation process.
Firmware or software not originally developed by the author is not included.

Author

Marcos Indiano
Electronic Communications Engineering student
Universidad Politécnica de Madrid

Parts

73
QtyValueFootprintReferences
8100nFCapacitor_SMD:C_1206_3216MetricC1, C5, C6, C8, C9, C13, C14, C15
810kResistor_SMD:R_1206_3216MetricR4, R5, R6, R7, R10, R11, R18, R19
71kResistor_SMD:R_1206_3216MetricR1, R3, R8, R9, R12, R14, R20
41N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD2, D3, D4, D5
4Jumper_2_OpenConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1, JP4, JP5, JP6
4MountingHoleMountingHole:MountingHole_3mm_PadH1, H2, H3, H4
3BC547Package_TO_SOT_THT:TO-92_Inline_WideQ2, Q3, Q4
3TestPointTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP1, TP2, TP3
2100uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC3, C4
210nFCapacitor_SMD:C_1206_3216MetricC7, C11
21uFCapacitor_SMD:C_1206_3216MetricC10, C12
22.2kResistor_SMD:R_1206_3216MetricR13, R15
2Jumper_3_OpenConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP2, JP3
2SW_Push_DualButton_Switch_SMD:SW_SPST_B3S-1000SW1, SW2
110uFCapacitor_SMD:C_1206_3216MetricC2
11MResistor_SMD:R_1206_3216MetricR17
14k7Resistor_SMD:R_1206_3216MetricR2
175RResistor_SMD:R_1206_3216MetricR16
1897-0803TerminalBlock_RND:TerminalBlock_RND_205-00276_1x02_P5.00mm_VerticalJ1
1ALARMALED_THT:LED_D3.0mmLED6
1BC557Package_TO_SOT_THT:TO-92_InlineQ1
1CH340NPackage_SO:SOP-8_3.9x4.9mm_P1.27mmU2
1Conn_01x13Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_VerticalJ2
1DB9_FEMALEConnector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mmJ1_RS1
1LM35-LPPackage_TO_SOT_THT:TO-92_Inline_WideU3
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU1
1POWER_LEDLED_THT:LED_D3.0mmLED3
1RMB2SPackage_TO_SOT_SMD:TO-269AAD1
1RXD_RS232_LEDLED_THT:LED_D3.0mmLED1
1RXD_USB_LEDLED_THT:LED_D3.0mmLED5
1TXD_RS232_LEDLED_THT:LED_D3.0mmLED2
1TXD_USB_LEDLED_THT:LED_D3.0mmLED4
1USB_B_MiniConnector_USB:USB_Mini-B_Wuerth_65100516121_HorizontalJ6-USB_Mini1
1~Library:ESP32U4

Similar boards

  • 2 layers34 × 76 mmEsp doorbell, the printed circuit board in 3D

    Esp doorbell

    MeesCode/esp-doorbell

    36 parts
  • 2 layers284.9 × 96.5 mmFella, the printed circuit board in 3D

    Fella

    agkaminski/FellaPC

    DIY 6502 all-in-keyboard personal computer

    115 parts2CC0-1.0
  • 4 layers188 × 128.3 mmZAK180, the printed circuit board in 3D

    ZAK180

    agkaminski/ZAK180

    DIY all-in-keyboard computer featuring Z180 and floppy drive

    140 parts
  • 4 layers215.3 × 96.8 mmZak181, the printed circuit board in 3D

    Zak181

    agkaminski/ZAK181

    Improved ZAK180: DIY all-in-keyboard computer featuring Z180 and floppy drive.

    123 parts
  • 4 layers130 × 65 mmMyConsole, the printed circuit board in 3D

    MyConsole

    krishecejee1008-creator/MiKrida-PCB

    81 parts
  • 2 layers56 × 65 mmSeaTalk1, the printed circuit board in 3D

    SeaTalk1

    dotnet/iot

    This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

    24 parts2.4kMIT
  • 2 layers148.8 × 132.2 mmUsbflashprog, the printed circuit board in 3D

    Usbflashprog

    robsonsmartins/usbflashprog

    A memory device programmer (Flash/EPROM/E2PROM) board and software, connected to PC by USB port.

    125 parts36
  • 2 layers83.8 × 72.4 mmVoice board, the printed circuit board in 3D

    Voice board

    Windfisch/analog-synth

    A low-cost semimodular analog synthesizer

    131 parts31GPL-3.0

Questions

How big is the Practica PCB?

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

What parts does the Practica use?

73 parts, built around the CH340N, BC547, BC557 and RMB2S. 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 Practica KiCad files?

From the marcosindiano7/ESP32-Temperature-WebServer-PCB repository on GitHub, at the commit this page was made from: the board is hardware/KiCad/Practica.kicad_pcb and its schematic hardware/KiCad/Practica.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Practica design in my own project?

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