Skip to the content
PCBKitNew board
2 layers61 × 49.5 mmShutter, the printed circuit board in 3D

Code samples and ready projects based on bare-metal STM32

Size
61 × 49.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
52
Pads
148
Tracks, vias
287, 16
Pours
3
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
21 Mar 2015
Updated
10 Oct 2026

Overview

Shutter is an open-source printed circuit board by eddyem, from the eddyem/stm32samples repository on GitHub. It is a 2-layer board of 61 × 49.5 mm with 44 parts on 52 nets, routed with 287 tracks and 16 vias.

It is built around the TLE5205-2G, LM1117-3.3 and USBLC6-2SC6, with the DTA114Y among its other parts. Its parts include 10 capacitors, 10 resistors, 9 connectors, 5 diodes and 3 ICs. It belongs with the sensors and measurement and computers and single-board computers boards and the STM32 boards of this library.

Main components

4

README

Readme.md

Repository Overview

The stm32samples repository is a collection of low-level, bare-metal code examples and complete projects for various STM32 microcontroller series (F0, F1, F3, F4, G0). It uses CMSIS header files from modm-io/cmsis-header-stm32 for register definitions.

Project Structure by MCU Series

STM32F0 (F030, F042, F072)

  • 3steppersLB – Controls 3 stepper motors with encoders via USB/CAN bus
  • blink – Simple LED toggling
  • CANbus4BTA – CAN replacement for PEP-CAN
  • CANBUS_SSI – Works with BTA SSI azimuth encoder
  • Chiller – Basic chiller temperature controller
  • F0_testbrd – Tests STM32F0x2 on custom board
  • htu21d_nucleo – Reads HTU-21D sensor on Nucleo-F042K
  • morze – Echoes USART1 data as Morse code on TIM3CH1 (PA6)
  • NUCLEO_SPI – SSI over SPI on Nucleo-F042K
  • PL2303_ringbuffer – USB CDC ACM with ring buffers
  • QuadEncoder – Quadrature encoder via timer
  • Servo – Controls SG-90 style servos
  • Socket_fans – Manages multiple fans
  • TM1637 – Drives 7‑segment displays
  • tsys01_nucleo – Reads two TSYS01 sensors
  • uart_blink & uart_blink_dma – USART echo with DMA
  • usbcan_relay – Relay board over CAN bus
  • usbcan_ringbuffer – USB‑CAN adapter with ring buffers
  • USBHID – USB HID keyboard + mouse

STM32F1 (F103)

  • BMP180, BMP280 – I²C temperature/pressure sensors
  • Canon_managing_device – Controls Canon lenses
  • canUART – UART‑CAN bridge
  • DHT22_DHT11 – Humidity sensors using timer+DMA
  • DS18 – DS18x20 temperature sensors
  • F1_testbrd – Test board for LQFP48 packages
  • I2Cscan – I²C scanner with register R/W
  • LED_Screen – Drives 32×16 LED matrices (P10)
  • MAX7219_screen – Controls 8×8 LED matrices
  • RGB_LED_Screen – HUB75E RGB panel with 8.8.4 color
  • SevenCDCs – Seven USB‑CDC ACM instances on one MCU (joke project)
  • shutter – Bistable shutter via USB/external signal
  • Tetris – Tetris on HUB75E panel
  • USB_HID – USB HID mouse+keyboard
  • ws2815 – Rainbow effect on WS2815 strips

STM32F3 (F303)

  • ADC – Works with ADC peripheral
  • blink – Toggles LEDs on PB0/PB1
  • CANusb – USB‑CAN adapter
  • floatPrintf – Converts floats to strings
  • Multistepper – Controls up to 64 multiplexed steppers
  • NitrogenFlooding – Automatic nitrogen flooding
  • PL2303 – PL2303 emulator (old)
  • Seven_CDCs – Seven USB CDC ACM interfaces
  • usart1fullDMA – USART1 Rx/Tx DMA with match detection
  • USB_template_CDC – USB‑CDC template

STM32F4 (F401)

  • blink – Simple LED toggling

STM32G0 (G070, G0B1)

  • blink – Basic LED blink
  • RTC – Real‑time clock
  • flash – Flash memory operations
  • g0b1 – USB‑CDC working on G0B1
  • i2c – I²C operations
  • usart – USART communication

Other Directories

  • deprecated – Archive of older, no‑longer‑maintained code
  • snippets – Small reusable code fragments
  • testboard – KiCad 8 design files

Development Environment

  • Toolchain: arm-none-eabi‑gcc with -flto optimisations
  • Build: Structured Makefiles per series
  • Debug: OpenOCD configuration files provided
  • Libraries: No third‑party libraries; only CMSIS‑SVD headers

Project Maturity

  • Alpha: USB template for F303, MLX90640 all‑sky camera
  • Stable: LED blink, UART echo, sensor interfaces, USB‑CDC
  • Draft: CANbus4BTA, MLX90640multi
  • Deprecated: Older code in deprecated/

Summary

