|
KiCad 9.0 |
|
|
arduino IDEArduino
|
KOTH-Timer — ESP32 King of the Hill Game Timer
KOTH-Timer is an Arduino Nano ESP32 based King of the Hill timer that I originally built for local Nerf events.
The first version was just something I wanted for our own games. After using it at events, other people in the hobby started asking how to build one, which is what pushed me to clean up the design, make a PCB and put the project on GitHub.
The timer is completely self-contained. It creates its own Wi-Fi network for the referee interface and does not need internet access during a game.
How it works
Each team has its own countdown timer and a large illuminated arcade button.
If only Team A is holding their button, Team A's timer counts down. If only Team B is holding theirs, Team B counts down.
If both buttons are held, the point is contested and neither team scores. If neither button is held, neither team scores.
The first team to run its timer down to zero wins.
Four TM1637 displays show the remaining time so players and referees can see the game state without needing a phone or asking the admins for a score update.
Buzzer support was added in the latest v0.4.0 firmware update. This provides audio feedback when a button is held, to indicate game status changes and as a low battery voltage warning alarm.
The local referee page (Locally hosted via Wi-Fi running on the Arduino) is used for starting, pausing, resuming and resetting games, changing the match duration and team colours, and correcting team time when required.
KOTH-Timer in use
This is footage of one of our local Nerf events with the timer in use. Skip to 0:40 for recent footage from one of the Nerf events the KOTH-Timer consistently gets used and brutally field tested:
The timer has been used with success at a number of Nerf events now, with constant changes being made after feedback from the events. The KOTH-Timer was recently utilised at an event that hosted Australia's largest ever competitive Nerf event with 100+ attendees. This event allowed me to see just how beneficial of an impact KOTH-Timer has been.
Why I built it
A lot of King of the Hill games are run using phone's, stopwatches or improvised timers; In addition to a minimum of 2-3 admins just to time keep, let alone the other additional admins to actually referee the game.
That works, but it means multiple admins tied up volunteering without getting the chance to play the gamemode themselves. Let alone the inaccuracy of manually timing when a team is on the "Hill" or not.
I wanted something physical that players could interact with directly. The team buttons make control of the objective obvious, the displays let everyone see what is happening, and the referee page still gives an organiser a way to step in when needed.
The finished timer has now been used successfully at local Nerf events.
The feedback from the admins has been very positive, and changes to the design and firmware have been influenced by the recommendations they have made after use. This device has effectively halved the amount of admins needed and additionally lowered the mental burden of running the King of The Hill game mode at events. This has allowed for more admins to engage in play and lets the admin running the current game to better focus on the safety and well-being of participants instead of being '"tunnel visioned" on manually timekeeping.
Here are some screenshots of the current (v0.4.0) phone UI:

Hardware
The current build is based around an Arduino Nano ESP32.
It uses four TM1637 4-digit displays, two illuminated arcade buttons, a single 18650 battery, a 5 V boost converter, a five-segment battery indicator and a custom PCB.
Optional (but recommended) hardware support for an active buzzer was added to the latest firmware update to better facilitate game feedback to players and admins. This was a common request by the members of my local Nerf group to enhance the game experience.
The project started as a hand-wired prototype before moving to a PCB.
PCB v0.1 was the first manufactured version. It worked, but testing showed reliability problems with some of the TM1637 displays.
PCB v0.2 changed the display power decoupling, signal routing and PCB layout. That board was manufactured, assembled and tested successfully.
PCB v0.2.1 has now been released, alongside firmware v0.4.0. This revision focuses on improving battery voltage measurement, cleaning up the KiCad schematic, and updating the component list and manufacturing documentation.
The photos below show the current build with the optional buzzer fitted:


