Skip to the content
2 layers10 × 300 mmChessboard5-bus, the printed circuit board in 3D

Chessboard5-bus

ut-ras/chessbot7

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

Size
10 × 300 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
11
Pads
73
Tracks, vias
126, 32
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
24 Jan 2024
Updated
22 Oct 2025

Overview

Chessboard5-bus 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 10 × 300 mm with 14 parts on 11 nets, routed with 126 tracks and 32 vias.

It belongs with the robots and motor control boards of this library.

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

14
QtyValueFootprintReferences
10Conn_01x06Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1, J2, J3, J4, J5, J6, J7, J8, J9, J10
3MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3
1Conn_01x08Connector_JST:JST_PH_S8B-PH-SM4-TB_1x08-1MP_P2.00mm_HorizontalJ11

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 layers240 × 12 mmChessboard2, the printed circuit board in 3D

    Chessboard2

    ut-ras/chessbot

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

    78 parts7

Similar boards

  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

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

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0
  • 2 layers62 × 24 mmMai button, the printed circuit board in 3D

    Mai button

    whowechina/mai_pico

    Pico controller for Maimai

    14 parts475

Questions

How big is the Chessboard5-bus PCB?

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

What parts does the Chessboard5-bus use?

14 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 Chessboard5-bus KiCad files?

From the ut-ras/chessbot repository on GitHub, at the commit this page was made from: the board is hardware/chessboard-bus/chessboard5-bus.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 Chessboard5-bus design in my own project?

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