The timer requires a supply voltage of 10 to 30 V
- Install platformio in vscode
- Open this repo with platfomio
- Build the project
Mentioned defines can be set in /lib/glob_defines/glob_defines.h
- “Airplaine” mode
- How to enter it: Press the button at the top when powering up or set AIRPLAINE_MODE true
- The ESP will not connect to the WLAN and will not communicate with the cars.
- Simply switch the car mode to active as well
- Mode "Just toggle cars":
- How to enter it: set JUST_TOGGLE_CARS true
- If the cars are not able to communicate their progress or position, use this mode.
- This mode assumes that the cars will not overtake each other.
- The timers only switch when passing.
- Drive with one car
- Input: set the ID of CAR_B to -1
- May only work in airfield mode. Not tested
- Function get_car_on_finish_line() in main will always return CAR_A
The cars and the lab timer communicate via web hooks.
sequenceDiagram
ESP Timer->>+CAR n: get ready
Remote n->>+CAR n: dead man's switch
CAR n->>+ESP Timer: ready
ESP Timer->>+ESP Timer: wait for all cars or timeout
ESP Timer->>+ESP Timer: Play start sequence
ESP Timer->>+CAR n: start race
CAR n->>+CAR n: race
CAR n->>+ESP Timer: abort
ESP Timer->>+CAR n: abort
This display is used to display the current lap time. The display type is called HUB12 because it has only white leds.
- HUB explanation
- Currently used matrix panel driver lib KERNEL-VERSION NEEDS TO be @ 2.0.2
- Alternative driver
- Pinout of the used DMD
- "User Manual"