Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
thisoldgeek
Published © CC BY

Pico Portal Music Box

Plays the theme song from Portal...., for those who are "Still Alive". Features a customizable 3D print-in-place hinged box.

BeginnerFull instructions provided3 hours11,095

Things used in this project

Hardware components

Raspberry Pi Pico
Raspberry Pi Pico
×1
Adafruit MAX98357A I2S Class D Amp Mono Breakout
×1
Adafruit Mini Metal Speaker
I had a 39mm diameter speaker on hand. There are different STL files for printing for 39mm or (Adafruit) 28mm speaker. Or, if you know Fusion 360, you can change the parameters for most dimensions.
×1
USB A to Micro USB Cable with On-Off Switch
Assumes you already have a 5V Power Supply with USB A jack. Low-noise is best. Can Also use a 5V USB Battery Bank. Note: Noise will be introduced if powered from a computer USB port. See text for details.
×1
Adafruit Neopixel Stick
This is optional, to create a fade-in/fade-out backlight on the logo. You may be happy with just the box, no logo , no Neopixels - and save a few dollars.
×1
Jumper wires (generic)
Jumper wires (generic)
Or, 22AWG solid core, if you have that.
×1
Adafruit Perma-Proto Half-sized Breadboard PCB
You could also use a breadboard if you have one. The box size USB hole needs to match the height of the breadboard. More details in article.
×1
Resistor 100 ohm
Resistor 100 ohm
Used to lower the gain on the Adafruit amp to 3dB
×1
Resistor 330 ohm
Resistor 330 ohm
Used on DIN of the (optional) Neopixel stick
×1
m2.5 Standoffs - 12mm with nuts
for mounting the Adafruit Perma-Proto Board
×2

Software apps and online services

Adafruit CircuitPython

Hand tools and fabrication machines

Tape, Double Sided
Tape, Double Sided
I used two pieces of double-sided adhesive mounting tape to mount the Neopixel stick
3D Printer (generic)
3D Printer (generic)
Print the box for the player. Optionally, you could use a craft-store wooden project box, cutting holes in it.
Drill / Driver, Cordless
Drill / Driver, Cordless
Optional, instead of a 3D printed case.
Hole drill bit
Optional, instead of a 3D printed case.
Hot glue gun (generic)
Hot glue gun (generic)
For the speaker. Or use CA/SuperGlue.
Acrylic Hobby Paint
Black, for the top of the logo letters.

Story

Read more

Credits

thisoldgeek
11 projects • 26 followers
A specimen of Homo Sapiens, which is an unintentionally ironic name for the species.

Comments