Skip to the content
2 layers201.8 × 201.8 mmChess board, the printed circuit board in 3D

A physical chess board that can detect the position of chess pieces in real time using Hall effect sensors and provide visual feedback through RGB LEDs.

Size
201.8 × 201.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
266
Nets
156
Pads
760
Tracks, vias
0, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
23 Aug 2026
Updated
30 Sep 2026

Overview

Chess board is an open-source printed circuit board by Alen1132011, from the Alen1132011/Smart-chess-board repository on GitHub. It is a 2-layer board of 201.8 × 201.8 mm with 266 parts on 156 nets.

It is built around the 74HC165D and WS2812B. Its parts include 72 ICs, 65 resistors, 64 capacitors and 64 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

Smart Chess Board

A physical chess board that can detect the position of chess pieces in real time using Hall effect sensors and provide visual feedback through RGB LEDs.

The project combines custom electronics, firmware and a 3D printed enclosure to create a chess board that can understand what is happening on the board without using mechanical switches.

Budget & SMT Notes

  • Shipping: Selected the cheapest available shipping method to Bosnia and Herzegovina ($71.75).
  • SMT Assembly: I attempted to use Economic SMT Assembly to minimize costs, but JLCPCB automatically forces a switch to Standard SMT Assembly when incorporating WS2812B addressable LEDs.
  • Self-Funded Components: To keep the requested grant minimal, I will personally cover all additional hardware costs (ESP32 controller board, magnets, and 3D printing materials for the enclosure).

Current Status

The PCB design is complete and the first board is being prepared for production and assembly.

The project is still in development. Some features described below are planned and will be added as the hardware and firmware develop.

Once I assemble and test the first board, I will add more information to this repository, including photos, test results and a much more detailed assembly guide.

Features

  • Real-time piece detection using Hall effect sensors
  • 128 Hall effect sensors
  • RGB lighting under the chess squares
  • Custom PCB designed specifically for the board
  • Magnetic chess pieces using neodymium magnets
  • Firmware developed for the board
  • Planned Stockfish integration
  • Planned connection to online chess platforms

How It Works

Each chess piece has a small magnet in its base. Hall effect sensors placed underneath the board detect the magnetic field and determine whether a piece is present on a square.

The board uses 128 sensors connected through 74HC165 shift registers. This allows the microcontroller to read a large number of sensors without requiring a separate input pin for every sensor.

RGB LEDs are placed underneath the squares and can be used to show things such as possible moves, selected pieces, warnings and other information.

The main idea is to keep the playing surface completely clean while putting all of the electronics underneath it.

Hardware

The main components currently used in the design are:

  • Custom PCB designed in KiCad
  • 128x HAL2041SO Hall effect sensors
  • 16x 74HC165 shift registers
  • SK6812 / WS2812B RGB LEDs
  • 100nF capacitors
  • 10kΩ and 330Ω resistors
  • Chess pieces with neodymium magnets

The exact components and values may change after the first prototype is assembled and tested.

Repository Structure

text
CAD/              3D models and enclosure design
Firmware/         Board firmware
PCB/              KiCad PCB design files
Production/       Manufacturing and production files
Smart chess board Additional project files
README.md         Project documentation

Assembly

The first version of the board has not been fully assembled yet, so the complete assembly guide is not available at the moment.

After I build the first board, I will add a detailed guide covering:

  • PCB assembly
  • Hall sensor placement
  • LED installation
  • Wiring and power
  • Magnet placement in the chess pieces
  • Firmware installation
  • Initial testing and calibration
  • Common problems and fixes

I want the guide to be based on the actual first build rather than documenting steps that have not been tested yet.

Future Plans

The project is still being developed, and more features will be added after the first working board is finished.

Some of the planned improvements include:

  • Stockfish integration
  • Better move detection and validation
  • More RGB lighting effects
  • Online chess integration
  • Calibration tools
  • Improved enclosure
  • More detailed documentation

The first assembled board will be an important milestone because it will show which parts of the current design work as expected and which parts need to be improved.

Libraries and Tools

  • KiCad
  • PlatformIO
  • FastLED
  • Stockfish

Project Renders & Schematics

Screenshot 2026-08-27 151956chess board_fixed Screenshot 2026-08-27 151923 image image

Project Status

PCB design: Complete CAD design: In progress Firmware: In progress First board assembly: Upcoming Detailed assembly guide: Coming after the first build

This project is being developed step by step. The documentation will be updated as the physical board is built, tested and improved.

Parts

266
QtyValueFootprintReferences
64100nFCapacitor_SMD:C_0805_2012MetricC1, C2, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23 +48
6410kResistor_SMD:R_0805_2012MetricR1, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24 +48
64A1104xLHPackage_TO_SOT_SMD:SOT-23WU1, U11, U12, U13, U14, U15, U16, U17, U18, U20, U21, U22, U23, U24, U25, U26 +48
64WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +48
874HC165Package_TO_SOT_SMD:SOT-23WU2, U10, U19, U28, U37, U46, U55, U64
1330ΩResistor_SMD:R_0805_2012MetricR2
1Arduino_Nano_EveryModule:Arduino_NanoA1

Similar boards

  • 4 layers149.9 × 74.2 mmBCD-0o27, the printed circuit board in 3D

    BCD-0o27

    petnica-rac-seminari/BCD-0o27-Tetris

    The BalcCon Cyberdeck 0o27 (BCD-0o27) comes with a development framework that makes it easier to add functionality to the cyberdeck.

    142 parts1
  • 2 layers133.4 × 55.2 mmSynthboard, the printed circuit board in 3D

    Synthboard

    SomethingFourier/FPGA-Musical-Synth

    A musical synthesizer that generates and outputs I2S audio with an FPGA

    51 parts1
  • 4 layers136 × 95 mmGamepad PCB, the printed circuit board in 3D

    Gamepad PCB

    pacman314159/Multipurpose_ESP32_Gamepad

    140 parts
  • 4 layers90 × 100 mmMud-16, the printed circuit board in 3D

    Mud-16

    ratmuds/mud-16

    a little retro console with a Motorola 68000 and FPGA PPU

    100 parts
  • 2 layers100 × 80 mmMK74HC-16, the printed circuit board in 3D

    MK74HC-16

    xingrz/MK74HC-16

    78 parts
  • 2 layers114.5 × 45 mmSolderbit gamepad v0.6, the printed circuit board in 3D

    Solderbit gamepad v0.6

    devices-lab/solderbit-gamepad

    Learn-to-solder kit for the BBC micro:bit

    47 parts4GPL-3.0
  • 2 layers60 × 60 mmBase node, the printed circuit board in 3D

    Base node

    koko69420/HomeBus

    Hard wired home automation, based on a RSICV MCU and RS-422 communication protocol

    34 parts
  • 11 layers284.7 × 100.3 mmAzimuth PCB, the printed circuit board in 3D

    Azimuth PCB

    MysteryAssss/Keyboard_PCB

    172 parts

Questions

How big is the Chess board PCB?

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

What parts does the Chess board use?

266 parts, built around the 74HC165D and WS2812B. 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 Chess board KiCad files?

From the Alen1132011/Smart-chess-board repository on GitHub, at the commit this page was made from: the board is Smart chess board/PCB/Chess board.kicad_pcb and its schematic PCB/Chess board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Chess board design in my own project?

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