For Boston - Basketball

by kangkr in Circuits > Assistive Tech

269 Views, 0 Favorites, 0 Comments

For Boston - Basketball

Screenshot 2023-05-02 at 2.53.48 PM.png

For all the sports fans out there, this is the build for you. This build uses laser cutting, 3D printings and the raspberry pi pico to create a fun way to cheer on your team.

Supplies

Screenshot 2023-05-02 at 2.55.38 PM.png
Screenshot 2023-05-02 at 2.55.49 PM.png
Screenshot 2023-05-02 at 2.55.57 PM.png
Screenshot 2023-05-02 at 2.56.55 PM.png
Screenshot 2023-05-02 at 3.02.11 PM.png
  • Laser cutting with1/8 in clear acrylic
  • 3D printing
  • Raspberry Pi Pico W
  • Micro servo - TowerPro 2G92R
  • Adafruit Neopixel LED Strip: 30 LEDS/meter
  • Adafruit Micro SD SPI or SDIO Card Breakout Board
  • Micro SD Card
  • Adaptive switch that connects to a mono jack
  • Mono jack female to bare wire cables
  • Breadboard
  • Speaker
  • Alligator Clips
  • Male to Male Pins
  • Soldering Kit
  • Hot Glue Gun
  • Paint

Download Code for Raspberry Pi Pico W

This includes the code for the Raspberry Pi Pico and the mp3 music files stored on the micro sd card.

  • If you would like to change the song:
  1. Find a song on youtube that you would like to use and convert it to an mp3 file. (I used the website https://ytmp3.nu/Dlbu-youtube-to-mp3)
  2. I used the software audacity to turn down volume and make adjustments to the sound and exported it as a wav file.
  3. Load your micro sd card onto your computer and create a folder on it to hold your wav file. My folder is called assistive and my wav file is called "forboston.wav"
  4. Eject your micro sd card and plug it into your Adafruit Micro SD.
  5. You can then call it in your code as what you named it.

3D Print

Screenshot 2023-05-02 at 2.58.08 PM.png
Screenshot 2023-05-02 at 2.52.29 PM.png

Download the files below for the 3D printer.

Downloads

Laser Cut Box

Screenshot 2023-05-02 at 2.59.53 PM.png
  1. Using https://www.festi.info/boxes.py/Console2?language=en create a "Console2" svg file with the dimensions of your choice that allow for all the supplies to fit inside. This build uses dimensions 200 mm x 150 mm x 125 mm.
  2. Upload svg file to Adobe Illustrator.
  3. For the panel, you can add whatever team that you are supporting. You can find a vector file online and place it onto the panel piece. This build uses the Boston College logo.
  4. For the top piece, there is an additional rectangle that will allow the servo to stick out of the box.
  5. The back wall also has an additional rectangle that allows the button wire and any other wires out of the box.
  6. Print the box and begin painting it. Paint the inside walls of the box in any design that you choose and with your team's colors. Do not paint the front piece. This will allow the LED lights to shine through better. This build uses maroon and gold paint because they are the Boston College colors.
  7. Assemble the box.

Raspberry Pi Pico W Setup

Screenshot 2023-05-02 at 3.00.25 PM.png
Screenshot 2023-05-02 at 3.00.41 PM.png
  1. SD Card Reader: Ground, power (3.3V), CS, SO, SI, SCK
  2. Speaker: Ground and signal pin (GP16)
  3. LED Strip: Ground, power (VBUS), signal pin (GP3)
  4. Servo motor: Ground, power (3.3V), signal pin(GP14)
  5. Button: Ground, power (3.3V)

Assemble

For Boston
  1. Raspberry Pi Pico W serup and connections inside box.
  2. Tape down the LED light strip to the perimeter of the box.
  3. Hot glue/tape the servo motor to the underside of the top piece so that the moving part sticks out the top.
  4. Glue/tape down the basketball hoop ontop the top piece and the basketball to the servo motor.
  5. Close the box and run the code!