Created: 2023-09-23 Updated: 2023-10-05
I did, in fact, add an SD card. Due to the orientation of the circuit board, it is not accessible from the outside. I also needed to move the power switch. The sounds are now grouped into 12 pages selected along the top row:
A sound effect board using the Adafruit PropMaker 2040 and Neo Trellis boards. Each lit button is a different sound, which is played on the built-in speaker. The bottom right button switches between pages of sound effects. Currently the first page is sound effects from Ed Edd and Eddy and classic Hanna Barbara cartoons. The second and third pages are quotes from movies, including multiple Arnold Schwarzenegger one-liners, Monty Python and the Holy Grail, Ghostbusters, Spongebob, and others. The colors and positions of the sounds are chosen to serve as mnemonics.
The case is 3d-printed in three pieces: the bottom, a top plate for the buttons, and the back lid. There are heat-set inserts in the bottom, which the top pieces screw into. The middle screws go through the back lid and the button plate. The rocker switch is held between the bottom and the back lid. The speaker screws into the back lid.
Three Trellis boards are soldered together, then plugged into the PropMaker board with the Stemma/Qwiic connector. A speaker connects to the screw terminals. I soldered a surplus rocker switch into a JST extension cable, which connects the battery to the board. The rubber of the original salvaged speaker fell apart, so I switched to the enclosed mono speaker from Adafruit. I experimented with different controls for switching pages of sound effects, including a rotary encoder, before settling on a hot key on the button matrix.
The PropMaker board is programmed in Circuit Python. The sound effect files are stored as 16-bit 22050Hz wav files on the built-in flash storage. There are currently 86 different sounds in less than 7MB of space. A possible future expansion is an SD card for more sound effect storage.
© 2024 Kyle Delaney | Site Map