Clock & Timer Circuit DiagramsLCD-LED DisplayLights and Display Board Circuits

Reaction Race using ATtiny13 Schematic Circuit Diagram

This is a reaction timer game between two players, red and green. Each player has a pushbutton in front of him that he must press at just the right moment: not too early and not too late. The aim is to be the first to press the button. The ‘right time’ is indicated by a multi-colour LED. Each round of the game runs as follows: after a welcome pattern (flashing red and green, playing two tones), the LED starts to blink red slowly. A player who presses during this phase (too early) is ‘punished’ by a low-pitched tone and the lighting of the LED in his colour.

Reaction Race using ATtiny13 Schematic Circuit Diagram

After a random time period the LED turns yellow. The first to press during this period is the winner and is rewarded by a rapid flashing of the LED. If the LED goes out again before either player has pressed his button, it is too late and another round of the game starts. As a glance at the well-commented source code for the microcontroller software shows, the sequence of events and their timing can easily be adjusted as required.

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Close
Close