Hi guys,
I'm to some degree a technical guy. However, I don't have much experience with Arduino yet. I have been trying to build a drag race track-timer for our (very long) HotWheels race track and got all the parts needed (hopefully), but I'm not sure how to set up the system and I don't have much idea about the codes needed. Please find attached a sketch of the system and here below the sequence of of the race process:
- Start Gate is closed and Micro Switch is held in.
- Race starts when Start Gate opens. Micro Switch simultaneously releases and sends signal (HIGH or LOW?) to Main Control Box to start the stopwatch. The Start Gate and Micro Switch remain in open position. During the race the stopwatch count is not displayed on the Display Boxes.
- Each Sensor at finish line sends HIGH signal to Main Control Box when each respective race car crosses the finish line. This is the signal for the stopwatch to stop for each lane.
- The Main Control Box display the elapsed times (ET’s) on the Display Boxes. Also, the Winner Light for the lane that has the lowest ET turns ON via a 5V relay which gets activated when it gets a LOW signal.
- The ET’s and the Winner Light stay ON until the Start Gate is closed. When the Start Gate is closed, ET’s are cleared, the Winner Light is turned OFF and the Main Control Box is ready for next race.
- Very unlikely scenario, but nice to have programmed: in case ET’s are equal to each other, both ET’s are displayed and both Winner Lights flicker until Start Gate is closed and timer resets.
Some confusion/concerns:
A. The distance from start to finish (23m) and the distance from finish to display boxes (18m). Is this too long for sending signals?
B. Do we need 1 Arduino in the Main Control Box and 1 RedBoard in each Display Box? What would you recommended?
Any help/guidance on this is highly appreciated.
Kind regards,