racing-manager

Two-lane model-car race track

This package documents a mobile, reproducible two-lane race track. A Raspberry Pi runs Ragin-LundF/racing-manager, the local Wi-Fi, and the user interface. Two ESP32 modules acquire the beam sensors: one at the start and one at the finish.

No electronics or programming experience is required to follow this guide. Work through it in order and do not skip safety or test steps. Terms such as GPIO, ESP32, and beam sensor are explained where they are used.

Start here

  1. Buy the materials and read the safety notes.
  2. Decide on the architecture and wiring before building.
  3. Print the frames and housings from the CAD package.
  4. Install the hardware using setup.
  5. Implement the ESP firmware using firmware and the protocol; the ESP32 sensor firmware guide has a ready-to-flash sketch to prove the hardware first.
  6. Commission it with testing.

Scope and reference assumptions

Documents

Document Purpose
MATERIALS.md Shopping list and selection criteria
ARCHITECTURE.md Responsibilities, network, and triggers
WIRING.md Pinout and wiring plan
FIRMWARE.md ESP implementation and configuration
PROTOCOL.md Raspberry Pi ↔ ESP32 message contract
SETUP.md Mechanical and electrical setup
TESTING.md Commissioning and event checklist
ESP_AGENT_GUIDE.md Work order for an ESP firmware agent
AGENT_RACING_MANAGER_INTEGRATION.md Work order for central integration

Shared resources

These two packages are language-neutral and are referenced by both editions. They exist only in English.

Package Purpose
../cad_files/ OpenSCAD sources for the break-beam gate: U-frames, cable covers, electronics housing, export scripts, and print notes
../esp32/ESP32_SENSOR_FIRMWARE_GUIDE.md Practical Arduino guide: wiring of the ADA2167, board and library setup, and two complete sketches

Important accuracy note

Two separate ESP32 boards have no shared clock without synchronization. Wi-Fi timestamps are suitable for a visible race display, but must not be presented as guaranteed sub-millisecond timing. This design therefore uses a synchronized race reference and labels measurement quality. For reliable, highly accurate results, use RS485 or a shared start-gate reference. Details: Architecture.

The German edition is at ../de/PROJECT.md.


Navigation: Start · Next: Materials → · Deutsch

All topics: Project overview · Materials · Architecture · Wiring · Firmware · Protocol · Setup · Testing · ESP agent brief · Racing Manager integration