Blade Throwers
Discipline DUEL · ESP8266

Duel Game System

This page describes the implementation of a duel game system using ESP8266. The system uses several components, including sensors and relays, to manage a reaction time game between two players. The main functionalities are managed through a web server hosted on the ESP8266.

Code Explanation

The code provided configures the ESP8266 to run as an access point and serves a web page that allows players to start the game, view their reaction times, and adjust sensitivity settings. Here's a brief overview of the key components of the code:

  • Web Server: Handles HTTP requests to control the game and display results.
  • Reaction Time Measurement: Measures the reaction time of each player when they detect a signal.
  • Display: Uses an LCD to show the game status, including the countdown and results.
  • Sensitivity Settings: Allows adjustment of sensor sensitivity via web interface.

Schematic

Below is the schematic diagram of the connection setup for the Duel Game System. It includes the ESP8266, sensors, relays, and the LCD display.

Schematic Diagram

Download schematic in PDF