Skip to the content
PCBKitNew board
2 layers66.3 × 90.2 mmStm32f407 tft 2.4inch hat, the printed circuit board in 3D

Stm32f407 tft 2.4inch hat

dchithinh/pcb-lab

Where I keep all my pcb projects for fun

Size
66.3 × 90.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
6
Nets
88
Pads
132
Tracks, vias
208, 36
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Oct 2026
Updated
31 Oct 2026

Overview

Stm32f407 tft 2.4inch hat is an open-source printed circuit board by dchithinh, from the dchithinh/pcb-lab repository on GitHub. It is a 2-layer board of 66.3 × 90.2 mm with 6 parts on 88 nets, routed with 208 tracks and 36 vias.

It belongs with the STM32 boards of this library.

README

stm32f407_tft_2.4inch_hat/README.md

stm32f407_tft_2.4inch_hat

KiCad project: a plug-on HAT for the STM32F407 Discovery.

Schematic and PCB only — no firmware in this repo.

Board preview

Assembled (real PCB + 2.4" LCD)

STM32F407 TFT HAT — assembled board with display

KiCad 3D

STM32F407 TFT HAT — KiCad 3D render

Renders and photos live under doc/ (PCB.jpg, PCB_3D.png).

Goal

One board you can solder and plug onto the Discovery:

BlockOn the HAT
SPI display2.4" ILI9341: SCK, MOSI, MISO, CS, D/C, RST, LED
I2CShared bus, pull-ups, extra connector (Grove / 2.54" / Qwiic) for sensors (e.g. HDC1080)
USART ADebug console header (USB–UART)
USART BESP32 TX/RX (plus RST, BOOT) — unstuffed on first spin is fine
Power3.3 V / GND from Discovery; ESP32 uses a 5 V → 3.3 V LDO on the HAT

Net names (schematic = PCB)

Use on schematicPCB netNotes
GND/GND
3V/3V3.3 V on 1×4 headers
5V/5VDiscovery 5 V
VDD/VDDDiscovery 3.3 V pins (tie to 3V on the schematic if one rail)
DBG_UART2_TX, DBG_UART2_RXsameUSART2 on PA2 / PA3 (not USART1)
I2C2_SCL, I2C2_SDAsamePB10 / PB11 — not I2C_SCL / I2C_SDA
LCD_*sameDisplay, touch, SD, SPI2 (see signal table below)

HAT connectors (PCB)

  • DBG_UART1 (1×4): 1 3V, 2 DBG_UART2_RX, 3 DBG_UART2_TX, 4 GND
  • I2C-Sensor1 / I2C-RealTime1 (1×4): 1 I2C2_SCL, 2 I2C2_SDA, 3 3V, 4 GND

HAT signal pins (schematic labels)

FunctionConnectorPadMCUNet
USART2 debugP213PA2DBG_UART2_TX
USART2 debugP214PA3DBG_UART2_RX
I2C2 sensor busP233PB10I2C2_SCL
I2C2 sensor busP236PB11I2C2_SDA
SPI2 displayP238PB13LCD_SCK
SPI2 displayP240PB15LCD_MOSI
SPI2 displayP29PC2LCD_MISO
LCD controlP241PD10LCD_RESET
LCD controlP242PD9LCD_DC
LCD chip selectP119PB9LCD_CS
SPI3 SD / touch (shared CLK/MOSI/MISO)P138PC10LCD_SD_CLK
SPI3 SD / touchP137PC11LCD_SD_MISO
SPI3 SD / touchP136PC12LCD_SD_MOSI
Touch / SD chip selectsP115PE3LCD_T_CS
Touch / SD chip selectsP114PE4LCD_SD_CS
Touch IRQP112PE5LCD_T_IRQ

On the ILI9341 module, touch and SD share SPI lines; the schematic uses LCD_SD_* / LCD_T_* aliases on the same nets where noted in KiCad.

Files

FileRole
stm32f407_tft_2.4inch_hat.kicad_proProject
stm32f407_tft_2.4inch_hat.kicad_schSchematic
stm32f407_tft_2.4inch_hat.kicad_pcbBoard
stm32f407_tft_2.7inch_hat_gerber_v1/Gerber release + schematic_v1.pdf
doc/PCB.jpgAssembled HAT with 2.4" LCD (see preview above)
doc/PCB_3D.pngKiCad 3D board render (see preview above)

Parts

6
QtyValueFootprintReferences
3Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalI2C, I2C, UART1
1STM32F407-DISC P1Connector_PinHeader_2.54mm:PinHeader_2x25_P2.54mm_VerticalP1
1STM32F407-DISC P2Connector_PinHeader_2.54mm:PinHeader_2x25_P2.54mm_VerticalP2
1TFT SPI 240x320Display:CR2013-MI2120LCD_Panel1

Questions

How big is the Stm32f407 tft 2.4inch hat PCB?

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

What parts does the Stm32f407 tft 2.4inch hat use?

6 parts. 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 Stm32f407 tft 2.4inch hat KiCad files?

From the dchithinh/pcb-lab repository on GitHub, at the commit this page was made from: the board is stm32f407_tft_2.4inch_hat/stm32f407_tft_2.4inch_hat.kicad_pcb and its schematic stm32f407_tft_2.4inch_hat/stm32f407_tft_2.4inch_hat.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Stm32f407 tft 2.4inch hat design in my own project?

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

Similar boards

  • 2 layers18.5 × 11.1 mmSwitch, the printed circuit board in 3D

    Switch

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    6 parts4.3kMIT
  • 2 layers14.6 × 33 mmBrain board SD Card 1, the printed circuit board in 3D

    Brain board SD Card 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    6 parts1.2k
  • 2 layers9 × 9 mmDpoint, the printed circuit board in 3D

    Dpoint

    Jcparkyn/dpoint

    Open-source digital stylus using camera tracking and inertial measurements

    6 parts1.1kMIT
  • 2 layers51.5 × 16.6 mmMicroswitchXY Endstop, the printed circuit board in 3D

    MicroswitchXY Endstop

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    6 parts1.1kGPL-3.0
  • 2 layers21.9 × 76.7 mmAmiga External, the printed circuit board in 3D

    Amiga External

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    6 parts1kGPL-3.0
  • 2 layers88.9 × 50.8 mmBusinesscard, the printed circuit board in 3D

    Businesscard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    6 parts915
  • 2 layers20.3 × 15.2 mmL0 RGB led, the printed circuit board in 3D

    L0 RGB led

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    6 parts546MIT
  • 2 layers9 × 3.6 mmOpticalEncoder, the printed circuit board in 3D

    OpticalEncoder

    adamb314/ServoProject

    Getting the most out of your hobby servo

    6 parts545