Four-player trivia buzzer system with AI-written quizzes
Four big light-up buzzer buttons on long cables plug into a host box. An ESP32 locks out everyone after the first press, lights the winner and beeps, and serves a web page for the host. An AI helper writes the question sets for any topic and age.

Safety first
- Tape or route the long button cables so nobody trips on them.
- Use the listed 5 V adapter. Big buttons get slammed: secure the pods so they cannot fly off a table.
Parts
| Part | Qty | Approx. each | Subtotal |
|---|---|---|---|
| Espressif ESP32-DevKitC-32E (DevKitC V4) development boardOfficial Espressif 38-pin DevKitC V4 with ESP32-WROOM-32E (4 MB). Micro-USB port, not USB-C. Buy only the official 38-pin Micro-USB board, not a USB-C or 30-pin clone. Primary listing: Mouser 356-ESP32-DEVKITC32E, $10.20, 1,701 in stock on Nov 12, 2026, per Findchips (https://www.findchips.com/search/ESP32-DEVKITC-32E). The Mouser US page itself returned 403 to a direct fetch, so click-confirm the US storefront before you order. Mouser Netherlands listed 1,622 in stock at €8.60 the same day. Do not use DigiKey as the default today (search snippets showed 0 in stock / long lead time). Official Amazon listing https://www.amazon.com/dp/B09MQJWQN2 was still unavailable; use it if it returns. Amazon search for the official board: https://www.amazon.com/s?k=ESP32-DevKitC-32E. Adafruit #3269 remains $15.00 and was out of stock (https://www.adafruit.com/product/3269). Typical $10-16.Mouser | 1 | $10.20 | $10.20 |
| 60 mm 5 V LED arcade dome buttons (4-pack)Buy the 5 V LED version, or the LEDs will need a different supply. Typical $13-24, no verified link.Amazon (search) | 1 | $18 | $18 |
| ULN2803A Darlington transistor array (pack)Switches the 5 V button LEDs from 3.3 V GPIO. Typical $4-8, no verified link.Amazon (search) | 1 | $6 | $6 |
| 5 V active buzzer module (pack)Typical $4-8, no verified link.Amazon (search) | 1 | $6 | $6 |
| GX12 4-pin aviation connector pairs (5-pack)Typical $7-14, no verified link.Amazon (search) | 1 | $10 | $10 |
| 4-conductor 22 AWG cable, 50 ftFour 3 m leads to the buttons. Typical $12-22, no verified link.Amazon (search) | 1 | $16 | $16 |
| 5 V 2 A USB wall adapterTypical $5-10, no verified link.Amazon (search) | 1 | $7 | $7 |
| Solderable perfboard (pack)Typical $6-10, no verified link.Amazon (search) | 1 | $8 | $8 |
| Estimated total (parts only) | $81.20 | ||
Typical US prices, checked 2026-11-12. Prices change and multi-packs are often cheaper per piece.
As an Amazon Associate I earn from qualifying purchases. Prices change; check the store.
Filament
PLA (1.75 mm): about 312 g (104.7 m), roughly 28.7 h of printing.
PLA, 0.2 mm layers, 15% infill, 2 walls (the settings the v1 files were sliced with); four pod bases, four pod lids, one host base and lid; four pods in four colors look great.
AI agents you'll use
- Code helper (ChatGPT, Claude, Gemini or Grok): Writes the ESP32 sketch: interrupt-based first-press lockout, LED and buzzer feedback, host web page with reset and scores.
- AI quiz writer: Writes question sets with a correct answer, a source to check, and a difficulty, for the topic and age you give it. You check the answers before game night.
Tools
- Soldering iron
- Wire stripper
- Drill with a step bit
- Multimeter
- USB data cable
What you'll learn
- Fair first-press lockout with interrupts
- Driving 5 V LEDs from a 3.3 V board with a driver chip
- Serving a game page from an ESP32
- Prompting an AI for quizzes with answer keys
Bring game-show energy to family night or the classroom. The first person to slam their button lights up, everyone else is locked out, and the AI has already written tonight's questions.
What you'll build
A host box with an ESP32, a ULN2803A to drive the button lights and a buzzer, plus four GX12 sockets. Four printed pods, each with a 60 mm LED dome button, on 3 m cables. The ESP32 watches all four inputs with interrupts; the first press wins, its pod lights and the buzzer beeps, and the rest are ignored until the host taps Reset on the phone web page, which also keeps score.
The cost range is $70-90 for the parts listed below, allowing about 10% either way for price swings.
Print the parts
Print four button pods with a 24 mm-deep pocket for the button and a cable gland, and a host box with four connector holes. Ask the AI helper to help you design them, or credit any designer you remix.
Wiring
| From | To | Notes |
|---|---|---|
| Button switch (each) | ESP32 GPIO32, 33, 25, 26 and GND | INPUT_PULLUP; one per player. |
| Button LED + (each) | 5 V | |
| Button LED - (each) | ULN2803A outputs 1-4 | ULN2803A inputs from ESP32 GPIO16, 17, 18, 19; its GND to common GND. |
| Buzzer module | 5 V, GND, signal from ESP32 GPIO23 | Active buzzer: on/off only. |
| GX12 pins 1-4 | Switch, switch GND, LED +, LED - | Same pinout on every pod. |
| ESP32 5V/VIN | 5 V adapter |
Step-by-step
- Wire one button and LED on a breadboard and test the lockout logic.
- Solder the host board on perfboard with the ULN2803A and four GX12 sockets.
- Make four 3 m leads and wire each pod the same way.
- Flash the sketch and open the host page on your phone.
- Generate a question set with the AI quiz writer and check the answers yourself.
- Play a test round and adjust the lockout and buzzer times.
Code
Arduino-ESP32 with the built-in WebServer library.
Prompt for the code helper:
Write an Arduino-ESP32 sketch for a 4-player buzzer: buttons on GPIO32, 33, 25, 26 (INPUT_PULLUP, falling-edge interrupts), LEDs through a ULN2803A on GPIO16-19 (HIGH = on), active buzzer on GPIO23.
First press wins: record which and when, light that LED, beep 300 ms, ignore others until reset. Serve a phone page over Wi-Fi with the winner, Reset, Correct (+1 point) and Wrong buttons and a scoreboard. Debounce 20 ms.
Troubleshooting
- Two players seem to win: Interrupts not latching the first press. Store the winner only if none is set yet.
- Button LEDs stay dim: The LEDs are 12 V types. Use 5 V LED buttons.
- Random presses: Long cables pick up noise. Add a 100 nF capacitor at the input or a lower pull-up resistor.
Print files
- Pod base (qty 4): trivia-pod-base.stl (310 KB) · trivia-pod-base.3mf (20.6 KB)
- Pod lid (qty 4): trivia-pod-lid.stl (166 KB) · trivia-pod-lid.3mf (11.5 KB)
- Host base: trivia-host-base.stl (263 KB) · trivia-host-base.3mf (17.1 KB)
- Host lid: trivia-host-lid.stl (146 KB) · trivia-host-lid.3mf (9.8 KB)
License CC BY 4.0, aimebro. v1, not test-printed yet
Files, code and docs
- Installing the Arduino-ESP32 core (Espressif docs) (Vendor docs)
- Arduino-ESP32 WebServer examples (Espressif) (LGPL-2.1)
Last checked 2026-11-12. Double-check parts against your own board and seller listings before you buy.