Skip to content
No description, website, or topics provided.
Python JavaScript C HTML C++ CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ChessboardLarge
ChessboardTest
books
build
dgt
docs
engines
etc
games
logs
manual
scripts
tablebases
talker
test
uci
web
.gitignore
.landscape.yaml
AUTHORS
LICENSE
README.md
SensorBoard.py
dispatcher.py
pgn.py
picochess - Copy.ini
picochess.ini.example
picochess.py
requirements.txt
server.py
start.bat
timecontrol.py
utilities.py

README.md

PicoChess

Modified to work with non DGT boards Should run on PC, Recommend using Pycharm to debug and install requirments.

PicoChess

This is quite a complicated project. I recommend you do not attempt it unless you have some knowledge of digital electronics, Arduino C programming and Python programming. Without These skills you will find it difficult to locate any wiring or component errors.

It requires a I2c 20*4 LCD display connected to the arduino via I2c.

Functionality. To scan the reed switches, The Arduino uses a 4017 chip to set each row in turn to + 5v, Then reads the columns into the arduino via the shift register. It doesn't start to monitor buttons or reed matrix until it detects the pieces are set up to starting chess position, comment out the newgame line in the startup code to bypass this check. When a reed swith opens or closes the led for that square are flashed. The arduino also monitors the buttons in the same way. It sends "B:n" for a button change or move (eg "D2D4") to the pc via the usb port.

To test the board, monitor Arduino serial to make sure it is sending the expected messages.

to start python3 picochess.py.

picochess is well documented on the picochess website.

My modifications are added sensorboard.py some changes to picochess.py for the added messages/events

You can’t perform that action at this time.