Skip to the content
2 layers71.5 × 86.2 mmSuper cat game v0, the printed circuit board in 3D

A pressure-sensitive LED mat for an ESP32 S3 Devkit clone. This is my first proper hardware project!

Size
71.5 × 86.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
94
Pads
247
Tracks, vias
554, 139
Pours
242
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Jul 2026
Updated
4 Oct 2026

Overview

Super cat game v0 is an open-source printed circuit board by furballroller, from the furballroller/super_cat_game repository on GitHub. It is a 2-layer board of 71.5 × 86.2 mm with 29 parts on 94 nets, routed with 554 tracks and 139 vias.

It is built around the CD74HC4067SM96, FH2.54-09-22PZD and SN74HC163DRE4, with the 3362P-1-203, KF128-2.54-2P and TYPE-C-31-M-12 among its other parts. Its parts include 8 capacitors, 4 resistors and 1 diode. It belongs with the ESP32 boards of this library.

Main components

8

README

README.md

super_cat_game

[!CAUTION] The current hardware version is hardware_v1!! Anyway, is my first PCB project, so neither version is very good. It may be cost-inefficient and buggy.

[!WARNING] if regenerating production files from KICAD, the LCSC Part # in the BOM and component orientations in CPL may be incorrect. Make sure to double check part numbers and orientation in JLCPCB before paying I don't know how to fix it and had to directly edit BOM.csv :<

[!TIP] these banners are so cool lol

Final product:

A5 - 1 (1)

Cat silhouette traced from this photo: ID 115652480 @ Octavian Mihai Lazar | Dreamstime.com

backstory

So basically my friend had a cat, and I was just getting into arduino electronics, so I wanted to make a chasing game for the both of them! I ended up deciding on a pressure-sensitive LED mat, for an interactive laser-pointer kind-of game, with wifi connectivity for convenience. It could be nice to use regularly to keep your pets fit, but really this is just a fun beginner project to me.

Then, in between reels, I discovered Fallout, a 2026 hardware hackathon for 13-18yos backed by Hack Club. I was drawn in by the promise of full project funding and a free trip to Shenzhen, and was enthralled by the experienced and helpful community ready to help. I would highly recommend Hack Club hackathons like this if you're new/intermediate like me and within the age range :>

The scope expanded when I realised that there's so much more potential with my setup! I used a powerful ESP32 S3 N16R8 Devkit, so I broke out the pins for prototyping. You can hook up any peripherals you want for your game! Like, with a 3D printed kibble dispenser, you could implement scheduled feeding and dispense treats as an in-game currency :>

But you can program anything, not just for a cat! Chess online/locally would be easy and super fun! Maybe even something like Osu, make use of the full spectrum of colours! You might even want to host an online multiplayer game...

overview

