PCB Visiting Card With Tic Tac Toe Game

Introduction: PCB Visiting Card With Tic Tac Toe Game

About: I am an electronics hobbyist and I love to share my works with others

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.

Step 1: Designing and Printing of the PCB

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.

Step 2: Components Needed


0805 capacitor 22pf *2

0805 capacitor 100nF* 2

SMD WS2812B-B*16

0805 LED SMD* 2

0805 resistors 1K* 3

0805 resistors10K 1


micro USBFemale*1

download BOM from here

Step 3: Soldering

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.

Step 4: Programming

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



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.

Be the First to Share


    • Photography Challenge

      Photography Challenge
    • New Year, New Skill Student Design Challenge

      New Year, New Skill Student Design Challenge
    • One Board Contest

      One Board Contest