Build a Programmable Bluetooth Speaker Made From a 5$ Second Hand Passive Speaker

by RoscoP13 in Circuits > Arduino

4974 Views, 22 Favorites, 0 Comments

Build a Programmable Bluetooth Speaker Made From a 5$ Second Hand Passive Speaker

FK1NTUYKV6O80IC.jpeg
draft2 Diy speaker

This is a how-to guide to build a programmable Bluetooth speaker made from a 5 dollars second hand passive speaker found in a yard sale.

The Benefits

pasted image 0.png

-100% hackable as the MUSE PROTO uses an ESP32 and all the code is open sources you can what you want out of it (web radio, walkie talkie)

-It’s cheap as second-hand passive speakers are almost given -It sounds good and has a retro style to it!

-It is what we call up-cycling, it’s even better than recycling as we make something better than the original product.

Quick and Dirty (no Soldering) Level

pasted image 0-1.png

There are different possible levels for this project so you can start easily then add make it more refined later.

Just add the MUSE PROTO to the usb port, upload the bin file and play a bluetooth stream from your phone. No need to plug an external speaker as there is already a built-in speaker onboard. Upload the bin file (see the section uploading code)

Intermediate Level

pasted image 0-2.png

Add an old passive speaker, and a rechargeable battery. The sound quality is a zillion times better than the on-board speaker.

Use the green screw connector to plug to your speaker.Connect a JST battery connector (check the polarity on the board first look for the ‘+’)Upload the bin file (see the section below)

Expert Level

pasted image 0-3.png

You want a nice durable casing, then you will need to print the casing.

You can use a SIMPLE setup with just The Raspiaudio PROTO board and a passive speaker.
But if you want to do something that looks more better First print the 3D casing STL file are free to download in the description

Expert Level - What You Need

pasted image 0-4.png

Expert Level - Print the Case

pasted image 0-5.png

Required tools : A soldering iron and tin.

To print the case : Here is the stl files : https://github.com/RASPIAUDIO/museProto_speaker/r... I have used Cura as a slicer and printed with supports, pieces were placed like the picture.

Expert Level - Adding Buttons

pasted image 0-6.png

This step is optional but doing this will give you the common on off button as well as up and down volume capabilities. You can also play the songs from a micro SD card and use a long press of VM and VP to change songs.

Buttons should be connected like this:

  • VM (gpio 32 / pin 8)short press => volume -long press => backward (SD mode)
  • VP (gpio 19 / pin 31)short press => volume +long press => forward (Sd mode)
  • MU (gpio 12 / pin 14)short press => mute/unmutevery long press => stop (deep sleep) / restart

Expert Level - Connect the Battery & Download the Pre-compiled Firmware

pasted image 0-7.png
pasted image 0-8.png
pasted image 0-9.png
pasted image 0-17.png

Connect the battery : be careful of the polarity and of course avoid short-circuiting these wires put everything in the box and screw everything together.

Now it’s time to download the pre-compiled firmware : https://github.com/RASPIAUDIO/museProto_speaker/r... It must be loaded using the ESP32 flash downloading tool https://github.com/RASPIAUDIO/museProto_speaker/r... Unzip it and execute Choose Developer Mode / ESP32.

Then select the path of the previously downloaded .bin file and set the loading address to “0x0”.

Finally connect the RASPIAUDIO MUSE PROTO via USB at the bottom select the right com port used by the connected board.

This com port number could change so if you are not sure of the com port go in windows 10 go to Device Manager and in the port section look for the number used by Silicon Lab…

Expert Level - Finish the Installation

pasted image 0-10.png
pasted image 0-11.png
pasted image 0-12.png
  • Check that the switch is ON position.
  • Click on START, it should now take 3mn to load.
  • Now you can try it on any speaker and connect your phone or computer in bluetooth your board name will be MUSE_SPEAKER-xxxxx.

To try it you can connect a temporary passive speaker or just connect nothing and by default it will use the on-board speaker.

Expert Level - Buy a Second Hand Speaker

pasted image 0-13.png
pasted image 0-14.png
pasted image 0-15.png

If everything is working it’s time to visit a secondhand shop or yard sale to find a speaker.

The beauty of this procedure is that you can try the speaker in the shop before deciding to buy anything. Just prepare in advance 2 wires from 2 the green terminal to the speaker.

Finally i just added a nice handle and used some strong double-sided tape for the box.

Expert Level - Now It’s Time to Go and Impress Your Friends and Party!

pasted image 0-16.png

We encourage you to modify the Open Source code and write your own application, to edit the arduinocode please refer to that tutorial : https://forum.raspiaudio.com/t/muse-proto-simple-b...