Skip to the content
2 layers42 × 29 mmOpenTallyESP32, the printed circuit board in 3D

Open-source, Wifi based tally light system for live production.

Size
42 × 29 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
20
Pads
43
Tracks, vias
82, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Mar 2026
Updated
9 Jun 2026

Overview

OpenTallyESP32 is an open-source printed circuit board by LACOMBE-R, from the LACOMBE-R/OpenTallyESP32 repository on GitHub. It is a 2-layer board of 42 × 29 mm with 11 parts on 20 nets, routed with 82 tracks and 0 vias.

It is built around the WS2812B and AO3400A. Its parts include 3 resistors, 2 capacitors, 2 diodes, 1 IC and 1 transistor. It belongs with the radio and wireless boards and the ESP32 and RISC-V boards of this library.

Main components

2

README

README.md

OpenTallyESP32

A wireless tally light system built around the Seeed XIAO ESP32-C3. Each unit connects to a WebSocket tally server over Wi-Fi and lights up its two NeoPixel LEDs to show the live camera state (Program / Preview / Idle). Battery level is reported to the server automatically.

This project was created for the orKs association for the LCE (lce.gg) event, to manage camera tally signaling during live productions.


Hardware

ComponentDetails
MCUSeeed Studio XIAO ESP32-C3
LEDs3× NeoPixel (WS2812B), pin D8 — 2 rear + 1 front-facing
ButtonTactile switch, pin D1 (GPIO 3)
Battery sensingEnable pin D0, ADC pin D2 — voltage divider, 3.0 V–4.2 V range

The KiCad schematic and PCB layout are in ECAD/OpenTallyESP32/.


Firmware

Prerequisites

Credentials

Sensitive values (WiFi credentials, WebSocket server) are kept out of version control in a local file:

text
Firmware/OpenTallyESP32/include/credentials.h

This file is listed in .gitignore and will never be committed. Before building, copy the example file and fill in your values:

bash
cp include/credentials.h.example include/credentials.h
cpp
#define DEFAULT_WIFI_SSID  "your_ssid"
#define DEFAULT_WIFI_PASS  "your_password"
#define DEFAULT_WS_HOST    "your.websocket.server"
#define DEFAULT_WS_PORT    80

These defines are used as fallback defaults when no configuration has been saved to flash yet. Once configured via the dashboard, the flash values take over and these defaults are no longer used.

Dependencies (resolved automatically by PlatformIO)

  • adafruit/Adafruit NeoPixel
  • links2004/WebSockets
  • bblanchon/ArduinoJson

Configuration

NVS flash storage

Configuration is persisted in the ESP32's NVS (Non-Volatile Storage) — a key-value store built into the flash that survives resets and power cuts. The Arduino Preferences library is used to read and write it under the namespace opentally.

Values are written only when the user submits the config form; they are read once at every boot before anything else runs. If a key has never been written, the firmware falls back to the compiled-in default shown below.

KeyTypeDefaultDescription
camera_idstringcam01Camera identifier sent in every WebSocket message
ws_hoststringyour.websocket.serverWebSocket server hostname
ws_portuint1680WebSocket server port
wifi_ssidstring—Wi-Fi network name
wifi_passstring—Wi-Fi password

Entering configuration mode

Hold the button for 5 seconds at power-on (or after waking from deep sleep). The LEDs will turn solid purple to confirm the long-press was detected.

The device starts a Wi-Fi access point:

  • SSID: OpenTally-Config
  • Password: opentally

Connect to it and open http://192.168.4.1 in a browser. Fill in the form and click Configurer. The device saves the settings to NVS, confirms with a countdown banner, then restarts into normal mode.

Operating modes — flowchart

text
                        ┌─────────────────┐
                        │   Power on /    │
                        │  Wake from deep │
                        │      sleep      │
                        └────────┬────────┘
                                 │
                        Load NVS config
                                 │
                    ┌────────────▼────────────┐
                    │  Button held on boot?   │
                    └────┬──────────────┬─────┘
                  Yes ≥5s│              │No
                         │              │
           ┌─────────────▼──┐    ┌──────▼───────────────┐
           │   AP / Config  │    │     Normal mode      │
           │     mode       │    │  Connect to Wi-Fi    │
           │ SSID: OpenTally│    └─────┬────────────────┘
           │ IP: 192.168.4.1│          │
           │ LEDs: purple   │    ┌─────▼─────────────────────┐
           │   blink        │    │  Wi-Fi connected in 30s?  │
           └─────────┬──────┘    └──┬─────────────────────┬──┘
                     │           No │                     │ Yes
              Serve config    ┌─────▼──────┐    ┌─────────▼──────────┐
                  form        │ Deep sleep │    │  Connect WebSocket │

Operation

Boot sequence

  1. Device loads saved configuration from NVS.
  2. If button is held ≥ 5 s → AP / config mode (see above).
  3. Otherwise → normal mode: connects to the configured Wi-Fi.

LED states

The device has two rear LEDs (visible to the operator) and one front LED (visible to the talent, facing the subject).

Tally states

StateRear LEDs (0 & 1)Front LED (2)
Program (on air)RedRed
PreviewGreenOff
Program + PreviewRed (program takes priority)Red
IdleOffOff

Status patterns

Slow-blink patterns affect rear LEDs only (front LED stays off). Quick-flash patterns fill all 3 LEDs.

ColorPatternFront LEDMeaning
BlueSlow blinkOffConnecting to Wi-Fi
Green5 quick flashesOnWi-Fi connected
RedSlow blinkOffWebSocket disconnected
PurpleSlow blinkOffAP config mode active
Red3 quick flashesOnEntering deep sleep

Power saving

  • After Wi-Fi connects the CPU is throttled to 80 MHz and Wi-Fi modem-sleep is enabled.
  • Press the button at any time — including during Wi-Fi connection — to immediately enter deep sleep. The device will wake again on the next button press.
  • If Wi-Fi does not connect within 30 seconds, the device goes to deep sleep automatically.

Battery reporting

On WebSocket connection, and every 30 seconds thereafter, the device reads the battery voltage and sends the percentage to the tally server (only if the value changed). The server can display it in any connected control surface.


WebSocket protocol

Note: The WebSocket backend used at LCE is not open source. It pulls live camera states directly from a Blackmagic ATEM video switcher and broadcasts them to all connected tally units. However, the protocol is straightforward enough to reimplement — any server that speaks the JSON messages below can drive these tally units.

All messages are JSON objects with at least an action field and, where relevant, a camera field and a content object.

Messages sent by the tally unit (firmware)

ActionExtra fieldsDescription
SubscribeCameracameraSubscribe to state updates for the given camera ID. The server will push updates whenever the camera's program/preview state changes.
GetCameraPropertiescameraRequest the current program/preview state of a camera immediately after connecting.
SetBatteryLevelcamera, content.batteryLevel (integer 0–100)Report the tally unit's battery percentage to the server. Sent on connection, then every 30 s if the value changed.

Messages sent by the browser controller (tally-control.html)

ActionExtra fieldsDescription
ActAsSender—Identifies this client as a control surface (sender), not a passive tally receiver.
SubscribeCameracameraSubscribe to state updates for a camera (same as firmware).
GetCameraPropertiescameraRequest the current state immediately.
SetCameraPropertiescamera, content.program (bool), content.preview (bool)Set the tally state of a camera. Both fields must be present; at most one should be true.

Messages received from the server

TriggerExpected fieldsDescription
State change or reply to GetCameraPropertiescontent.program (bool), content.preview (bool)Pushed to all subscribers whenever a camera's state changes. The firmware and browser controller both read these two booleans to update their display.

Browser control tool

