I designed, made and programmed a game to help speed my reaction time up with a raspberry pi. I first wanted to make a 3*5 foot one so I could stand up and do it but then released after designing I should start with a smaller one. I cut a 23*17*6.5 inch out with the laser cut. Then wired the whole circuit togeather. I first linked all the grounds together then ran one wire to the raspberry pi. I then ran a wire to each sensor on the LED buttons (2 on each switch) to a gpio pin on the raspberry pi.
Programming: I started with 3 lights and making them turn on and off then I hit them, then turning another random one on when I hit one. From there, I wired the whole thing up and made a loop which turns on the light on at the beginning, as soon as you hit that another random light will turn on and so on. I have three buttons one for 30, 60 and 90 seconds. There is an OLED screen that will count your score every time you hit a light.
Comments