Open source · ESP32-C3 · BLE

eChessGw

A small wireless gateway for electronic chessboards. It connects a cable-based chess computer (MILLENNIUM King, Mephisto Phoenix) to any of several wireless e-boards over BLE: one firmware, automatic board detection at runtime.

With no cable computer present, the gateway can also act as a ChessLink or Chessnut board itself, so wireless chess software such as BearChess, PicoChess or Chess PGN Master can connect directly.

eChessGw is a DIY project: all information, the source and the wiring are on GitHub. Questions? Come to the Discord server electricchess.

The eChessGw module, USB-C side

What it does

Features

One firmware for the ESP32-C3 SuperMini. The gateway works out at runtime what is connected.

Cable computer to wireless board

A chess computer with a ChessLink / Mode-B cable interface talks to a wireless e-board through the gateway. The gateway translates the protocols at runtime, including castling, en passant and promotion on the Manya Cynus.

Standalone mode

No cable computer needed: the gateway advertises itself as a ChessLink or Chessnut board over BLE for wireless chess software (PicoChess, BearChess, Chess PGN Master).

Automatic PGN recording

Games are recorded automatically, including checkmate detection and a manual result-signal gesture. Fetch them over USB with a simple physical gesture and a small Windows tool, or over BLE with Chessnut emulation.

Engine against engine

Two engines can play each other from a virtual board inside the gateway, for example BearChess against a Mephisto Phoenix, with the moves shown and carried out on a real board.

Follow an e-book game

The Manya Cynus protocol can be presented as a Chessnut board, so the vision technology of an app can follow a game from an e-book on a real board.

Flash from the browser

No toolchain needed: connect the ESP32-C3 SuperMini by USB, open the installer in Chrome or Edge and press Connect. Source code and the PGN retrieval tool are on GitHub.

Watch

Videos

Demos of the gateway with different boards. A click on a picture opens the video on YouTube.

Loading the video list …

All videos as a playlist on YouTube ↗

Hardware

Supported boards

Cable side: MILLENNIUM King and Mephisto Phoenix. Wireless side: the boards below.

MILLENNIUM Supreme T2 BTChessnut Air / GO / ProCertaboManya Cynus

Certabo pieces are read in at every start: 32 pieces in the starting position plus a spare white queen on d3 and a spare black queen on d6. The four centre squares blink three times when done; then remove the two queens. The gateway is an independent project. It is not affiliated with, endorsed by or sponsored by the makers of the supported boards. All product names are trademarks of their respective owners.

eChessGw module, USB-C side
The module, USB-C side
eChessGw module, Mini-DIN cable side
The module, Mini-DIN cable side

Get started

Installation and links