3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Reaction Time Tester

Reaction Time Tester
A month ago I knew nothing about Arduino and now.....my first project!
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.
The test starts as soon as you hold down the push button. When a red light appears, you should let go off the push button as soon as possible. Your reaction time will appear on the screen.
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!



 
Remove these adsRemove these ads by Signing Up
 

Step 1What you need

What you need
  1. Arduino microcontroller (I have used an Uno).
  2. 1 RGB LED (you can use 3 separate ones if you like).
  3. 4 resistors (220 ohm).
  4. LCD Display
  5. Piezo speaker
  6. Breadboard.
  7. Push button.
  8. Wires.
  9. Ping pong ball (optional).
  10. Box.
« Previous StepDownload PDFView All StepsNext Step »
56 comments
1-40 of 56next »
Oct 12, 2011. 5:49 AMrobot1398 says:
whats the unit in which it displays the reaction time?
Oct 12, 2011. 8:49 AMrobot1398 says:
ohk! thanks
Oct 3, 2011. 3:06 AMben_cullen_1809 says:
hiya pal!! really like the look of this as my uni project! if possible do you have a schematic diagram available??
Jul 14, 2011. 2:33 PMfreethetech says:
Hi there. This project looks like an amazing beginning to my work with Arduino (it came in on Monday via mail, and I just bought the USB A to B cable today). There is only one problem - I cannot obtain an LCD Display for some time because all of my local stores are out of stock. Any possible substitutions?

One of my ideas would be to rewrite the code (I know the basics of the code) to round everything to the nearest thousandth (reaction time), and then have it go to a corresponding LED.
May 30, 2011. 6:02 PMsbertin says:
what kind of difficulty is this? i haven't done circuitry before
Mar 31, 2011. 6:28 AMfjohn says:
instead of the lcd i updated the code and added Serial.begin and now i can see the time in the serial monitor!!!!!
Mar 31, 2011. 5:51 AMfjohn says:
is that serial lcd?
Mar 20, 2011. 4:07 PMjoedibiase says:
This looks like a fun project. I'm new to this kind of thing and am a bit confused about the LED. The LED only has 4 posts (1 anode and 3 cathodes), but in the step-by-step instructional pictures, it looks like there are more posts seated in the breadboard. Would you be so kind as to clarify?

Thanks much!
Mar 24, 2011. 2:42 PMjoedibiase says:
Thanks for the explanation! We're almost there, but are having a problem with the LED. We've got everything hooked up, but the LED doesn't come on. Here's what's going on ...

- The display says "Hold button to start"
- We press the button and the display goes blank 
-When we release the button, one of two things happens:
     (1) A reaction time is displayed on the display, or,
     (2) There is a beep and the display reads, "Released too soon"

At no time does the LED blink or come on at all.

You can see the picture I uploaded. I checked current with a multi-meter and got these results. On the picture, the lead connecting to Arduino 8 has current as soon as you press the button, and then periodically has current as long as the button is held. The lead connecting to Arduino 6 has current continually. The lead to Arduino 7 has current as soon as the button is pressed, and then has current periodically while the button is held.

As I mentioned, I'm new at this, so am a little baffled. Any help will be much appreciated. Thanks!
Mar 24, 2011. 6:32 PMjoedibiase says:
Thanks so much again. I picked up some different LEDs and they work! Must have been something kludgey with the original LEDs.

This works great ... please know that you've made my daughter's 6th grade science fair project very cool!
Mar 28, 2011. 8:02 AMjoedibiase says:
Haha! It might seem like Dad is doing all the work, but my daughter did much more than it would appear. She learned a lot about circuits, the Arduino, soldering, and then, how to test a sample of people (how does talking on a cell phone affect reaction time?), then analyzing the results and drawing a conclusion.

We really appreciate your instructable and your following up on our questions!
Mar 24, 2011. 3:13 PMjoedibiase says:
The button has 4 pins. When we press the button it blocks current.

Thanks for your help ... it's very nice of you. We're getting nervous about my daughter's science project, so your help is really appreciated.
Mar 23, 2011. 7:50 AMduboisvb says:
Hello again,
I was looking thru old comments and noticed that you said you would send a patch if I made this and published it and reminded you. . Which I did and was wondering if the offer is still good. :)

Thanks
Mar 10, 2011. 8:14 AMduboisvb says:
Hey, I just published an Instructable based on this and I hope I gave you the correct credit . Please advice if I should have done something more . I am new at this. Thanks again.
Mar 10, 2011. 8:16 AMduboisvb says:
Hey again, here is my project
http://www.instructables.com/id/Reaction-Timer/
Feb 3, 2011. 2:38 PMpalms14 says:
just wondering did you get this idea from any kits of any sort and btw are you using parallax or adurnio
Feb 22, 2011. 6:13 PMpalms14 says:
yeh bro any ways really nice instructable
Feb 18, 2011. 1:36 AMjanw says:
Very nice project! I like the casing.
Feb 6, 2011. 10:55 AMGaryMeow says:
awesome project :)
Feb 4, 2011. 3:11 AMsinghtarandeep15 says:
What is its use in daily life(practical use)?
Feb 4, 2011. 2:49 AMagis68 says:
nice job, smart idea and well supported. Cherry in the cake is the yellow funcy color you choose.
Feb 3, 2011. 10:54 AMjbh123 says:
Out of curiosity, what was the total cost (approximate)? Total time needed to build?
Feb 3, 2011. 11:24 AMduboisvb says:
What LCD display did you use? do you have a part number?
1-40 of 56next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
68
Followers
31
Author:bertus52x11
Check out The CameraClip, a commercial spin-off of one of my I'bles at www.cameraclip.eu OR in the Instructables Store!