https://github.com/geekalexis/chess-robot
A chess robot that plays chess using magnets
https://github.com/geekalexis/chess-robot
arduino artificial-intelligence chess chess-robot embedded robotics
Last synced: 9 months ago
JSON representation
A chess robot that plays chess using magnets
- Host: GitHub
- URL: https://github.com/geekalexis/chess-robot
- Owner: GeekAlexis
- Created: 2019-03-26T01:44:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T04:54:13.000Z (over 5 years ago)
- Last Synced: 2025-04-03T03:11:14.884Z (about 1 year ago)
- Topics: arduino, artificial-intelligence, chess, chess-robot, embedded, robotics
- Language: C++
- Homepage:
- Size: 526 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chess-Robot
## Components
- Each chess piece needs a neodymium magnet attached to the base
- A grid of 64 reed swithes and diodes to localize chess pieces
- 2 stepper motors and 1 servo motor for the 2-axis robotic arm and its magnetic head
- Two Arduino boards are required due to limited GPIO pins
- Arduino Mega (sensor reading processing and main control)
- Arduino Uno (motor control)
- 2 seven-segment displays and 1 LCD for the chess clock
- Sjeng chess engine on an external PC to output AI moves and report invalid moves
## Features
- Chess clock can respond to sensors and automatically switch side
- Moves, captures, castling, and pawn promotions are smartly detected and displayed on the LCD
- Invalid moves can be corrected by a human player
- Difficulty level and game mode can be adjusted in the Chess Helper app (macOS)
## Supported game modes
- human vs human
- human vs AI (human white)
- AI vs human (AI white)
- AI vs AI
## Demo (AI vs AI)
[](https://www.youtube.com/watch?v=QaSgTOTe4k4 "Smart Chess Robot Demo")