Article
Four in a Row
Play against each other or against the micro!
With ordinary (board) games there is always the possibility that some parts get lost over time, such as playing pieces, cards or dice. An electronic version of the game obviously doesn’t suffer from this. But this is not the only advantage that modern technology offers us.Apart from playing against another human opponent you can also play against the microprocessor. A handy ‘undo’ function is included, which lets you correct any mistakes you made (usually some silly move!).
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1-R12 = 47Ohm
R13,R16 = 100kOhm
R14 = 4kOhm 7
R15 = 180Ohm
Capacitors:
C1,C2 = 10µ F 16V radial
C3,C4,C5 = 100nF
C6 = 10nF
C7,C8 = 33pF
Semiconductors:
D1-D7 = 1N4148
D8-D49 = bi-colour LED (red/green) with common anode
IC1 = AT90S2313-10PC, programmed, order code 030146-41
IC2 = HEF4894BP
IC3 = UDN2981A
IC4 = 7805 or 1N4004 *
Miscellaneous:
S1-S8 = miniature pushbutton, 1 make contact
BZ1 = 6V DC (active) buzzer
X1 = 10MHz quartz crystal
K1 = 6-way SIL header
Case, e.g., PacTec type HP
PCB, order code 030146-1
Source and hex code files, order code 030146-11 or Free Download
R1-R12 = 47Ohm
R13,R16 = 100kOhm
R14 = 4kOhm 7
R15 = 180Ohm
Capacitors:
C1,C2 = 10µ F 16V radial
C3,C4,C5 = 100nF
C6 = 10nF
C7,C8 = 33pF
Semiconductors:
D1-D7 = 1N4148
D8-D49 = bi-colour LED (red/green) with common anode
IC1 = AT90S2313-10PC, programmed, order code 030146-41
IC2 = HEF4894BP
IC3 = UDN2981A
IC4 = 7805 or 1N4004 *
Miscellaneous:
S1-S8 = miniature pushbutton, 1 make contact
BZ1 = 6V DC (active) buzzer
X1 = 10MHz quartz crystal
K1 = 6-way SIL header
Case, e.g., PacTec type HP
PCB, order code 030146-1
Source and hex code files, order code 030146-11 or Free Download
Discussion (0 comments)