Skip to the content
4 layers130 × 131.3 mmShuffleboard, the printed circuit board in 3D

Intro to Embedded Systems Final Project

Size
130 × 131.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
72
Nets
75
Pads
241
Tracks, vias
387, 75
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 Sep 2026
Updated
28 Sep 2026

Overview

Shuffleboard is an open-source printed circuit board by anhvuknguyen, from the anhvuknguyen/Shuffleboard repository on GitHub. It is a 4-layer board of 130 × 131.3 mm with 72 parts on 75 nets, routed with 387 tracks and 75 vias.

It is built around the 74HC595N. Its parts include 31 resistors, 12 capacitors, 10 ICs, 2 diodes and 2 connectors.

Main components

1

README

README.md

Shuffleboard

A two-player shuffleboard game for the TI MSPM0 LaunchPad, with a hand-written 2D physics engine, real-time audio playback, and a custom PCB for the input hardware.

Built as the final project for EE 319K (Introduction to Embedded Systems) at UT Austin.

▶ Demo video

Gameplay


How it plays

Each player gets three pucks. You set your launch position with a slide potentiometer, aim with a joystick, and fire with a button. An on-screen arrow shows your aim in real time — its direction and length track the joystick, so the length doubles as a power indicator.

Once a puck is launched it slides, decelerates under friction, and collides with any pucks already on the board. When everything comes to rest, each puck is scored by the region its center is sitting on.


Architecture

The system runs two interrupts at different rates, doing very different work.

30 Hz timer ISR (TIMG12) — simulation and rendering

Drives the game at 30 FPS. Each tick:

  • Samples the joystick and slide pot from the external ADC over I²C
  • Updates the aiming arrow's length and direction
  • Integrates puck positions, applies friction, and resolves collisions
  • Redraws the board

7 kHz SysTick ISR — audio

Streams PCM samples to the MSPM0's internal DAC one sample per tick. Sound effects were converted from WAV files into C arrays at build time, so playback is just walking an array and writing the DAC at a fixed rate.

Why the two don't fight

The audio ISR fires roughly 233 times per physics frame, so anything slow inside the 30 Hz ISR risks starving it. The I²C reads are the slow part — a config write plus a conversion read on the ADS1115 is on the order of a millisecond.

That never becomes a problem, because the game's state machine keeps the two workloads disjoint:

StateI²C samplingAudio
AimingYesIdle
Puck motion / collisionNoPlaying
Victory screenNoPlaying

You can't aim while pucks are moving, and you can't shoot until every puck has come to rest. So the expensive input path and the expensive audio path are never live in the same frame.


Physics

Pucks are modeled as circles with position, velocity, and a friction coefficient applied per frame. Collisions are detected by center-distance against the sum of the radii, and resolved elastically along the line connecting the two centers.

Scoring samples the board region underneath each puck's center once its velocity reaches zero, and adds the point value for that region's color.


Hardware

Input devices live on a custom PCB designed in KiCad:

  • ADS1115 16-bit external ADC, read over I²C — two single-ended channels for the joystick axis and the slide potentiometer
  • RC low-pass filters on the fire and reset buttons for hardware debouncing, rather than handling bounce in software
  • Bulk decoupling capacitors at the supply rails, to keep the rail from dipping below the MCU's minimum when the circuit draws current in bursts

Building

Open the project in Code Composer Studio, select the MSPM0 LaunchPad target, and flash.

text
software/   game logic, physics, ISRs, PCM sample arrays generated from WAV files
hardware/   KiCad schematic and board files

Parts

72
QtyValueFootprintReferences
17~Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR13, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29 +1
12~Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R8, R9, R11, R12, R45
9~Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2, C3, C4, C5, C6, C7, C8, C10
6~MountingHole:MountingHole_2.2mm_M2_DIN965_PadH1, H2, H3, H4, H5, H6
2100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC11, C12
2TBJ05-08-1-G-GShuffleboardFootprints:TBJ05081GGJ1, J2
2~ShuffleboardFootprints:SW_TL3301FF160QGS1, S2
2~ShuffleboardFootprints:LED_INND-TS56RCBU4, U5
2~ShuffleboardFootprints:SOIC127P600X175-16NU6, U8
2~Resistor_SMD:R_2010_5025Metric_Pad1.40x2.65mm_HandSolderR10, R14
2~LED_THT:LED_D5.0mmD1, D32
2~TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP1, TP2
2~ShuffleboardFootprints:SOT65P210X110-6NIC1, IC2
1LOGOFootprint:longhornsG***
1~ShuffleboardFootprints:lmv331U3
1~ShuffleboardFootprints:SOT95P260X110-3NQ1
1~ShuffleboardFootprints:Potentiometer_Bourns_PTA6043_Single_SlideRV1
1~ShuffleboardFootprints:SOIC127P600X170-8NU2
1~ShuffleboardFootprints:XDCR_COM-09032U1
1~Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9
1~ShuffleboardFootprints:SPKR_CMS-3012-18TLS1
1~Fuse:Fuse_0603_1608Metric_Pad1.05x0.95mm_HandSolderF1
1~Footprint:adafruit_st7735rU7

Similar boards

  • 2 layers120 × 80 mmClock i2c l0, the printed circuit board in 3D

    Clock i2c l0

    ekibanu4/STM_32_Clock

    test project for binary clock based in stm32 f4070disk

    77 parts
  • 2 layers160 × 125 mmReflex machine, the printed circuit board in 3D

    Reflex machine

    Mhamednoui/PCB_Designer

    AI-assisted KiCad PCB design pipeline: netlist -> schematic -> routed board -> fab files, with a 3D/simulation webview

    125 parts
  • 2 layers218 × 218 mmChessBoard, the printed circuit board in 3D

    ChessBoard

    Odissus/ChessBoard

    Interactive chess board design based on Arduino and ESP32

    143 parts
  • 4 layers130 × 131.3 mmShuffleboard, the printed circuit board in 3D

    Shuffleboard

    rbala25/shuffleboard

    Multiplayer Shuffleboard — Embedded Firmware (C), PCB Design, Mixed-Signal I/O, and Display + Audio Integration

    72 parts
  • 2 layers78.4 × 64.8 mmPowerNode2, the printed circuit board in 3D

    PowerNode2

    utahrobotics/Electrical-2019-2020

    67 partsMIT
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers108 × 88 mmControl board, the printed circuit board in 3D

    Control board

    m0xpd/STRACHEY

    A Random Looping Sequencer for Eurorack

    99 parts25CC-BY-SA-4.0
  • 2 layers87 × 96 mmBraids through hole V1.1 CONTROL, the printed circuit board in 3D

    Braids through hole V1.1 CONTROL

    sebastianbeyer/KOSMO_braids

    This is a KOSMO (Look Mum No Computer) version of the Mutable instruments braids, based on the through-hole version done by sound-force.nl.

    56 parts15

Questions

How big is the Shuffleboard PCB?

It measures 130 × 131.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Shuffleboard use?

72 parts, built around the 74HC595N. 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 Shuffleboard KiCad files?

From the anhvuknguyen/Shuffleboard repository on GitHub, at the commit this page was made from: the board is Hardware/Shuffleboard/Shuffleboard.kicad_pcb and its schematic Hardware/Shuffleboard/8fig.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Shuffleboard design in my own project?

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