PCB Visiting Card With Tic Tac Toe Game

by EDISON SCIENCE CORNER in Circuits > Arduino

940 Views, 1 Favorites, 0 Comments

PCB Visiting Card With Tic Tac Toe Game

IMG_20211010_203620-01.jpeg
IMG_20211011_161959-01.jpeg
IMG_20211010_103953-01.jpeg
PCB Visiting Card with Tic Tac Toe Game | Arduino game
1637229466980.jpg

Hello there

In this tutorial, I am going to show you how to make a visiting/business card. Not just a visiting card. This is a PCB but Just like a normal visiting card. You can see the EDISON SCIENCE CORNER name, logo, social media Icons and a QR code. The QR code will direct you to my youtube channel. But on the opposite side, you can see a circuit. This is a tic tac toe game circuit. Tic tac toe is a two-player game. Also known as X O Game. two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. Most of the time game will draw. here I replaced X and O with colours and also changed the traditional 3*3 into 4*4. So a total of 16leds and 16 switches each switch represent corresponding led. Player one is green in colour and player 2 red. That's it I think you got it.

Now let's see how to make this.

Designing and Printing of the PCB

Schematic_badge_2021-11-18.png
PCB_PCB_badge_2_2021-11-18.png
IMG_20211010_103847-01.jpeg
IMG_20211011_162045-01.jpeg

So this is the game circuit I designed it using easyeda. here I am using atmega328 as the heart of this project. Then I converted the circuit into PCB. I designed the PCB with a dimension of 89mm*50mm because this is the standard size of visiting cards. I used the insert image tool of easyeda to make the design. this is just about art you can make with your ideas. After designing the PCB I downloaded the Gerber file. Then I went to jlcpcb.com. I choose JLCPCB because they offer only 2$ for 5 PCBs. To order PCBs Just click on order now and select your Gerber file. after uploading, I choose the black colour .8mm thickness and placed the order. after 2 weeks I received the PCB. The PCB has only .8mm thickness but the quality is perfect as I expected.

Components Needed

ATMEGA328P-AU* 1

0805 capacitor 22pf *2

0805 capacitor 100nF* 2

SMD WS2812B-B*16

0805 LED SMD* 2

0805 resistors 1K* 3

0805 resistors10K 1

16MHZ*1

micro USBFemale*1

download BOM from here

Soldering

IMG_20211010_165641-01.jpeg
IMG_20211010_160213-01.jpeg
IMG_20211010_160951-01.jpeg
IMG_20211010_201440-01.jpeg
IMG_20211011_102025-01.jpeg
IMG_20211010_204121-01.jpeg

after grabbing all components I started soldering

I started with the micro USB port. Then I soldered all the other components. After soldering the control circuit I started soldering neopixel LEDs and after finishing that I soldered corresponding Switches. After 1 hour I completed all soldering and now our PCB looks like this.

Programming

IMG_20211010_160246-01.jpeg
IMG_20211010_160423-01.jpeg
IMG_20211010_160707-01.jpeg

after completing the soldering I connected the USB cable and tested it. Now it's time to upload the code. I connected the spi pins to an isp Arduino and uploaded the sketch

DOWNLOAD CODE FROM HERE

PLAY AND ENJOY

IMG_20211010_203843-01.jpeg
IMG_20211011_104621-01.jpeg
IMG_20211011_104628-01.jpeg
PCB Visiting Card with Tic Tac Toe Game | Arduino game

This is how I made a visiting card with 4*4 tic tac toe game PCB. You can download the circuit, code, gerbers from the links. Hope you enjoyed and learned something from my tutorial.