Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Ash Hill

This Raspberry Pi-powered chess board robot moves pieces automatically

Raspberry Pi.

Gaming on the Raspberry Pi is one of those go-to pairings that is here to stay. But where most people think of emulating and playing games digitally on the Pi, other makers, like Tamerlan, take things further by creating interactive games in the physical world. Using our favorite SBC, Tamerlan has developed an automated chessboard that moves pieces around the board.

This chess board is programmed with several different game modes. You can play against a computer or connect to the internet and play against other real players remotely, with the board emulating their moves for you in real life. Pieces are moved using magnets attached to an XY stepper motor system underneath.

The Raspberry Pi is responsible for more than just moving pieces; it has to process where the pieces are and determine the best path from point A to point B. Different pieces have different weights, which impacts the movement process. If not done correctly, pieces will fall and won't reach the appropriate square on the board.

Tamerlan has been kind enough to share plenty of details about the build process, detailing the current iteration and the trials and errors along the way. Currently, the system uses a stepper motor to operate an XY grid using 3D-printed components and a series of rails for stability. The piece grabber is an electromagnet, but Tamerlan plans to replace it with a different mechanism.

(Image credit: Tamerlan)
(Image credit: Tamerlan)

Tamerlan is also responsible for programming the software, which requires much more than just the rules of chess. Logistics are involved in managing where the pieces are and what the best way is for them to move. 

For example, you could move pieces out of the way before moving the one you want, but Tamerlan discovered he could use half steps to scoot pieces in between others. When asked how pieces take others, he confirmed they are just knocked over and must be picked up manually. However, this could be changed in future iterations.

If you want to get a closer look at this Raspberry Pi project in action, you can check it out on YouTube and explore the project details on this project page created by Tamerlan.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.