This repository is a valuable resource for learning low‑level STM32 programming without vendor libraries. It covers practical applications:

  • Industrial control: Stepper motors, CAN bus, relay boards
  • Sensor interfacing: Temperature, pressure, humidity, encoders
  • Human‑machine interfaces: LED matrices, 7‑segment displays, USB HID
  • Communication: UART, SPI, I²C, USB‑CDC, USB‑HID, CAN
  • Prototyping: Test boards for F0, F1, F3, G0

For the latest updates, check the repository on GitHub.

License

This repository is provided under the GNU General Public License v3 or later. Full text of the GPLv3 is available at https://www.gnu.org/licenses/gpl-3.0.html.

Parts

44
QtyValueFootprintReferences
50.1Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3, C5, C6, C7, C8
51N5819Diode_SMD:D_SOD-323_HandSolderingD1, D2, D3, D4, D5
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
34k7Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R5, R6
222Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR8, R9
26Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC9, C10
110kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
11k5Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10
11uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
12200u, 40VCapacitor_THT:CP_Radial_D17.0mm_P7.50mmC1
1300 IIResistor_THT:R_Axial_Power_L20.0mm_W6.4mm_P22.40mmR4
13v3Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ6
147uCapacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C_Pad2.25x2.35mm_HandSolderC4
156kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
15vConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ4
16.9Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
1DTA114YPackage_TO_SOT_SMD:SOT-323_SC-70_HandsolderingQ1
1GNDConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ5
1LM1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1NX5032GA-8MHzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
1STM32F103C6TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1SWDConnector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_VerticalJ3
1TLE5205Package_TO_SOT_THT:TO-220-7_P2.54x3.8mm_StaggerEven_Lead5.85mm_TabDownDA1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6_HandsolderingU3
1USB_BConnector_USB:USB_B_Lumberg_2411_02_HorizontalJ7
1ccdConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ9
1hallConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ8
1powerTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2
1shutterTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1

Questions

How big is the Shutter PCB?

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

What parts does the Shutter use?

44 parts, built around the TLE5205-2G, LM1117-3.3, USBLC6-2SC6 and DTA114Y. 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 Shutter KiCad files?

From the eddyem/stm32samples repository on GitHub, at the commit this page was made from: the board is F1:F103/shutter/kicad/shutter.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Shutter design in my own project?

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

More from eddyem/stm32samples

12
  • 4 layers113.5 × 105.5 mmMultistepper, the printed circuit board in 3D

    Multistepper

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    243 parts208
  • 2 layers121.5 × 136.5 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    192 parts208
  • 2 layers121.5 × 136.5 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    155 parts208
  • 4 layers80 × 80 mmNitrogen, the printed circuit board in 3D

    Nitrogen

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    140 parts208
  • 2 layers80 × 84 mmMany485, the printed circuit board in 3D

    Many485

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    117 parts208
  • 2 layers97 × 69.5 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    103 parts208
  • 2 layers98 × 63.5 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    98 parts208
  • 2 layers58 × 71 mmMLX90640-allsky, the printed circuit board in 3D

    MLX90640-allsky

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    94 parts208
  • 2 layers97.5 × 59.5 mmChrono, the printed circuit board in 3D

    Chrono

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    90 parts208
  • 2 layers75.5 × 52.5 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    89 parts208
  • 2 layers66 × 54 mmWindshield, the printed circuit board in 3D

    Windshield

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    86 parts208
  • 2 layers65.5 × 41 mmLamps, the printed circuit board in 3D

    Lamps

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    78 parts208

Similar boards

  • 4 layers200.5 × 70.9 mmALL, the printed circuit board in 3D

    ALL

    eddyem/IR-controller

    Clone of same project from sourceforge

    138 parts6GPL-3.0
  • 2 layers51 × 44 mmCh552g devbrd, the printed circuit board in 3D

    Ch552g devbrd

    eddyem/ch55x

    Some usefull things for working with ch55x chips

    19 parts5GPL-3.0
  • 2 layers34.9 × 15.2 mmTuronet, the printed circuit board in 3D

    Turonet

    javifercep/Turonet

    USB to SPI (MCB protocol) adapter

    30 parts
  • 2 layers48 × 19 mmUsb floppy adapter, the printed circuit board in 3D

    Usb floppy adapter

    roybaer/usb_floppy_adapter

    STM32-based USB to Floppy-Disk Drive (FDD) Adapter

    28 parts45
  • 2 layers56.9 × 63.9 mmOpi hat, the printed circuit board in 3D

    Opi hat

    eddyem/ARMsingleboard

    Something for singleboard PC (Orange Pi Zero1/2 etc): I2C, SPI etc.

    53 parts2GPL-3.0
  • 2 layers28 × 28 mmSmbussy, the printed circuit board in 3D

    Smbussy

    cr1tbit/smbussy

    CP2112 SMBus to USB-C adapter

    27 parts1
  • 2 layers139 × 47 mmEL Calendar, the printed circuit board in 3D

    EL Calendar

    zephray/EL-Calendar

    55 parts1
  • 4 layers104.4 × 50.9 mmChristmasLight, the printed circuit board in 3D

    ChristmasLight

    bamnet/village

    I have a collection of 1-2 dozen Department 56 lighted Christmas houses. The default lighting solution has a big problem though: a house is either lit or not.

    56 partsApache-2.0