Skip to the content
2 layers160 × 100 mmPcb stm401re, the printed circuit board in 3D

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

2

README

README.md

Advanced Embedded Systems Project: STM32 & ESP32 Integration

License: MIT STM32 ESP32

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_PCB directory.

🏗️ Repository Structure

The repository is modularly structured to keep hardware and firmware separated:

text
.
├── 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

  1. Open STM32CubeIDE.
  2. Select File -> Import... -> General -> Existing Projects into Workspace.
  3. Choose the STM32_Firmware/main_code directory.
  4. Build the project (Project -> Build Project) and flash it to the Nucleo board.

2. Building the ESP32 Firmware

  1. Open VSCode with the PlatformIO extension installed.
  2. Click Open Project and select the ESP32_Firmware/main_esp directory.
  3. Connect the ESP32 via USB and click the Upload button in the PlatformIO toolbar.
  4. Open the Serial Monitor at 115200 baud 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
QtyValueFootprintReferences
18330Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R30 +2
12SW_MEC_5Gkicad_bib:switchSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12
8LEDLED_THT:LED_D5.0mmD0, D1, D2, D3, D4, D5, D6, D7
610kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R4, R5, R6, R7, R8
51kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R25, R26, R27, R28
4KCSC02-107Display_7Segment:7SegmentLED_LTS6760_LTS6780Display1, Display2, Display3, Display4
4MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3HOLE_DL, HOLE_DR, HOLE_UL, HOLE_UR
4NPNPackage_TO_SOT_SMD:SOT-23Q2, Q3, Q4, Q5
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalI2C1, UART6
2NUCLEO-F401RENucleo:ST_NUCLEO-F401RENucleo-left1, Nulceo-Right1
14,7KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1BC846Package_TO_SOT_SMD:SOT-23Q1
1BuzzerBuzzer_Beeper:Buzzer_15x7.5RM7.6BZ1
1CCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1
1DS18B20Package_TO_SOT_THT:TO-92_InlineU1
1JumperConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1PhotoresistorOptoDevice:R_LDR_5.1x4.3mm_P3.4mm_VerticalPR1
1R_PotentiometerPotentiometer_THT:Potentiometer_Alps_RK163_Single_HorizontalPOT1
1RotaryEncoderkicad_bib:enkodweSW0
1ThermistorResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalTH1
1XIAO-ESP32-S3-SenseSeeed Studio XIAO Series Library:XIAO-ESP32S3-DIPU2
1~kicad_bib:Bez_nazwyU3

Similar boards

  • 2 layers65 × 56 mmRaspberryPi UPS HAT, the printed circuit board in 3D

    RaspberryPi UPS HAT

    gvoigtlaender/RaspberryPi_UPS_HAT

    RaspberryPi UPS HAT

    63 parts4GPL-3.0
  • 2 layers200 × 101 mmAtmega32, the printed circuit board in 3D

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

    LYFT CTRL

    mgkoenig/lyft

    LYFT is a sophisticated remote control for your IKEA BEKANT desk.

    43 parts88GPL-3.0
  • 2 layers64.1 × 36.2 mmProbeConverter, the printed circuit board in 3D

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

    St251n 20603

    schlae/HardDriveInfo

    Repair info and schematics for mostly older MFM hard drives

    277 parts38
  • 4 layers120 × 100 mmBsc, the printed circuit board in 3D

    Bsc

    shining-man/bsc_hw

    Hardware battery safety controller (BSC)

    286 parts31MIT
  • 2 layers100 × 70 mmRTD2662Board, the printed circuit board in 3D

    RTD2662Board

    KerJoe/RTD2662Board

    Prototype board for RTD2662 display controller

    259 parts24
  • 2 layers256 × 121 mmForte PA Deck, the printed circuit board in 3D

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