Skip to content

Yale Athletics Department, Yale Lacross Team Reaction Training Board

Notifications You must be signed in to change notification settings

ccxxgao/Megatrainer-6000

Repository files navigation

Megatrainer-6000

Yale Athletics Department, Yale Lacrosse——Reaction Training Board

This code was created for a reaction training board with 15 buttons capable of displaying RGB LEDs. The board was created to train the reaction times of various Yale athletes and create an environment conducive to simulating psychologic stressors an athlete can encounter during a game. The multiple game modes offer a high degree of customizability by the user and target different aspects of human reaction (time, accuracy, stamina). This project was given credit for Yale Lacrosse's historic 2018 National Championship win.

Media

Article: Engineering a Championship

Demos ft. Yale Athletics and Yale SEAS

Code Notes

Color Code:

Value Color
1 red
2 green
3 blue
4 off

Single Light = one button flashes at a time

Light Array = all 15 buttons flash at a time

Disappearing Whack-a-Mole (Single Light)

Buttons are exposed only for a set time before they disappear

Customizable frequency, useful for stamina training

int len = 30;               // can be customized, length of session in seconds
float ex = 0.6;             // can be customized, length of exposure in seconds before scramble  

Recorded: reaction time and hit rate

Whack-a-Mole with Dummies (Single Light)

One correct color; “dummy” buttons thrown in

int rightColor = 1;         // can be customized
int num_rightColor = 5;     // number of correct LEDs per session; can be customized
int delay_time = 1;         // random delay between each led in seconds, lower bound 0.5 seconds

Recorded: reaction time and accuracy

All-At-Once (Light Array)

One correct color, all lights go off

int rightColor = 2;         // can be customized
int runs = 10;              // total amount of times to display light arra

Recorded: time taken to hit all correct buttons in a light array and incorrect hits

Scramble (Light Array)

Correct light; if incorrect button is hit, lights are scrambled

int rightColor = 2;         // can be customized
int session_length = 20;    // can be customized, length of session in seconds

Recorded: average reaction time, total hits, and accuracy

D-Line Drill (Light Array)

Must hit x amount of correct buttons in a row

If incorrect button is hit, light array is scrambled, and button count starts from 0

int rightColor = 2;         // can be customized
int hits = 40;              // can be customized, the number of correct hits in a row needed to finish the session

Recorded: total time taken to hit x correct buttons in a row and incorrect hits

Newman Drill (Light Array)

Known to bring any athlete——from tennis players to football stars——to tears. Named in honor of the Yale Strength Coach, Thomas Newman.

One correct color, runs for x seconds

Light array is exposed for a customizable time (e.g. 0.4 s) before scrambling

int rightColor = 3;         // can be customized
unsigned long len = 30;     // can be customized, length of session in seconds
float exposure_time = 0.7;  // can be customized, length of exposure in seconds before scramble

Recorded: correct and incorrect hits, accuracy

About

Yale Athletics Department, Yale Lacross Team Reaction Training Board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages