Tic-Tac-Toe Business Card banner

Tic-Tac-Toe Business Card

20 devlogs
31h 41m 8s

I was inspired by Ryan Chan using ATMega328 to build a Tic-tac-toe card. I decided to make my own version using RP2040 that runs on Micropython

Features

  • Full tic-tac-toe gameplay experience
    -…

I was inspired by Ryan Chan using ATMega328 to build a Tic-tac-toe card. I decided to make my own version using RP2040 that runs on Micropython

Features

  • Full tic-tac-toe gameplay experience
  • NFC feature that navigates others to my github link

Components

  • RP2040 + Crystal + Flash Storage
  • USB-C for power supply + communication
  • NFC + antenna
Demo Repository

Loading README...

Hung-Chi Wang

Alr just created the bom file and added everything to the cart
Btw I also decided to include all color LEDs just in case lol
On top of that, I also sorted all the parts for my RP2040 custom devboard

0
Hung-Chi Wang

3 hours!? DAMNN lapse was kinda tripping when I was working and I thouht it was only 45 minutes……..(no wonder why it felt like forever :)
Anyways here’s what I did

  • Reread the document for the NFC chip and realized that a 220nF cap is required
  • Polished the PCB layout. including replacing 0.1uF with 1uF for 3V3 and 1V1
  • Updated Readme and Created new release
  • Re-rendered the new front layer pcb
  • Ordered PCB
0
Hung-Chi Wang

AHHHHHHH this is getting kinda frustrating……….
Now I have two options for the charging IC

  • MCP73831 (fits better but then I gotta deal with unwanted dicharging and battery protection)
  • MCP73871 (very overkill, very unnecessary)
Attachment
0
Hung-Chi Wang

Selected the battery and its associated parts:

  • MCP73831 (the charging IC)
  • LIR2450 (the battery)
  • Keystone 3008 (battery holder)
    *** Still looking for battery protection IC
Attachment
0
Hung-Chi Wang

the image in the previous devlog is not showing, but it’s fine after doing some tuning and modification to the NFC here’s the beautiful result
*** IDK why the images in the last devlog aren’t showing

Attachment
Attachment
Attachment
0
Hung-Chi Wang

Added some design to the front silkscreen!! And I also rendered the board in blender

0
Hung-Chi Wang

I spent an hour fixing the NFC and I finally found out the reason!! I FORGOT TO CONNECT THE OTHER ROUTE, that’s simply why lol

Attachment
0
Hung-Chi Wang

GUESS WHAT I began to build V2!!!
This is what im gonna be focusing on

  • Fix NFC feature
  • Add coin cell battery
  • Better Design on both front and back
    btw I spent an hour doing research on how to add battery and learning figma lol
Attachment
1

Comments

thegenius0369
thegenius0369 about 1 month ago

Awesome Project

Hung-Chi Wang

Shipped this project!

Hours: 20.91
Cookies: 🍪 594
Multiplier: 28.42 cookies/hr

This is the V1 of my tic-tac-toe business card, and IM SO EXCITED TO SHOW IT TO EVERYONE!!! This is also by far the most complicated project I’ve ever built, like I didn’t even know if it would work lol. But overall im really proud of this ***BTW NFC for some reason doesn’t respond at all so I gotta redesign it……

Hung-Chi Wang

V1 finally done, just spent some time updating my repo and posting the first release!
I also planned out the V2:

  • Fix NFC feature, probly redraw the antenna ig
  • Add a reset button
  • Add a battery
  • Add silkscreen, mask design with all my information just like a proper business card
    Just one last glance at my beautiful MCU :)
Attachment
Attachment
2

Comments

parbarvaliya4811
parbarvaliya4811 about 1 month ago

This thing is very big best thing.

parbarvaliya4811
parbarvaliya4811 about 1 month ago

You should add the direct link of video in demo.

Hung-Chi Wang

FINALLY DONE!!!!! I finished the game logic and flashing animation when either of the player won or a tie happened!!

Instruction

  • Player 1 is orange, and player 2 is red
  • Press left to move to the next grid
  • Press right to select the grid
  • Just like any tic-tac-toe rules
Attachment
0
Hung-Chi Wang

For the past two hours I finally made the control system work!!!!

  • Press left button for next
  • Press right button to select
  • The pointer will automatically skip the selected grid
  • The pointer will go back to the first grid if it reaches the last grid
Attachment
0
Hung-Chi Wang

HUGE SUCCESS, I finally got the board and everything except the NFC seems to be working perfectly!!!

  • Tested out all the LEDs
  • Installed Micropython
  • Installed Thonny
  • Coded left and right buttons
  • Watched Micropython Tutorials
Attachment
0
Hung-Chi Wang

Here’s what I did for the past two hours:

  • Excluded NFC from the copper pour
  • Redesigned NFC Antenna
  • Chose all the parts and edited BOM file, I repackaged everything thrice
  • Triple-checked the 3D viewer
  • Tried my best to replaced extended components with basic

PS: it’s 70 USD (89 CAD when I checked my bank account)!!!! SO I SPENT SO MUCH TIME ON CHECKING TO MAKE SURE EVERYTHING GOES RIGHT

Attachment
Attachment
Attachment
Attachment
0
Hung-Chi Wang

For the past hour I was cleaning up everything, including:

  • Swapping 1V1 capacitors with 3V3 (I mean the position) cuz 1V1 is crucial for chip logic supply and more delicate I suppose
  • Adding more GND vias
  • Rerouting a couple wires to the LEDs to allocate more space for NFC
  • Cleaning up references
  • Cleaning up DRC warnings and 2 errors
Attachment
0
Hung-Chi Wang

Finished routing everything!!!

  • Rearranged the pins
  • Added tons of GND vias as usual
  • Aligned USB socket with the edge
Attachment
Attachment
Attachment
Attachment
0
Hung-Chi Wang

Almost done wiring the IC components!!! YAYYY
PS: I deleted to capacitors as there are two pairs of 3V3 pins very close to each other

Attachment
Attachment
0
Hung-Chi Wang
  • Finished tic-tac-toe grid positioning
  • Replaced 0402 with 0805
  • Researching alternative flash storage (the original one is too big)
Attachment
Attachment
0
Hung-Chi Wang

Roughly positioned the components, mainly searching parts on JLCPCB cuz extended parts are too expensive…….

Attachment
Attachment
0
Hung-Chi Wang

Completed the schematic and footprints!!!
Part Selections:

  • 0402 Capacitors
  • 0402 Resistors
  • 0402 LEDs
  • RP2040
  • ABM8-272-T3 12MHZ Crystal (recommended by the official)
  • W25Q128JVS Flash Storage
  • USB-C
Attachment
Attachment
2

Comments

Melodic
Melodic 2 months ago

Looks awesome!

ekamwadhwa2004
ekamwadhwa2004 2 months ago

Nice