Skip to content
Scoring Device

Scoring Device

ESP32 Scoring Device

The OpenPiste scoring device is an ESP32-based fencing scoring unit. It is the core component of the platform — the unit that sits at the piste, detects touches, and communicates with remote controls, displays, and any other connected system.

GitHub repository: esp32scoringdeviceMqtt
(See also the legacy repository for documentation, wiki, and photos.)


MQTT and JSON

The scoring device communicates over MQTT with JSON messages — the platform-wide choice for all OpenPiste components. This replaces the legacy Cyrano/UDP protocol used by most commercial equipment.

The reasoning behind this choice is covered in detail on the Platform page. In short: TCP over UDP means reliable delivery, JSON means easy extensibility, and MQTT means straightforward integration from a local club network to a cloud platform.


Technical overview

  • Microcontroller: ESP32
  • Language: C++
  • Protocol: MQTT over TCP, JSON message format
  • Legacy compatibility: Cyrano/UDP support available via the legacy repository

Status

Active development. The MQTT/JSON implementation has been validated and works reliably. The legacy Cyrano-based repository (15 stars, with full documentation and photos) is kept as a reference.

View on GitHub
Legacy repository with documentation