Chessboard-Hardware | Chessboard-Design | Chessboard-Nano | Chessboard-Pi
Raspberry Pi firmware for a magnetic-piece-tracking digital chessboard! WIP
This repository contains the Python project for the firmware that goes on the Raspberry Pi. (that goes on the 2nd PCB)
For development, you can also install this on a normal PC, as it only needs a serial connection to the chessboard.
- Python (earliest version tested with is 3.11)
python3-cairosvg
on Debian (usesudo apt install
) - for other OS ses the cairosvg docs.
- Clone the repo.
- Create virtual environment and install dependencies.
Run main.py
to start the program. Pass in the serial port with
-p
.
python3 src/main.py -p /dev/ttyACM0
or on Windows:
python src/main.py -p COM28