Adaptive Tic Tac Toe
An adaptive Tic Tac Toe game that is displayed on two HUB75 Matrices. This project was created for the students at Boston College's Campus School. Powered by a Matrix Portal S3, 12 pad Capacitive Touchpads, and an plug in brick.
Project Contributors:
Esha Patel
Jennifer Weber
Supplies
- 3D printed parts (attached STL files)
- Wire
- USB-C to USB-C wire
- Two HUB 75 Matrix Portal
- One Matrix Portal S3
- One 12 pad Capacitive Touchpad MPR121
- Conductive Fabric
- Soldering Equipment
- Heat Gun
- STEMMA QT JST
- Easel (optional)
3D Print
- 3D print two copies of each STL file that is attached in this instructable. Do not change the size of the files.
HUB75
To set up the Hub75s plug in the matrix portal on the left of the top hub. Make sure that the arrows on the Hubs are both pointing up and left. Then connect 16 pin ribbon cable from the top hubs output on the left to the bottom hubs input on the right. Use a 5V Power Cable for RGB LED matrices and connect to BOTH Hubs to power them. Power the Matrix Portal with a separate USB C cable. We used velcro on the edge of the hubs to connect them. With this setup you should simply be able to connect the Matrix portal to your computer and paste the code attached below in the code.py file and save it. In case you want to code something of your own with this set up make sure to set the Bit depth to 2 as above the display starts flickering.
Downloads
Conductive Time
Cut out two squares of conductive fabric. Specifications - 6.9cm x 6.9m
Puncture a pencil tip sized hole through one side of the fabric square. Do this for both fabric squares.
Measure out two strands of wire to the length of your choice.
Strip the ends of each wire - about 1 centimeter.
Soldering Time
Carefully - Solder on end of the wire through the hole in your fabric square. Complete this for both squares.
Feed the Wires
Feed the wire through the 3D printed parts as shown in the images.
Soldering Time Part 2
Solder the other ends of your wires to the Capacitive Touchpads. If you are following our given code, solder one wire to the "0" touchpad and solder the other wire to the "6" touchpad. "0" will be the X player and "6" will be the O player.