Skip to the content
2 layers240 × 12 mmChessboard2, the printed circuit board in 3D

Chessboard2

ut-ras/chessbot7

Python/MQTT software, Raspberry Pi Config files, PCB Schematics for an autonomous chess playing robot

Size
240 × 12 mm
Copper layers
2
Thickness
1.6 mm
Parts
78
Nets
65
Pads
269
Tracks, vias
723, 75
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
24 Jan 2024
Updated
22 Oct 2025

Overview

Chessboard2 is an open-source printed circuit board by ut-ras, from the ut-ras/chessbot repository on GitHub. It is a 2-layer board of 240 × 12 mm with 78 parts on 65 nets, routed with 723 tracks and 75 vias.

It is built around the WS2814F and AO3401A. Its parts include 24 capacitors, 17 resistors, 16 ICs, 8 diodes and 8 transistors. It belongs with the robots and motor control boards of this library.

Main components

2

README

README.md

ChessBot: Automated Chessboard

Overview

ChessBot is an innovative project developed by the IEEE RAS - Demobots team. It is a CNC-inspired automated chessboard designed to enhance the experience of playing chess. Using an actuated electromagnet gantry system, ChessBot can move magnetized chess pieces across the board autonomously, allowing for a seamless game between two players or against a computer-controlled opponent. The project aims to merge the ancient game of chess with modern technology, providing a unique and interactive experience.

Features

  • Automated Piece Movement: Moves chess pieces using an electromagnet on a step-driven gantry system, controlled under the board.

  • Magnetized Chess Pieces: Each piece is magnetized for precise and secure movement. Piece movements are detected via 3D magnetic sensors underneath each square.

  • Player vs. Computer Mode: Play against an AI with adjustable difficulty settings.

  • Two-Player Online Mode: Enjoy an enhanced tele-chess experience with automated piece movements that reflect your partner's movements from across the internet using Lichess

Installation & Setup (WIP)

Make sure you have Python 3.6 or higher installed on your system. You can download it from the official Python website.

If on Windows use WSL for now, as the code is not tested on Windows.

  1. Clone the repository to your local machine:
bash
git clone https://github.com/ut-ras/chessbot.git 
  1. Install the required Python packages:
bash
cd chessbot
pip install -r requirements.txt
  1. install stockfish and note what path it is installed to, you will need this for the python script. On Ubuntu or WSL you can do this with the following commands:
bash
sudo apt-get install stockfish && which stockfish

The output of the which stockfish command will be the path to the stockfish binary. Copy that path, you will need this for the python script.

  1. In the python/bitboard_with_stockfish.py file, change the stockfish_path variable to the path of the stockfish binary you found in the previous step.

  2. Run the Python script:

bash
python python/bitboard_with_stockfish.py

Software

  • python/bitboard_with_stockfish.py - This is the main file that runs the chess engine. It uses the python-chess library to interface with the Stockfish chess engine. The bitboard implementation is a custom implementation that uses 64-bit integers to represent the chessboard. Makes calls to functions in python/display_output.py, animates the board for a 128x64 display, currently only makes the bitmap.

    • Bitboards are 64bit integer representations of the entire chessboard. 8x8 squares = 64 squares, so a digital for each individual square, that digit is 1 when a piece is on the corresponding square and 0 when a piece is absent from the square.

    • So far we arent using any "standard" bitboard implementations, as our situation is a tad unique. Most chess engines that utilize 12 bitboards, one for each piece type, ( [pawn + knight + bishop + rook + queen + king] * 2 teams = 12 piece types).

    • Here is a diagram of how each space on the chessboard is indexed in the bitboard, the number at each square is the digital that is either high or low depending on if a piece is there or not. For example, square a4 is position 32

      text
        8 |  0  1  2  3  4  5  6  7
        7 |  8  9 10 11 12 13 14 15
        6 | 16 17 18 19 20 21 22 23
        5 | 24 25 26 27 28 29 30 31
        4 | 32 33 34 35 36 37 38 39
        3 | 40 41 42 43 44 45 46 47
        2 | 48 49 50 51 52 53 54 55
        1 | 56 57 58 59 60 61 62 63
           -------------------------
           a  b  c  d  e  f  g  h

