I hope to get some help on a finish line circuit i'm trying to build for a R/C track.
The general idea is that there are 2 lanes, one for each car. At the end of each lane will be a lever-switch, the first car to trigger their lane's switch will activate a spinner light for that lane and ring a alarm bell signaling the end of the race.
1 - Arduino Nano
3 - relay modules (one for each light and one for the bell)
1 - breadboard power supply
1 - breadboard
2 - 3-pin lever switches (set up for continuity when the lever is depressed)
I need help in properly setting up the circuit and writing the code.
The first car to trigger its switch will set off its light for 5 seconds and the bell for 3 seconds. It will also need to be setup to ignore the other switch's input so only one lane can be the winner.
Looking for any help i can get.