Blogpost: https://bskdany.com/posts/chess-robot/
This was my first project in C++ and I did it to help a friend of mine with his high school graduaton project in robotics
There are two rails that move a magnet underneath the chessboard
The script works like that:
- a calibration sequence is started to find the limits of the magnet movement
- the user gives the arduino a start and a finish square, that input is translated to coordinates
- the magnet moves to the start square and takes the chess piece
- a pathfinding algorithm chooses a way to move the piece from the start square to the end square
- tha magnet releases the chess piece and gets to the starting position
This is the result (yeah we drew the chessboard unevenly)
finalvideo.mp4
This was made in three days after christmas while I was sick from covid, not gonna lie it turned out pretty good