Introduction: Boston College LED Ski Racing Game!

This fun game is built to be assistive switch accessible to provide fun for all! Each click of a switch will light another LED, and the first to reach 6 lights wins!

Supplies

Electronics:

  • 1 Raspberry Pi Pico
  • 1 Micro USB Cable
  • 20 light LED strip
  • 3 Female 3.5mm aux adapters
  • 2 Micro Light Switches (or another accessible switch)
  • Speaker with 3.5 mm aux port
  • Adafruit Micro SD SPI Breakout Board
  • Micro SD Card

Case Materials:

  • Clear Acrylic
  • Cardboard
  • Glue (super or hot glue works)

Tools:

  • Hot Glue Gun
  • Laser Cutter
  • Printer

Step 1: The Electronics

The wiring on this project is pretty basic! We decided to solder all of the connections to make them more permanent, however, it is also possible to just use a breadboard! (NOTE: If you decide to use a breadboard, you will have to increase the height of the case in order to accommodate the increased height of the electronics.

Now let's get everything connected!

Button 1:

  • 1 leg to GP0
  • 1 leg to any GND (no polarity here!)

Button 2:

  • 1 leg to GP1
  • 1 leg to GND (no polarity here!)

LED Strip:

  • Power (red) to VBUS
  • Ground (black) to GND
  • Signal (often white or yellow) to GP22

Speaker:

  • Input to GP16
  • Ground to GND

SD Card Reader:

  • 3.3 to 3V3(OUT)
  • GND to GND
  • D1 to GP13
  • SO to GP12
  • SI to GP11
  • CLK to GP10

Step 2: The Code

This set of instructions assumes you already have your Pico or Pico W mounted with CircuitPython and the necessary files to use an SD Card with that board. If you still need to do these steps, first visit this great Adafruit guide to getting CircuitPython going on your Pico. Next, watch this video from Professor John Gallaugher explaining how to expand your Pico's memory to use more sounds!

After those steps are done, install the file below onto your board as code.py and test the code to make sure there are no errors and your parts are wired up correctly!

Attachments

Step 3: The Case

For the case, we used boxes.py to generate the box for the enclosure, then finished it in Adobe Illustrator. We added 3 holes for both of the switch inputs and for the speaker jack (all are 3.5mm female aux ports) lastly, we included a cut-out for a micro USB cable to attach to the board. The SVG file is attached below!

We cut all of the sides and the bottom out of 1/8 in plywood. The top was cut out of 3mm clear acrylic. After importing the SVG to Trotec Ruby (the software for our Trotec Speedy 360) we laser-cut the enclosure and hot-glued all but the top acrylic together. We then placed the Aux ports inside their holes and hot-glued both them and the electronics into the bottom of the case.

Now let's assemble the lights!

We printed out our very exciting top cover depicting Boston College Skiing getting after it against Dartmouth Skiing! This was simply done in Keynote and can be changed to your favorite teams!

Once you have this printed to the correct size (6.5in by 8.3in) - you will need to glue it to a piece of cardboard and then cut the cardboard to the same size. Next, cut six 12mm holes (or however large is needed for your specific led string) on each side.

Lastly, glue your LED's into the correct holes (hot glue works well here), then glue the piece of acrylic to the front of the cover, ensuring to leave enough space for the fingers to mesh with their counterparts on the rest of the case!