This project hardwires a pressure-sensitive LED mat to a powerful general-purpose devkit, intended for making inuitive arcade-style games (for a cat, if you'd like! :> )

I used Arduino to code up a simple cat game (Arduino sketch), where a laser dot darts around, avoids people, and resets the game when caught. To use this, just upload the code to the devkit (using it's built-in USB-C port), plug it into the PCB, then plug the PCB into the wall!

The devkit opens the project to endless posibilities, including bluetooth game controllers, network games, and over-the-air coding for easy game dev (template Arduino sketch with ArduinoOTA). This project is meant to function as a very cool extension of the microcontroller, for those who might want to jump straight into making games using this touch interface.

specs

  • ~45*45cm play area
    • 14*14 Velostat pressure sensor matrix
    • 13*13 WS2812B LED matrix (very low resolution tho)
  • Wifi/Bluetooth capability
    • Cheap ESP32 S3 N16R8 Devkit clone off AliExpress
  • Broken-out devkit pins and 5V power supply for any peripherals you might like to add

cost

Overall BOM.csv | PCB BOM.csv

The overall BOM represents what I plan to order: 5 populated PCB boards (JLCPCB minimum order quantity), but only 1 housing/mat/devkit. Though, I did include a laptop charger and the LED strips that I already have. This comes out to 111.83 USD.

I didn't include tools (not consumed) like soldering equipment and a 3D printer, but I did approximate the cost of consumables like solder, tape rolls, screws and filament.

Per unit
Cost (USD)Stuff
14.11Power supply
22.15Electronics
2.32Housing
33.32Mat

Excluding shipping, it's about 71.90 USD per unit.

hardware

image

I decided to use a USBC PD laptop charger as the PSU since it's quite common and versatile and it's not too expensive.

The velostat matrix is connected with two 45cm lengths of 16-way IDC cables (not shown in CAD). One individual line will be cut, stripped, and stuck to the sensor lines at regular intervals along the mat, 14 horizontally and 14 vertically. There's more detail in the assembly walkthrough below.

Velostat pressure sensor matrix

The rest of the system is quite self-explanatory except for the Velostat pressure sensor matrix, so I'll try my best to explain. There's a good video of it by MarcoReps on YouTube.

Velostat is a thin plastic sheet with electrical resistance that decreases as it is pressed or deformed.

Each "sensor" works by sandwiching a square of Velostat between perpendicular strips of conductive fabric tape, such that it acts as a resistor between them.

velostat sensor

When the Velostat is compressed, the resistance between the two strips decreases. Connecting one tape to 3.3V through a normal resistor (e.g. 10k Ohms) and the other to GND, the circuit becomes a voltage divider between the Velostat and the normal resistor. The microcontroller can read the voltage at this point (relative to GND) to figure out the resistance of the Velostat, which tells you approximately how much pressure is on it!

circuit

Along one long conductive strip, multiple perpendicular strips can be laid across with Velostat between, creating a line of sensors. By connecting all the perpendicular lines to a multiplexer's channels, they are all left in a high-impedance state except the selected channel. The normal resistor and ADC pin can be connected on the single output of the multiplexer, so they can be reused when the channel is switched.

Conventional diagram

image

Another way to show the same circuit:

image

The matrix in the mat is 14 conductive lines crossed with 14 perpendicular lines, making a total of 14^2=196 "sensors." It's the same as the line of sensors, but there are multiple lines of sensors, with one ground connection each. The ground connections are controlled by another multiplexer, only allowing one line to be active at once.

image

This is a 4 by 4 example. Multiplexer 1 picks the line of sensors connected to GND, and multiplexer 2 picks the sensor from that line to read.

The real mat works using two 16 channel multiplexers (CD74HC4067) on the PCB: the ESP32 specifies a channel, the multiplexers switch to the corresponding Velostat sensor, then the ESP32 takes a reading through it's ADC pin. Instead of the normal resistor, there is a potentiometer (variable resistor) that allows you to adjust sensitivity.

image

This is how the sensors are tiled

code

My example sketches: (currently untested)

  • press_light: intended to be a test of function, that should simply light up LEDs around where you press. This would be great for making sure the hardware is behaving, or as a fun starting point if you want to experiment with code and get the hang of Arduino.
  • cat_game: a simple cat game where the computer controls a red laser-pointer-like dot to avoid people.
  • template: an empty template for your project! I set up some useful functions in functions.cpp and put all the initialisation code in for you.
  • template+OTA: same as template, but I also set up ArduinoOTA. I think it's really cool that you can upload code wirelesly like magic! (a cool tutorial page)

I used PlatformIO on Visual Studio Code to write my Arduino programs for the microcontroller. This may sound convoluted, but I did it this way because Arduino programs are easy to write (compared to industrial languages) but Arduino IDE is horrible!

If you want to use Arduino IDE, you can quite easily copy-paste my code into the IDE. For a given project folder in software, you just kinda paste the stuff from functions.cpp first, then the stuff from main.cpp... it may take a bit of fiddling around though, so I would recommend looking into PlatformIO (after getting used to it, I find it way way better :>)

I used FastLED to control the WS2812B neopixels

assembly

assembly image

I thought it was cool to include the little thumb, and the vents are accurate too! They're like LHS/RHS prints from a cat grabbing the case or something :> Also, the USB port is on a 45 degree angle so the wire leaves perpendicular to the mat.

I'll touch on the key features of the design below. For more info, see the 3D model for this is in my Onshape doc, under the tab "boxV1" (my bad for the bad organisation, I'm still learning CAD)

If you want to change the tolerances (they're untested), I haven't tried, sorry if something is inaccurate. It may be best to change the tolerances in your slicer.

[!TIP] the Onshape link might not work. I had to click it, then Ctrl+X Ctrl+V Enter from the address bar

electronics

I contained the circuit in a PCB attached to the corner of the mat, and I've also desgined a 3D-printed housing for it.

The whole project runs off an ESP32 S3 N16R8 microcontroller devkit, which is like an Arduino but better (in my opinion)

On Aliexpress (I would recommend getting "S3 KIT" because the screw terminals are very handy, but I put the board by itself into the BOM)

When choosing a microcontroller, I noticed that a lot of clone (knockoff) ESP32 S3 devkits, including the one I bought, have the antenna port but also an antenna built into the PCB. I think they give you the option to change to an external antenna by doing a bit of soldering, but by default it is connected to the onboard antenna.

PCB

PCB preview

[!CAUTION]

  • Ignore the capacitor going off the edge, the EasyEDA model is wrong
  • The two parallel rows of vertical pin headers (for the devkit) should be female, again the EasyEDA model is wrong

PCB

schematic

About the design:

  • JL1 and JR1 hold the ESP32 devkit
  • The USB-C is for power only
  • JLED1 is for the LED strip
  • JPWR1 is 5V power for any peripherals you might want to add
  • The IDC sockets are for the pressure-sensing data lines
  • The fancy ICs are just CD74HC4067 multiplexers for selecting the pressure-sensing channel to read
  • The potentiometer is for adjusting the sensitivity of the pressure sensing (it's part of a voltage divider)
  • U1 is a logic level converter for the LEDs.

Regarding soldering: I designed the PCB to be hand-soldered, hence the abundance of THT and the large 0805 capacitors/resistors. My only concerns are the SSOP 74HC4067 and 6-pin USB-C port, but other than that the rest should be beginner friendly, from what I can gather. I'm thinking of going to my local makerspace to solder this. In Melbourne, Library at the Dock has one equipped with a digital microscope, flux/solder/wick, and Hakko FX-888 soldering stations, all free of charge. Maybe be careful around ESD, I'll update on my degree of success when I build it.

housing

housing

I'm not very good at 3D CAD either, but this should work... I think
The design is quite self-explanatory, but below are some key features that I thought I should highlight:

bottom of base

On the base, there is a cutout for those holes on the mat. The holes are truncated cones, inspired by this video by BV3D. I designed my case to work with 3M screws, and the truncated cones means you can use machine screws or self-tapping (I think)

top of base top of base, PCB overlaid

The base supports the PCB with a few stilts through the holes in the PCB, again using M3 truncated cones. The smaller stilts give some support to the IDC connectors, which I expect may require some force to plug in and out.

top image

The top fits on the bottom with M3 screws, and features holes for IDC, the LED strip, the USB-C power port, optional 5V power lines, and the broken-out GPIO from the devkit. Also there are (very stylish) vents :>

lid image

There's also a lid that slides onto the top, so the devkit is protected but can be accessed easily during game development. I included a cool thinner section where the onboard LED is, so the status light should look like a cat's paw.

sensor_mat

[!TIP] You'll see two holes in the top-right corner of the mat. These fit M3 screw heads, and should help anchor the PCB to the mat.

  1. The LED strips LED strips assembled

I used 13 LED long sections of 30 LED/m WS2812B individually addressable LEDs With pads on either side, each section is about 43.333mm long (theoretically)
Similar product on AliExpress (MAKE SURE THE SPACING IS 30 LEDs/m; I'd recommend buying 2 "3m 30 IP30")

There are 13 of these sections, forming a 13*13 grid (169 LEDs) The ends can be soldered together with jumper wires, preferably with stranded wire, like so:

Suggested LED strip interconnection Suggested fold to connect to PCB (don't crease too much tho!)
  1. The popsicle sticks
Popsicle sticks assembled

I used 2mm thick, 18mm wide popsicle sticks (jumbo craft sticks)
My local option (Australia)

In the CAD, I made very long, 18mm-wide rectangles for simplicity. They represent the area that should be filled with popsicle sticks. It may be useful to trim off the rounded ends for a fuller surface, but the space could alternatively be filled with hot glue for better adhesion.

They will be adhered together with the conductive tape that goes on top (see below). They should be adhered to the LED strip with high-temperature hot glue or silicone (not being lazy! it's good for sticking to wood and flex-PCB, trust). Please ensure hot glue doesn't get under the popsicle sticks, as this may affect the pressure detection and make the mat lumpy.

Where to smush the glue Try smushing the glue into the corner where the edge of the popsicle sticks meets the LED's flex-PCB
  1. Conductive fabric tape (bottom)
Conductive fabric tape (bottom) assembled

I used 0.1mm thick, 8mm wide conductive fabric tape. This acts as the bottom layer of the velostat matrix.
Similar product on AliExpress
(I'd recommend buying 1 "8mm")

The tape sticks onto the wood to connect it together. If this isn't sturdy enough, the sticks can keep their rounded ends, and hot glue can help hold them together (in the gap made by the rounded ends)

An IDC wire needs to be attached to one end of each strip, so I recommend the following:

Leave a 1-2cm tape overhang

Leave a 1-2cm tape overhang

Press the stripped IDC wire here

Peel the stripped IDC wire away from the rest and press it here. for extra security, you could wrap the tape around the entire row of IDC wires.

super cat game (6)

Press another section of tape here, sticking the sticky sides together and securing the wire's insulation and popsicle stick together

super cat game (7)

Wrap the main tape over the other strip and the wire (ensure it has contact with both the insulation and the bare metal, and press it into the crevices and flush to the bottom of the mat

  1. Velostat
Velostat assembled

I used a 0.1mm thick, 280mm square sheet of velostat, cut up into ~18mm squares (this stuff is expensive!!)
My local option (Australia)

The squares will be adhered to the popsicles with thin-film double-sided tape, with two 4mm wide sections flanking the conductive tape running down the middle of the popsicles.

It is important that the tape is as thin or thinner than the velostat (≤0.1mm), or it may squish instead of the velostat, lowering the sensitivity, and so resolution, of pressure readings.

Double-sided tape on AliExpress
(I'd recommend buying 1 "5mm")

  1. Conductive fabric tape (top)
Conductive fabric tape (top) assembled

This layer is sticky-side-up, so in real life you would stick it onto the top EVA first (see below). Please make sure the tape is aligned such that it doesn't touch the bottom layer directly anywhere, only conducting through the Velostat squares.

An IDC wire needs to be attached just like in the other layer, so I would recommend the same strategy, but wrapped upwards around the EVA. The ugly tape overhangs on top of the EVA will be covered by electrical tape later.

  1. Frosted plastic sheet (EVA)
image

I used a ~1mm thick, 450mm square of EVA plastic intended to line drawers.
My local option (Australia)

The top layer of conductive tape should be stuck to the bottom of this sheet, on the smooth side. This EVA layer can be adhered to the bottom construction with electrical tape, not just because it's easy to design, but because of it's suitable properties. The mat is designed to loosely roll up for easy transport/storage, requiring flexibility, and the edges must be soft to keep flying fingers/paws safe around the mat :)

the_past

V0 3D

V0 PCB

V0 sch

[!CAUTION] I cobbled V0 together from backups so maybe double check whether it works if you plan to build it. e.g. there's no copper exclusion around the antenna :<

Just a quick note about the hardware_v0 and hardware_v1, I just uploaded v0 so you can see a previous design I made. I wanted to preserve more ESP32 GPIO pins, so I used counter ICs to cycle through the MUX channels of the sensor grid. This would've allowed me to step through each channel with just one clock pin per counter, compared to the 4 pins per counter I would've needed to control the MUX channel directly. It wouldn't have added much time either, as the counter works even faster than a digitalWrite()! Sending one clock pulse might even be more efficient than using Arduino to update the state of 4 pins... anyway, I decided to remove the counters in V1 to save board space and money, seeing as there are so many available GPIO anyway lol :>

the_future

Some ideas I have:

  • multiplexing/charlieplexing/shift registers with regular LEDs to replace expensive neopixels
  • using an ESP32 S3 WROOM SOC module for a smaller and cheaper PCB
  • using a library like NeoPixelBus instead of FastLED to make the Arduino code faster/efficient
  • somehow allowing IDC to attach/detatch without needing to unscrew the lid, for portability/storage

Lemme know if you've got any suggestions! My email: aydeny8k@gmail.com

references

The Velostat pressure matrix idea: Youtube video by MarcoReps

Truncated-cone screw holes idea: Youtube video by BV3D

Sliding lid shape: Wuodan0 on Thingiverse

FastLED Arduino library

ArduinoOTA Arduino library

easyeda2kicad.py Python script

Pictures annotated in Google Drawings

Parts

29
QtyValueFootprintReferences
7100neasyeda2kicad:C0402C1, C2, C3, C4, C7, C9, C10
3MountingHoleMountingHole:MountingHole_3.2mm_M3H2, H3, H4
25.1KResistor_SMD:R_0402_1005MetricR1, R2
2CD74HC4067SM96easyeda2kicad:SSOP-24_L8.1-W5.3-P0.65-LS7.8-BLUA2, UB2
2Conn_02x08_Odd_Eveneasyeda2kicad:IDC-TH_16P-P2.54_C3406JA1, JB1
2FH2.54-09-22PZDeasyeda2kicad:HDR-TH_22P-P2.54-V-MJL1, JR1
2SN74HC163DR_C338758easyeda2kicad:SOIC-16_L9.9-W3.9-P1.27-LS6.0-BLUA1, UB1
11000ufootprints:cap_flatC5
13.3kResistor_SMD:R_0402_1005MetricR4
1330Resistor_SMD:R_0402_1005MetricR3
13362P-1-203_C118933easyeda2kicad:RES-ADJ-TH_3P-L7.1-W6.9-P2.50-L_3362PRV1
1KF128-2.54-2Peasyeda2kicad:CONN-TH_P2.54_KF128-2.54-2PJPWR1
1Screw_Terminal_01x03easyeda2kicad:CONN-TH_3P-P2.54_KF128-2.54-3PJLED1
1TYPE-C-31-M-12easyeda2kicad:USB-C_SMD-TYPE-C-31-M-12_1USBC1
1WS2812B-2020-V6easyeda2kicad:LED-SMD_4P-L2.2-W2.0-P1.00_WS2815C-2020-4PLED1
1X6521WR-2×17H-C30D60easyeda2kicad:HDR-TH_34P-P2.54-H-M-R2-C17-S2.54H5

More from furballroller/super_cat_game

1
  • 2 layers71.5 × 76.9 mmSuper cat game v1, the printed circuit board in 3D

    Super cat game v1

    furballroller/super_cat_game

    A pressure-sensitive LED mat for an ESP32 S3 Devkit clone. This is my first proper hardware project!

    26 parts1

Similar boards

  • 4 layers228 × 115.4 mmOcxPrototype, the printed circuit board in 3D

    OcxPrototype

    ocxpke/ocx

    Open Computer Experience

    126 partsCERN-OHL-S-2.0
  • 2 layers100 × 100 mmEvse, the printed circuit board in 3D

    Evse

    artashesamatuni/coreEVSE

    coreEVSE KiCad hardware project

    118 parts1
  • 4 layers63.5 × 44.5 mmLTC3556 v2.4, the printed circuit board in 3D

    LTC3556 v2.4

    blakep7/HANDS-EMG

    57 parts1
  • 6 layers84 × 98 mmFujiNet-5200-Rev0, the printed circuit board in 3D

    FujiNet-5200-Rev0

    FujiNetWIFI/fujinet-hardware

    Schematics and design files for FujiNet hardware

    145 parts142
  • 2 layers80 × 54 mmPl60c dmx, the printed circuit board in 3D

    Pl60c dmx

    tsmiltonAgents/pl60c-dmx-wakeup

    A small ESP32-S3 board that drives the wired DMX512 input of a Neewer PL60C panel light so the light can be ramped up slowly in the morning (sunrise alarm). Rev A, 2026-09-02.

    40 parts
  • 4 layers21 × 51 mmEasy2350, the printed circuit board in 3D

    Easy2350

    sequoia-hope/ultraroute

    PCB autorouting experiments around copperroute: route jobs, leaderboards, board morphing

    58 parts1MIT
  • 4 layers56 × 48 mmProtoBoard, the printed circuit board in 3D

    ProtoBoard

    ciborg971/ProtoBoard

    A small PCB for great (next gen) gloves

    96 parts5MIT
  • 2 layers34 × 96 mmGem solder, the printed circuit board in 3D

    Gem solder

    arlenko/gem-solder

    💎 DIY soldering iron controller

    114 parts12CERN-OHL-S-2.0

Questions

How big is the Super cat game v0 PCB?

It measures 71.5 × 86.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Super cat game v0 use?

29 parts, built around the CD74HC4067SM96, FH2.54-09-22PZD, SN74HC163DRE4 and 3362P-1-203. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Super cat game v0 KiCad files?

From the furballroller/super_cat_game repository on GitHub, at the commit this page was made from: the board is hardware_v0/super_cat_game_v0.kicad_pcb and its schematic hardware_v0/simplified_wiring_diagram.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Super cat game v0 design in my own project?

Its repository states no licence, so its author keeps all rights: ask furballroller before reusing the design.