Tic Tac Toe ( 3 in a Row )

by simpletronic in Circuits > Electronics

9654 Views, 33 Favorites, 0 Comments

Tic Tac Toe ( 3 in a Row )

thumb612.png

This project is an electronic recreation of the classic Tic-Tac-Toe pencil & paper 2 player game. The heart of the circuit is Microchip´s PIC 16F627A microcontroller. I have included download link for a PC board PDF and also the HEX code for the chip burning. You will also find the assembly source code there. In a future Instructable, I will propose a "good looking" enclosure with large back-lit buttons.

Quick Tour Video

Tic Tac Toe ( 3 in a row )

Device Views

02.png
03.png
04.png
05.png

Circuit Diagram

circuit01.png

Project is built around the PIC16F627A microcontroller from Microchip, an 18-pin microcontroller.

Circuit Operation Details

circuit02.png
circuit03.png
circuit04.png
circuit05.png
circuit06.png
circuit07.png

Basic Flowchart

flow.png

PC Board & HEX Code Download Link

pcb.png
code.png

Components List

components.png

I recommend the use of an 18-pin DIL socket for the MCU.

LEDs & Switches

leds.png
switch.png

Breadboard Time

bread01.png

I used a wire to emulate the 9 switches.

PART 2 Video

Tic-Tac-Toe Part-2 ( 3 in a row )