Skip to the content
2 layersHardware kicad, the printed circuit board in 3D

A fully functional chess clock built with an STM32 microcontroller, using hardware timers and external components for a realistic, competitive experience.

Copper layers
2
Thickness
1.6 mm
Parts
36
Nets
33
Pads
174
Tracks, vias
440, 32
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
3 May 2025
Updated
5 May 2025

Overview

Hardware kicad is an open-source printed circuit board by pierre-bouckson, from the pierre-bouckson/Chess_clock_using_STM32 repository on GitHub. It is a 2-layer board with 36 parts on 33 nets, routed with 440 tracks and 32 vias.

It is built around the MAX6958AAEE+T and TDSG3160-M. Its parts include 22 resistors, 4 connectors and 2 ICs.

Main components

2

README

README.md

Chess Clock using STM32

Chess Clock Overview

A fully functional chess clock built with an STM32 microcontroller, using hardware timers and external components for a realistic, competitive experience. This project combines embedded programming, electronics, and 3D printing.


Required Equipment

  1. STM32F072RB microcontroller (or any STM32 with hardware timers)
  2. 3D-printed enclosure
  3. 5V power supply (via USB power bank)
  4. 4 screws (for enclosure assembly)
  5. Shaft – 3.5mm diameter, 6cm long
  6. 4 magnets
  7. 8-digit 7-segment display
    TDSG3160-M – Vishay
  8. 2 LED display drivers
    MAX6958AAEE – Analog Devices
  9. Passive components: resistors, capacitors, tactile button, etc.

Tools Used


Project Overview

The chess clock is powered by an STM32F072RB, using two hardware timers (TIM6 and TIM7) to track each player's countdown in real time. Turn switching is handled by a physical mechanism using a rotating shaft and magnets. Two MAX6958 drivers control the 7-segment displays. The clock supports multiple time modes and optional time increments.


Assembly Guide

1. Print the Enclosure

  • Insert magnets into the 4 dedicated holes.

  • Create a custom push-button using aluminum (as shown below):

    Button Example

  • Connect the button between 5V and PB0.

  • Drill a hole in the enclosure to pass the power cable.

    Wiring Example

2. Prepare the Electronics

Display Wiring

  • Use 4 pull-up resistors (1kΩ) for I2C communication.

  • Use 9 resistors (330Ω) for the LED segments.

  • Connect the first display driver to:

    • 3.3V, GND
    • PB8 (SCL), PB9 (SDA)
  • Connect the second driver to:

    • 3.3V, GND
    • PB10 (SCL), PB11 (SDA)

Don't forget to add decoupling capacitors near the power pins.

Back View


Repository Structure

  • 3D_model/ – 3D-printable enclosure files (STL)
  • software_STM32/ – STM32 firmware (C)
  • Image/ – Photos
  • hardware_kicad/ – Schematics and PCB files
  • README.md – This file

Feel free to clone the repository, give feedback, or open issues!

Parts

36
QtyValueFootprintReferences
22RResistor_SMD:R_0805_2012MetricR1, R1, R2, R2, R3, R3, R4, R4, R5, R5, R6, R6, R10, R10, R11, R11 +6
8TDSG3160-Mfootprints:DIP10_TDS1er1, 1er1, 2eme1, 2eme1, 3eme1, 3eme1, 4eme1, 4eme1
2Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J1
2Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2, J2
2max6958aaeeCMS:21-0055H_16_MXMU2, U2

More from pierre-bouckson/Chess_clock_using_STM32

1
  • 2 layers25 × 25 mmBypass capacitor, the printed circuit board in 3D

    Bypass capacitor

    pierre-bouckson/Chess_clock_using_STM32

    A fully functional chess clock built with an STM32 microcontroller, using hardware timers and external components for a realistic, competitive experience.

    4 parts1

Similar boards

  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

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

    36 parts1kGPL-3.0
  • 2 layers55 × 70 mmArduino v1, the printed circuit board in 3D

    Arduino v1

    hackclub/OnBoard

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

    36 parts915
  • 2 layers50.4 × 24.8 mmLEDboardRev3, the printed circuit board in 3D

    LEDboardRev3

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    36 parts914
  • 2 layers45.7 × 31.8 mmLEDx16 board, the printed circuit board in 3D

    LEDx16 board

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    36 parts803MIT
  • 2 layers32 × 24 mmEsp onelayer3, the printed circuit board in 3D

    Esp onelayer3

    cnlohr/colorchord

    Chromatic Sound to Light Conversion System

    36 parts712
  • 2 layers69 × 53.8 mmTUSS4470 shield, the printed circuit board in 3D

    TUSS4470 shield

    Neumi/open_echo

    Open Source echo sounder / depth sounder / SONAR for bathymetry and research. Arduino based and compatible.

    36 parts530
  • 2 layers99.1 × 53.3 mmABSIS Mega, the printed circuit board in 3D

    ABSIS Mega

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    36 parts431
  • 2 layers16.1 × 119 mmConnectorL, the printed circuit board in 3D

    ConnectorL

    thpoll83/PolyKybd

    PolyKybd

    36 parts411CERN-OHL-W-2.0

Questions

What parts does the Hardware kicad use?

36 parts, built around the MAX6958AAEE+T and TDSG3160-M. 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 Hardware kicad KiCad files?

From the pierre-bouckson/Chess_clock_using_STM32 repository on GitHub, at the commit this page was made from: the board is hardware_kicad/hardware_kicad.kicad_pcb and its schematic hardware_kicad/bypass capacitor/bypass capacitor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hardware kicad design in my own project?

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