

Pcb stm401re
BSc Engineering Thesis: A comprehensive IoT telemetry node featuring a custom STM32-ESP32 architecture. STM32 acts as the hardware master, while ESP32 handles Wi-Fi and web dashboard.
- Size
- 160 × 100 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 77
- Nets
- 124
- Pads
- 350
- Tracks, vias
- 808, 84
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 14 Jun 2026
- Updated
- 14 Jun 2026
Overview
Pcb stm401re is an open-source printed circuit board by JutomDev, from the JutomDev/BSc-Thesis-IoT-STM32-ESP32 repository on GitHub, published under the MIT licence. It is a 2-layer board of 160 × 100 mm with 77 parts on 124 nets, routed with 808 tracks and 84 vias.
It is built around the DS18B20 and BC846. Its parts include 30 resistors, 13 switches, 8 diodes, 5 transistors and 3 ICs. It belongs with the ESP32 boards of this library.
Main components
2README
README.mdAdvanced Embedded Systems Project: STM32 & ESP32 Integration
A comprehensive engineering project demonstrating a complex embedded architecture utilizing an STM32 microcontroller and an ESP32 module. The system integrates multiple sensors, real-time control (stepper motors, displays), and an asynchronous web server for remote monitoring and telemetry.
📖 Features
- Master-Slave Architecture: The STM32 acts as the system master, processing sensor data and controlling peripherals. The ESP32 acts as a slave co-processor handling Wi-Fi communication and video streaming.
- I2C Telemetry Synchronization: Custom, robust I2C communication protocol between STM32 and ESP32.
- Remote Monitoring: Built-in Asynchronous Web Server on ESP32 exposing REST-like APIs and providing an interactive UI.
- Hardware Integration:
- Precision motor control (L6470 Stepper Motor Driver)
- IMU integration (IKS01A2 shield) for orientation tracking
- Temperature sensing (DS18B20 and NTC Thermistors)
- Camera module support for live streaming
- Custom PCB Design: Designed in KiCad. All hardware files are available in the
Hardware_PCBdirectory.
🏗️ Repository Structure
The repository is modularly structured to keep hardware and firmware separated:
.
├── ESP32_Firmware/ # PlatformIO project containing the ESP32 code (Web Server, Camera, I2C Slave)
├── STM32_Firmware/ # STM32CubeIDE project containing the bare-metal/HAL STM32 code
├── Hardware_PCB/ # KiCad project files, Schematics, and Gerber files for manufacturing
└── README.md # Project documentation🛠️ Tech Stack & Requirements
STM32 Firmware
- MCU: STM32F401RE (Nucleo Board)
- IDE: STM32CubeIDE
- Framework: STM32 HAL Library
- Key Modules: DMA, I2C, SPI, ADC, Timers.
ESP32 Firmware
- SoC: ESP32-S3
- IDE: VSCode + PlatformIO
- Framework: Arduino Core for ESP32
- Key Modules: ESPAsyncWebServer, Wire (I2C Slave), ESP32 Camera.
PCB Hardware
- Tool: KiCad 7+
- Design: Two-layer board with motor driver, power management, and sensor breakouts.
🚀 Getting Started
1. Building the STM32 Firmware
- Open STM32CubeIDE.
- Select
File -> Import... -> General -> Existing Projects into Workspace. - Choose the
STM32_Firmware/main_codedirectory. - Build the project (
Project -> Build Project) and flash it to the Nucleo board.
2. Building the ESP32 Firmware
- Open VSCode with the PlatformIO extension installed.
- Click
Open Projectand select theESP32_Firmware/main_espdirectory. - Connect the ESP32 via USB and click the Upload button in the PlatformIO toolbar.
- Open the Serial Monitor at
115200baud to view the AP startup sequence and IP address.
📡 Wi-Fi Configuration
By default, the ESP32 starts in Access Point (SoftAP) mode:
- SSID:
ESP32S3 - Password:
12345678
Connect your phone or laptop to this network and navigate to the IP address printed in the Serial Monitor (typically 192.168.4.1) to access the web dashboard.
Created as part of an Engineering Thesis (Praca Inżynierska).
Parts
77| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 330 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R30 +2 |
| 12 | SW_MEC_5G | kicad_bib:switch | SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12 |
| 8 | LED | LED_THT:LED_D5.0mm | D0, D1, D2, D3, D4, D5, D6, D7 |
| 6 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3, R4, R5, R6, R7, R8 |
| 5 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R25, R26, R27, R28 |
| 4 | KCSC02-107 | Display_7Segment:7SegmentLED_LTS6760_LTS6780 | Display1, Display2, Display3, Display4 |
| 4 | MountingHole_3.2mm_M3 | MountingHole:MountingHole_3.2mm_M3 | HOLE_DL, HOLE_DR, HOLE_UL, HOLE_UR |
| 4 | NPN | Package_TO_SOT_SMD:SOT-23 | Q2, Q3, Q4, Q5 |
| 2 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | I2C1, UART6 |
| 2 | NUCLEO-F401RE | Nucleo:ST_NUCLEO-F401RE | Nucleo-left1, Nulceo-Right1 |
| 1 | 4,7K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | BC846 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_15x7.5RM7.6 | BZ1 |
| 1 | C | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1 |
| 1 | DS18B20 | Package_TO_SOT_THT:TO-92_Inline | U1 |
| 1 | Jumper | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | Photoresistor | OptoDevice:R_LDR_5.1x4.3mm_P3.4mm_Vertical | PR1 |
| 1 | R_Potentiometer | Potentiometer_THT:Potentiometer_Alps_RK163_Single_Horizontal | POT1 |
| 1 | RotaryEncoder | kicad_bib:enkodwe | SW0 |
| 1 | Thermistor | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | TH1 |
| 1 | XIAO-ESP32-S3-Sense | Seeed Studio XIAO Series Library:XIAO-ESP32S3-DIP | U2 |
| 1 | ~ | kicad_bib:Bez_nazwy | U3 |
Similar boards
- 2 layers65 × 56 mm