TODO

  • Assemble and test chessboard PCB's - each is an individual rank of the board that connect together.
  • Fill this section in with what we have left to do lol

Parts

78
QtyValueFootprintReferences
241uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23 +8
9100RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R3, R5, R7, R9, R11, R13, R15, R17
810kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R4, R6, R8, R10, R12, R14, R16
8AO3401APackage_TO_SOT_SMD:SOT-23_HandsolderingQ1, Q2, Q3, Q4, Q5, Q6, Q7, Q8
8LED_RGABLED_SMD:LED_RGB_Wuerth-PLCC4_3.2x2.8mm_150141M173100D9, D10, D11, D12, D13, D14, D15, D16
8TMAG5273Package_TO_SOT_SMD:SOT-23-6_HandsolderingU2, U4, U6, U8, U10, U12, U14, U16
8WS2814F0chessbot:FSOP-8U1, U3, U5, U7, U9, U11, U13, U15
2Conn_01x06Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1, J2
2SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mmJP1, JP2
1MountingHoleMountingHole:MountingHole_3.2mm_M3H1

More from ut-ras/chessbot

2
  • 4 layers65 × 57 mmControlboard, the printed circuit board in 3D

    Controlboard

    ut-ras/chessbot

    Python/MQTT software, Raspberry Pi Config files, PCB Schematics for an autonomous chess playing robot

    170 parts7
  • 2 layers10 × 300 mmChessboard5-bus, the printed circuit board in 3D

    Chessboard5-bus

    ut-ras/chessbot

    Python/MQTT software, Raspberry Pi Config files, PCB Schematics for an autonomous chess playing robot

    14 parts7

Similar boards

  • 2 layers16 × 35.2 mmDemonEye, the printed circuit board in 3D

    DemonEye

    rhkean/kicad_DemonEye

    35 parts
  • 2 layers163 × 12 mmLight bar, the printed circuit board in 3D

    Light bar

    tanaes/OvoEasy_light_bar

    KiCad design for the OvoEasy light bar board

    67 parts
  • 2 layers20 × 20 mmPixel, the printed circuit board in 3D

    Pixel

    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.

    13 partsApache-2.0
  • 2 layers192.2 × 150.5 mmDjinn, the printed circuit board in 3D

    Djinn

    tzarc/keyboards

    @tzarc's custom keyboard designs.

    292 parts993CERN-OHL-S-2.0
  • 4 layers102.9 × 96.7 mmPicoGUS chipdown, the printed circuit board in 3D

    PicoGUS chipdown

    polpo/picogus

    Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support

    99 parts805
  • 6 layers237.9 × 80.5 mmXG Mobile Dock, the printed circuit board in 3D

    XG Mobile Dock

    osy/XG_Mobile_Station

    Open source eGPU dock for ROG Ally and ROG Flow

    300 parts712CC-BY-4.0
  • 2 layers60 × 111.3 mmSilkscreen pcb, the printed circuit board in 3D

    Silkscreen pcb

    iandchasse/silkscreen-pcb

    Silkscreen: open-hardware ESP32-S3 e-paper reader mainboard (KiCad 9). Formerly the de-link hub.

    189 parts589CERN-OHL-S-2.0
  • 2 layers89.2 × 82.6 mmDesktop 50 Pin TopConn, the printed circuit board in 3D

    Desktop 50 Pin TopConn

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    108 parts459GPL-3.0

Questions

How big is the Chessboard2 PCB?

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

What parts does the Chessboard2 use?

78 parts, built around the WS2814F and AO3401A. 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 Chessboard2 KiCad files?

From the ut-ras/chessbot repository on GitHub, at the commit this page was made from: the board is hardware/chessboard/chessboard2.kicad_pcb and its schematic hardware/chessboard-bus/chessboard5-bus.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Chessboard2 design in my own project?

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