Getting Started
This guide covers cloning the repo, setting up the software environment on a Raspberry Pi, and running the board reader for the first time.
Prerequisites
- Raspberry Pi 4 (2 GB RAM or more recommended)
- Raspberry Pi OS (Bookworm or later)
- Python 3.11+
- Git
Software Setup
1. Clone the repository
2. Create a virtual environment
3. Install dependencies
4. Run the board reader
Hardware Setup
Before running the software you'll need the physical board assembled and wired. See the Hardware page for:
- Component list and sourcing
- Wiring diagram
- PCB and antenna assembly
Development Setup
If you want to work on the codebase without physical hardware, the board reader supports a simulated mode:
This lets you develop the chess engine integration and LED controller logic without a connected board.
Repository Layout
michess/
├── hardware/ # Schematics, PCB layouts, BOM, antenna designs
├── firmware/ # Low-level microcontroller code (if applicable)
├── software/
│ ├── board_reader/ # NFC matrix scanning
│ ├── chess_engine/ # Stockfish/UCI integration
│ └── led_controller/ # LED matrix control
├── docs/
│ └── architecture/ # System diagrams and design notes
└── tests/