https://github.com/unsignedarduino/chessboard-pi
Raspberry Pi firmware for a magnetic-piece-tracking digital chessboard! WIP
https://github.com/unsignedarduino/chessboard-pi
chess chessboard python raspberry-pi-zero raspberry-pi-zero-2 raspberry-pi-zero-2-w raspberry-pi-zero-2w raspberry-pi-zero-w raspberrypizero raspberrypizero2w raspberrypizerow
Last synced: 8 months ago
JSON representation
Raspberry Pi firmware for a magnetic-piece-tracking digital chessboard! WIP
- Host: GitHub
- URL: https://github.com/unsignedarduino/chessboard-pi
- Owner: UnsignedArduino
- Created: 2025-04-07T02:12:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-05-20T02:21:04.000Z (10 months ago)
- Last Synced: 2025-05-20T02:23:38.540Z (10 months ago)
- Topics: chess, chessboard, python, raspberry-pi-zero, raspberry-pi-zero-2, raspberry-pi-zero-2-w, raspberry-pi-zero-2w, raspberry-pi-zero-w, raspberrypizero, raspberrypizero2w, raspberrypizerow
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Chessboard-Hardware](https://github.com/UnsignedArduino/Chessboard-Hardware) |
[Chessboard-Design](https://github.com/UnsignedArduino/Chessboard-Design) |
[Chessboard-Nano](https://github.com/UnsignedArduino/Chessboard-Nano) |
[Chessboard-Pi](https://github.com/UnsignedArduino/Chessboard-Pi)
# 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)
## Install
For development, you can also install this on a normal PC, as it only needs a
serial connection to the chessboard.
### Dependencies
* Python (earliest version tested with is 3.11)
* `python3-cairosvg` on Debian (use `sudo apt install`) - for other OS ses the
[cairosvg docs](https://cairosvg.org/documentation/#installation).
### Steps
1. Clone the repo.
2. Create virtual environment and install dependencies.
## Usage
Run [`main.py`](src/main.py) to start the program. Pass in the serial port with
`-p`.
```bash
python3 src/main.py -p /dev/ttyACM0
```
or on Windows:
```commandline
python src/main.py -p COM28
```