Reaction Time
This fun and challenging course walks you through the process of building and coding your own reaction time tester and a two-player reaction game.
Welcome to Reaction Time
Intro to Reaction Time
What's Your Mission?
Let's get to know you!
Reaction Time Booklet (Optional Download)
Microcontroller Board and Components
Components You'll Need
Breadboard Basics
What's the Voltage?
Need Help?
Envisioning the Game
Setting Up the Board
Two Complete Circuits
Get the Arduino Code Editor
Test Your Board
Add This Optional Library (Windows and Mac Users)
Add This Optional Library (Chromebook Users)
Instructions For the Microcontroller
Setting Up the Pins
Break it Down
Program Design with Pseudocode
How to "Print" to the Screen
Creating a User-friendly Program
Avoiding the Infinite Loop
While Loops
Creating a Random Delay
We Need Random Numbers!
Keeping Track of Time
Estimating the Reaction Time
The "Do...While" Challenge
Waiting for the Button Press
The Last Few Steps
Calculating the Elapsed Time
Final Code for Part 1
Test Run! - Video
Test Run!
You Did It!
Introduction to Light Sensors
A New Mission and Circuit Revisions
Finding Your Threshold - Video
Choosing a Threshold
Updating Your Sketch
Code Revisions
Final Code for Part 2
Congratulations! Part 2 Complete!
Introduction to the Two-player Game
A New Mission and Board Setup
Interrupting Is Okay - Sometimes
Interrupts and the Winner
Code for Part 3 - Two Player Game
Congratulations and Introduction to Challenges
Coding Challenges
We're excited for you to join us next time!
Glossary
Appendix 1 - Using the Ultrasonic Sensor