tally-control.html is a standalone HTML file intended primarily for testing purposes — useful to verify the WebSocket server is working and to trigger tally states without needing physical hardware. Open it in any browser, enter the WebSocket URL (e.g. ws://your.websocket.server:80/) and the camera ID, then click Connecter. You can then manually set a camera to Idle, Preview, or Program. All messages sent and received are shown in the log panel.


Repository structure

text
OpenTallyESP32/
├── ECAD/
│   ├── LIB/                  KiCad symbol and footprint library (XIAO ESP32-C3)
│   └── OpenTallyESP32/       KiCad project (schematic, PCB layout)
│       ├── *.kicad_*         KiCad project files
│       ├── *.gbr / *.gbrjob  Gerber files for PCB manufacturing
│       ├── *.dxf             DXF exports
│       └── OpenTallyESP32PCB.step  3D STEP model
├── Firmware/
│   └── OpenTallyESP32/
│       ├── src/main.cpp      Full firmware source
│       ├── include/          credentials.h.example (copy to credentials.h before building)
│       ├── test/             Manual test sketches
│       └── platformio.ini    PlatformIO project config
└── tally-control.html        Browser-based tally controller

Parts

11
QtyValueFootprintReferences
3R_SmallResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3
2C_SmallCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2
2WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2
1AO3400APackage_TO_SOT_SMD:SOT-23Q1
1Conn_01x02Resistor_SMD:R_2512_6332Metric_Pad1.40x3.35mm_HandSolderJ1
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1
1XIAO ESP32C3LIB:XIAO-ESP32-C3-SMDU1

Similar boards

  • 2 layers148.6 × 192.2 mmBadge, the printed circuit board in 3D

    Badge

    NuttyShell/NuttyBadge

    NuttyBadge: A NuttyShell crafted multi-tool. Opensourced Hardawre and Software

    169 parts31GPL-3.0
  • 2 layersTopBoard, the printed circuit board in 3D

    TopBoard

    Libre-Talk/Wave

    Smart Speaker satellite

    184 parts22
  • 4 layers43.2 × 43.2 mmAstra, the printed circuit board in 3D

    Astra

    TheScientist101/astra

    An open source, low cost, extensible brushed drone.

    93 parts10
  • 4 layers69.5 × 62.6 mmSensors Module, the printed circuit board in 3D

    Sensors Module

    Queens-Rocket-Engineering-Team/Avionics-23-26

    QRET Avionics hardware, firmware, and documentation for 2023 to 2025.

    197 parts4
  • 2 layers54.5 × 74.8 mmKv4p ht MagSafe, the printed circuit board in 3D

    Kv4p ht MagSafe

    bi4wms/kv4p-ht-MagSafe

    MagSafe version for kv4p-ht

    72 parts3
  • 2 layers90 × 119 mmSkid Steer 4x4 ESP32 DRV8833 PCB, the printed circuit board in 3D

    Skid Steer 4x4 ESP32 DRV8833 PCB

    retrobuiltRyan/4x4_Rover_ESP32

    1:10 scale robot Rover with ESP32 and PS4 controller. Custom PCB for multi channel motor control

    111 parts2BSD-3-Clause
  • 2 layers30 × 100 mmMoskill, the printed circuit board in 3D

    Moskill

    telagod/moskill

    MosKill - Smart Mosquito Swatter with BLE, Kill Counting & Statistics | ESP32-C3 + KiCad PCB + UniApp

    95 parts2
  • 2 layers50.8 × 50.8 mmCloud dripper, the printed circuit board in 3D

    Cloud dripper

    AlessioMorale/cloud_dripper

    An ESP32-based indoor watering controller

    75 parts1MIT

Questions

How big is the OpenTallyESP32 PCB?

It measures 42 × 29 mm and has 2 copper layers, 1.6 mm thick.

What parts does the OpenTallyESP32 use?

11 parts, built around the WS2812B and AO3400A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the OpenTallyESP32 KiCad files?

From the LACOMBE-R/OpenTallyESP32 repository on GitHub, at the commit this page was made from: the board is ECAD/OpenTallyESP32/OpenTallyESP32.kicad_pcb and its schematic ECAD/OpenTallyESP32/OpenTallyESP32.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the OpenTallyESP32 design in my own project?

Its repository states no licence, so its author keeps all rights: ask LACOMBE-R before reusing the design.