Close
0%
0%

YourChess

YourChess – An Interactive Chessboard with LEDs, Sensors, and AI

Public Chat
Similar projects worth following
This project started as my graduation thesis and quickly grew into a passion project – I wanted to create the most engaging and interactive chess experience possible.

The board uses 64 Hall sensors to detect piece movement, and individually addressable WS2812B LEDs to highlight turns, moves, and special states. A simple AI opponent is included, so you can either play Human vs Human or Human vs AI – with automatic detection of game mode depending on how you set up the kings at startup.

Some implemented features:

Full chess rules (castling, en passant, promotion).

LED indication of turns and moves.

A simple AI engine to play against.

Different game modes selected directly on the board.

I’ve spent hundreds of hours on design, prototyping, and testing – and the result is a fully working prototype of an interactive chessboard.

This is still just the beginning – I’m already working on the next version with ESP32, better AI, and even online play via Lichess.




The board is based on an 8×8 matrix of Hall sensors (A3144), multiplexed through 74HC165 shift registers and read by an Arduino Mega 2560. Each chess piece has a small magnet embedded inside, allowing the system to detect whether a square is occupied. Since the starting positions are fixed, the firmware remembers which piece is on which square.

Under the playing surface, an individually addressable WS2812B RGB LED strip provides feedback: showing whose turn it is, possible moves, and special states such as check, checkmate, or pawn promotion.

The system is powered by a Li-Ion 21700 battery with integrated BMS, charging circuitry, and step-up converters, making the chessboard fully portable.

Game modes are selected using a unique startup method: when the board is powered on, it checks the position of the kings. If no king is lifted within 10 seconds, the board defaults to Human vs Human. If the black king is lifted and placed on any free square, the AI plays as White. If the white king is lifted, the AI plays as Black.

The firmware includes full chess rules (castling, en passant, pawn promotion) and a lightweight AI.

YourChess video.mp4

MPEG-4 Video - 49.07 MB - 08/31/2025 at 18:25

Download

Newest version in testing.mp4

MPEG-4 Video - 3.09 MB - 08/31/2025 at 18:23

Download

  • AI selection

    yourchess.official • 08/31/2025 at 18:21 • 0 comments

    New test: implemented automatic mode detection (human vs AI) based on how kings are placed at startup. Still experimental, but works well in early tests. Video is in files.

View project log

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates