Me&Mi Jukebox

by schoutme in Circuits > Electronics

18 Views, 0 Favorites, 0 Comments

Me&Mi Jukebox

unnamed.jpg

This Jukebox uses CircuitPython and PixelBlazes in order to have a show of lights and six songs to choose from.

Downloads

Supplies

TECHNOLOGY:

  1. CircuitPython Bluefruit
  2. NeoPixel LED strips
  3. Raspberry Pi Pico
  4. Breadboard
  5. Buttons
  6. CircuitPython
  7. 16x16 PixelBlazes
  8. 32x8 PixelBlazes
  9. Audio DAC
  10. PixelBlaze Sensor Expansion Board
  11. 5V power supplies
  12. Male-Male wires for wiring Pico, DAC, and buttons
  13. JBL Charge 3
  14. SD card
  15. Adafruit PiCowbell

MATERIALS:

  1. Wood
  2. Vinyl
  3. Nails
  4. Wood glue
  5. Paint
  6. Frosted, colored Acrylic
  7. Clear acrylic
  8. Cardboard
  9. Paper
  10. 3D printed parts

Build the Structure

IMG_3046.JPG
IMG_1078 Small.png
IMG_1075 Small.png
IMG_1081 Small.png
IMG_1077 Small.png
IMG_1080 Small.png
IMG_1076 Small.png
IMG_1079 Small.png

Build the structure using the materials above. Machines used for materials below:

Wood machines (band saw, table saw, sander): Structure

Laser Cutter: some wood piece, acrylic pieces

3D printer: Buttons


Pixel blazes were taped together and attached.


Wire Pico to DAC and set up wires for buttons

Code the Pico

Code the pico to play sounds. Attach a speaker using an aux cord and the Audio DAC.

SD Card and PiCowbell

Screenshot 2025-12-10 at 3.34.06 PM.png

Use Audacity to change the audio file to a wav file.

  1. Convert file in Apple Music to an wav file if not downloaded as one
  2. Load audio file into Audacity
  3. Click Export Audio
  4. Ensure these settings
  5. Format: WAV (Microsoft)
  6. Channels: Mono
  7. Sample Rate: 11025 Hz
  8. Encoding: Signed 16-bit PCM
  9. Repeat for each song and upload to SD card
  10. Place SD Card in PiCowbell attached to the Raspberry Pi Pico


Code the CPB

Code for the CPB to display flashing light pattern. The pattern moves through the rainbow and is lowest brightness when switching between colors and highest brightness in middle of each color cycle.

Connect to Pixel Blaze to Create Pattern List for 16x16

This is the playlist of patterns for the 4 16x16 PixelBlazes. The mapper was not used. The patterns bypass the mapper. These patterns were premade patterns that we downloaded and placed into playlist.

Attached are the GitHub of some of the downloaded patterns. Other patterns were found on the start page of the Pixelblaze. Create your favorite playlist of patterns!

https://github.com/megschout/pixelblaze_patterns_jukebox

Connect to Pixel Blaze to Code 32x8

The code for the 32x8 shows a pattern that is sound reactive to the songs playing. This code for the 2 32x8 mapper and the pattern was provided by Professor John Gallaugher.

https://github.com/gallaugher/pixel-blaze-mappers/blob/main/two-32x8-matrix-panels-one-above-the-other

https://github.com/gallaugher/pixelblaze-patterns/blob/main/Sound%20-%20Spectrum%20Analyser.epe

Final Demo

Here is the final demo of our project.