The goal remains to make KOTH-Timer as accessible as possible, allowing other hobbyists to replicate and modify the device for their own events. This is one of the main reasons I chose through-hole components and the Arduino Nano ESP32.
November 2026 update — PCB v0.2.1 & Firmware v0.4.0
Development of KOTH-Timer has continued based on real-world use and feedback from local Nerf events.
Firmware v0.4.0 introduces several improvements:
- Standalone match start by holding both team buttons for five seconds.
- Optional buzzer support for game events and warnings.
- Improved battery voltage monitoring and calibration.
- Low-battery protection with automatic match saving and recovery.
- Updated display animations and referee web interface improvements.
PCB v0.2.1 is a minor hardware revision that includes:
- Optimised battery voltage measurement using 10 kΩ resistors at R1 and R2.
- A significantly reorganised KiCad schematic, making the design easier to understand and modify.
- Updated silkscreen and component documentation.
- A corrected and expanded BOM.
- Updated specification for a 1 A fast-blow glass fuse, which I've used successfully in the existing timer.
The PCB routing and overall circuit design remain unchanged.
Battery ADC monitoring has changed (Info below)
The buzzer used in my build is a Keyestudio Active Buzzer Alarm Module.
On PCB v0.2 and v0.2.1 the buzzer can be added conveniently using the board's DEV pinout, which provides D13, 3.3 V and GND. This means it does not need to be soldered directly onto the Nano ESP32.
The buzzer is completely optional. The timer works normally without one.
Other changes included in v0.4.0 firmware improved the stability of the self hosted admin page and added automatic game freezing/saving if the battery gets critically low (3.4 V) during active gameplay.
Battery monitoring - !! READ BEFORE BUILDING !!
Battery monitoring was also reworked for v0.4.0.
The original PCB used a 100 kΩ / 100 kΩ divider on the battery ADC input. During testing I found that the high impedance allowed the ADC input to affect the reading more than expected. PCB v0.2.1 already has the updated 10k/10k divider and BOM has been changed to match.
For v0.4.0 I changed the divider to:
R1 = 10 kΩ
R2 = 10 kΩ
The firmware was then recalibrated around the new divider.
Additionally, If the battery drops below the critical threshold (3.4 V) during a running game, the timer freezes the match, saves both team timers and shows LO:LO across the displays. If a buzzer is installed, an audible warning will also sound when the battery reaches its critical threshold.
After changing the battery and powering the timer back up, the saved game is restored in a paused state. The referee can then resume the same game instead of losing the scores.
IF YOU ARE STILL USING PCB v0.2: For v0.4.0 firmware, 10 kΩ resistors are to replace the 100 kΩ resistors at R1 and R2.
Note: No damage will occur if a 100 kΩ / 100 kΩ divider was used. However, the battery level indicators will not be accurate or trustworthy and is NOT advised. If you are using the original 100 kΩ / 100 kΩ divider, I would recommend you use firmware v0.3.1 instead as it still allows for a (though less accurate) battery level indicator. However, please be aware that the 10 kΩ / 10 kΩ divider is what will be used in firmware moving forward.
Local referee interface
The ESP32 hosts the referee interface locally via wifi. The UI is able to be accessed with a browser on any given admin's phone.
Connect to:
SSID: KOTH-Timer
and in your phone's browser open: 10.10.10.1
The page is designed primarily for use from a phone at a game. However, you can also use a PC/laptop to access the UI if that's what users prefer to do.
Everything stays local to the timer, so the system still works at outdoor fields or venues with no internet connection.
If required, you can set up a Wi-Fi password if you need to restrict access to the UI interface. This is completely optional and the instructions can be found in the GitHub Build guide.
Proudly open source
PCB v0.2.1 is released under CERN-OHL-S-2.0 (Strongly Reciprocal), with the intention of keeping distributed hardware modifications open-source.
Firmware v0.4.0 remains MIT-licensed.
All updated design files, build instructions and firmware are available on GitHub:
https://github.com/Salted-Peanuts/KOTH-Timer
Latest hardware release:
https://github.com/Salted-Peanuts/KOTH-Timer/releases/tag/pcb-v0.2.1
Current status
Firmware v0.4.0 has been tested on the current hardware.
PCB v0.2.1 remains the current PCB revision and is to be used with v0.4.0 firmware. The optional buzzer can be added using the DEV pinout point.
A new PCB revision will be developed but may take some time as I would like to strive for a finished v1.0 package and dedicate my time to making an ecosystem of other devices to further aid in admin duties.
The project is still something I actively use and work on rather than a finished commercial product. Community feedback is highly appreciated and genuinely helps the future development of this project.
KOTH-Timer — ESP32 King of the Hill Game Timer
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(2)
- Likes(1)
-
Mikka J
Aug 28,2026
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Mikka J
-
-
Power Proto Board 100 x 50 mm (built-in 5 V + 3.3 V supply)
690 0 0 -
-
-
-
BorePilot - ESP32-S3 Smart Borewell Pump Controller
541 0 0 -
-
-
AudioLink – USB & Bluetooth LE Audio / Auracast Receiver with Balanced Line Outputs (nRF5340)
709 0 2 -
-