- 2 layers200 × 101 mm

Atmega32
talonghtn-rgb/MachATmega32
Đây là dự án thiết kế và chế tạo bo mạch học tập lập trình nhúng sử dụng vi điều khiển ATmega32, được xây dựng nhằm phục vụ việc học tập, thực hành và nghiên cứu các hệ thống nhúng.
168 parts - 2 layers43 × 35 mm

LYFT CTRL
mgkoenig/lyft
LYFT is a sophisticated remote control for your IKEA BEKANT desk.
43 parts88GPL-3.0 - 2 layers64.1 × 36.2 mm

ProbeConverter
Open-Lab-Starter-Kit/OLSK-Small-CNC
Open Source CNC Milling machine - Small version - Open Lab Starter Kit
13 parts62CERN-OHL-W-2.0 - 4 layers137.4 × 199.1 mm

St251n 20603
schlae/HardDriveInfo
Repair info and schematics for mostly older MFM hard drives
277 parts38 - 4 layers120 × 100 mm

- 2 layers100 × 70 mm

- 2 layers256 × 121 mm

Forte PA Deck
SP6GK/Forte-600-HF-RF-Amplifier
Project of 600 W LDMOS amlifier based on 2xMRF300.
170 parts17GPL-3.0
Questions
How big is the Pcb stm401re PCB?
It measures 160 × 100 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pcb stm401re use?
77 parts, built around the DS18B20 and BC846. 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 stm401re KiCad files?
From the JutomDev/BSc-Thesis-IoT-STM32-ESP32 repository on GitHub, at the commit this page was made from: the board is Hardware_PCB/pcb_stm401re.kicad_pcb and its schematic Hardware_PCB/pcb_stm401re.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pcb stm401re 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).