Circuit diagram:
LED Noughts And Crosses Circuit Diagram
If a player pushes a button for a LED that is already glowing red or green, then that LED changes to yellow, exposing the false move! All the LEDs are then turned off, ready for the next game, by pressing the "Clear" button. For simplicity, the circuit shows only one tri-colour LED and a pair of opposing buttons. This circuit fragment must be repeated another eight times to create a complete 3 x 3 grid. A brief press on a button fires the associated SCR and turns on the LED. The common (cathode) lead of all LEDs is connected to the 0V rail via the normally-closed contacts of the "Clear" pushbutton (S3).
Author: A. J. Lowe - Copyright: Silicon Chip Electronics
Post a Comment