This work addresses planning, designing, and building a system embedded into wooden chessboard and wooden chess pieces that is able to detect the movement of pieces and store game of chess in algebraic annotation style. For detecting and tracking the location of each chess piece on the chessboard I mounted a linear hall effect sensor under the center of each chess field and a permanent magnet in each chess piece. Sensors are able to detect if a chess piece is above them or not. Sensors are connected to analog ports of the microcontroller Arduino Mega 2560 via a multiplex system to reduce the number of analog ports needed from 64 to 8. Microcontroller gathers data from sensors and processes this data to get information about chess piece movement. Microcontroller then transforms information about the movement of chess pieces into algebraic chess annotation and stores it.
|