A Carrera racetrack fitted with 2-4 photointerrupt sensors (ITR9608) and an esp8266 for timekeeping.
Pins 12, 13, 14 & 04 each have a pull up resistor and a ITR9608 connected. When the guidingfin of the racecar interrupts the IR beam, the ESP starts to count.
Uses the webbrowser for processing so enable scripts.