I have built this lap timer https://www.youtube.com/watch?v=m1XpbHmVyQ0&t=44s
and modified it for single rally track it works great. But I would like to make it turn the power off after 5 laps I know I would need to use a relay but how would I wire it up and what would I need to add to the arduino code.
So what I want to do is press the start button wait for the countdown lights to go out and the race to start you drive 5 laps and then the power go's of then you can press the start button again and it starts again.
Have attached zip file with code and schematic in it. I am only using one sensor as it is for rally track
and modified it for single rally track it works great. But I would like to make it turn the power off after 5 laps I know I would need to use a relay but how would I wire it up and what would I need to add to the arduino code.
So what I want to do is press the start button wait for the countdown lights to go out and the race to start you drive 5 laps and then the power go's of then you can press the start button again and it starts again.
Have attached zip file with code and schematic in it. I am only using one sensor as it is for rally track
Comment