Looking back, this project combines allmost all of the tutorials that I have read in this short period: blinking LED, push button, piezo and LCD display. A useful project for every beginner!
I have made this device for some of my friends who have a hard time admitting how fast alcohol influences their driving abilities.
It will test you on three levels because they all have to do with driving a car safely:
- DECISION time.
- REACTION time
- Resistance to DISTRACTION.
However, driving has to do with making fast decisions as well. So in random order you can get a green or blue light first (or multiples). You should not react to this and hold down the push button until the red light appears.
Finally, on occasions you will hear a short beep in between lights (just for fun). By now you are so tense to do well, that a simple distraction like a beep can and WILL set you off!!
A fun game with your dinner guests upon arrival and confronting upon leaving!
Step 1: What you need
- Arduino microcontroller (I have used an Uno).
- 1 RGB LED (you can use 3 separate ones if you like).
- 4 resistors (220 ohm).
- LCD Display
- Piezo speaker
- Push button.
- Ping pong ball (optional).