Not to be confused with the 1500 Megawatt Aperture Science Heavy Duty Super-Colliding Super Button.
This version is going to be deprecated by the end of July, but it will also come with the full tutorial for added features and simpler design.
Here's the video explanation:
The code is attached, but you'll need to install Circuitpython on the Pico and get the latest Adafruit libraries.
Parts needed:
Raspberry Pi Pico
Adafruit MAX98357 I2S Amplifier
3W 4Ohm Speaker (PUI AS04004PO-2-WR-R)
APA102 Strip (Affiliate link)
(12x) M4x6 screw
(2x) M2x6 screw
Electrical connections:
Adafruit MAX98357 I2S Class-D Mono Amp
I2S BCLK to GPIO_0
I2S LRC to GPIO_1
I2S DIN to GPIO_2
VIN to VBUS
GND to GND
Switch to GND and GPIO 14
Dotstar CLK to GPIO16
Dotstar DIN to GPIO17
Dotstar GND to GND
Dotstar VIN to VBUS
The only thing I can't share are the game assets which include the sound effects. It's not too hard to find. You must prepare the audio as described in this guide. As long as the MP3s are named button_on.mp3 and button_off.mp3 you can get away without modifying the code.
Design note: I'm actually not satisfied with the model, there are too many screws and the bezel attachment elements are poorly designed (re: fragile) even though they shouldn't need to be removed once installed. I'm considering making a 200mm square version that fuses the base together and making the bezel shell pieces easier to print. The details are very fine on the bezel, so while you can make this with an FDM printer, only a resin print will capture the tiniest elements.
The author hasn't provided the model origin yet.