

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
4CH340N
SOP-8-20℃~+70℃ 1 2Mbps 3.3V、5V USB 2.0 USB to serial SOP-8 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersBC547
TO-92Bipolar (BJT)Jiangsu Changjing Electronics Technology (CJ)BC557
TO-921 PNP 100mA 100nA 150MHz 45V 500mW 6V 800 90mV、250mV PNP TO-92 Bipolar (BJT) ROHSDDFBipolar (BJT)RMB2S
MBS-55℃~+150℃@(Tj) 1.3V@400mA 200V 30A 500mA 5uA@200V Single-Phase Rectifier MBS Bridge Rectifiers ROHSMDDBridge Rectifiers
README
README.mdESP32 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 Layout

Assembled Board


Web Interface


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.

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.

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.

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.

Expansion Connector
An expansion connector exposes additional ESP32 pins for future extensions or external peripherals.
Repository Structure
.
├── 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
└── .gitignoreKiCad 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:

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| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 100nF | Capacitor_SMD:C_1206_3216Metric | C1, C5, C6, C8, C9, C13, C14, C15 |
| 8 | 10k | Resistor_SMD:R_1206_3216Metric | R4, R5, R6, R7, R10, R11, R18, R19 |
| 7 | 1k | Resistor_SMD:R_1206_3216Metric | R1, R3, R8, R9, R12, R14, R20 |
| 4 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D2, D3, D4, D5 |
| 4 | Jumper_2_Open | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | JP1, JP4, JP5, JP6 |
| 4 | MountingHole | MountingHole:MountingHole_3mm_Pad | H1, H2, H3, H4 |
| 3 | BC547 | Package_TO_SOT_THT:TO-92_Inline_Wide | Q2, Q3, Q4 |
| 3 | TestPoint | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP1, TP2, TP3 |
| 2 | 100uF | Capacitor_THT:CP_Radial_D5.0mm_P2.50mm | C3, C4 |
| 2 | 10nF | Capacitor_SMD:C_1206_3216Metric | C7, C11 |
| 2 | 1uF | Capacitor_SMD:C_1206_3216Metric | C10, C12 |
| 2 | 2.2k | Resistor_SMD:R_1206_3216Metric | R13, R15 |
| 2 | Jumper_3_Open | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP2, JP3 |
| 2 | SW_Push_Dual | Button_Switch_SMD:SW_SPST_B3S-1000 | SW1, SW2 |
| 1 | 10uF | Capacitor_SMD:C_1206_3216Metric | C2 |
| 1 | 1M | Resistor_SMD:R_1206_3216Metric | R17 |
| 1 | 4k7 | Resistor_SMD:R_1206_3216Metric | R2 |
| 1 | 75R | Resistor_SMD:R_1206_3216Metric | R16 |
| 1 | 897-0803 | TerminalBlock_RND:TerminalBlock_RND_205-00276_1x02_P5.00mm_Vertical | J1 |
| 1 | ALARMA | LED_THT:LED_D3.0mm | LED6 |
| 1 | BC557 | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | CH340N | Package_SO:SOP-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | Conn_01x13 | Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_Vertical | J2 |
| 1 | DB9_FEMALE | Connector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mm | J1_RS1 |
| 1 | LM35-LP | Package_TO_SOT_THT:TO-92_Inline_Wide | U3 |
| 1 | LM7805_TO220 | Package_TO_SOT_THT:TO-220-3_Vertical | U1 |
| 1 | POWER_LED | LED_THT:LED_D3.0mm | LED3 |
| 1 | RMB2S | Package_TO_SOT_SMD:TO-269AA | D1 |
| 1 | RXD_RS232_LED | LED_THT:LED_D3.0mm | LED1 |
| 1 | RXD_USB_LED | LED_THT:LED_D3.0mm | LED5 |
| 1 | TXD_RS232_LED | LED_THT:LED_D3.0mm | LED2 |
| 1 | TXD_USB_LED | LED_THT:LED_D3.0mm | LED4 |
| 1 | USB_B_Mini | Connector_USB:USB_Mini-B_Wuerth_65100516121_Horizontal | J6-USB_Mini1 |
| 1 | ~ | Library:ESP32 | U4 |
Similar boards
- 2 layers34 × 76 mm

- 2 layers284.9 × 96.5 mm

- 4 layers188 × 128.3 mm

- 4 layers215.3 × 96.8 mm

Zak181
agkaminski/ZAK181
Improved ZAK180: DIY all-in-keyboard computer featuring Z180 and floppy drive.
123 parts - 4 layers130 × 65 mm

- 2 layers56 × 65 mm

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 mm

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 mm

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.