First of all thanks to DangerousPrototypes! its because of you guys I worked on logic gates after college – else its usually the usual microelectronic stuff! π
This build is a simple ‘Tic Tac Toe’ game. I ended up using 30 Logic ICs ! π
Lets see the video first, then lets see the design
Video:
Design document:
<PDF alert> This document: Tic_Tac_Toe has all the block diagrams and circuit diagram used.
Pictures:
Tic Tac Toe
Do leave a comment if you have any queries!
PS:Β The casing is ugly π Trying to build a good case for this project!
This is a simple application where in you think of a number from 1-99 in your mind and then the machine tells you what it is !
All you have to do is, think of a number and say if it is greyed out in the series of cards shown.
Before we step into any detail, Watch the video π
Concept:
The concept behind this is a BCD to 7-Segment decoder(IC7447). The unit and tens place of the number are in BCD. For example letβs consider the number 24
Number 2 4 β This in BCD would be 0010 0100. Thus this number would be found in sheet3 and sheet6. When you press these corresponding switches, the number would come up in the 7-segment display.
The switches used here are momentary push switches. When the switches are pressed, we would need it to be giving a constant HIGH. For this we use D Flip Flop (IC4013).
Design:
Switch Configuration:
The flip flop is used to sense the switch input and it goes high permanently (until the reset button is pressed). For this we connect the βdataβ pin to VCC and the clock pin to the switch output. As the flip flop is positive edge triggered, this pin is pulled low with a resister and the switch is connected to VCC. When the switch is pressed, the pin is pulled up to VCC and this triggers the flip flop, thus the output pin βQβ goes HIGH.
BCD to 7-SEGMENT:
IC7447 is used to drive the 7Segment. This circuit uses a common anode 7-Segment, the output of flip flops are directly fed to the BCD inputs of the 7segment driver.
Circuit Diagram:
<Very large PNG alert | Click to open in new window>