Adding MP3 to Your Project for $3.00
Intro: Adding MP3 to Your Project for $3.00
As a Propeller microcontroller user, it's not a big deal to play WAV files with my MCU, but MP3 playback is something too complex for the Propeller, the Ardunio or PICAXE microcontrollers. Shopping for an add-on card is almost downright depressing, with simple breakout boards starting at $20.00 -- $199.00.
Fortunately, Hong Kong has mastered ultra cheap MP3, and with a little hacking you can add it to your project for around $3.00.
I'll demonstrate the hack using a Propeller, but the best part is that ANY micro-controller can use the device once you've got the project finished.
Required Parts:
A generic MiniClip MP3 player (Source Ebay prices range from $0.26 -- $3.00)
Your favorite microcontroller. (I'll be using Propeller Platform, but any will do fine.)
A hot glue gun
A steady hand, and basic soldering tools.
Fortunately, Hong Kong has mastered ultra cheap MP3, and with a little hacking you can add it to your project for around $3.00.
I'll demonstrate the hack using a Propeller, but the best part is that ANY micro-controller can use the device once you've got the project finished.
Required Parts:
A generic MiniClip MP3 player (Source Ebay prices range from $0.26 -- $3.00)
Your favorite microcontroller. (I'll be using Propeller Platform, but any will do fine.)
A hot glue gun
A steady hand, and basic soldering tools.
STEP 1: Teardown
Grab a tiny philips screwdriver and pull the two screws from the top of the Miniclip player.
The whole thing should slid out with a little prying.
Notice the little battery, as well as red/black wires. The Miniclip runs great a both 3.3v and 5v.
Step 1 > Carefully, desolder and set the battery aside, we'll use part of it later.
The whole thing should slid out with a little prying.
Notice the little battery, as well as red/black wires. The Miniclip runs great a both 3.3v and 5v.
Step 1 > Carefully, desolder and set the battery aside, we'll use part of it later.
STEP 2: Replace the Power Wires
Step 2 > Replace the battery connections with two stronger power wires.
Recommended > Add some hot glue to strengthen the connections once you've soldered them in place.
I used a couple breadboard wires.
Recommended > Add some hot glue to strengthen the connections once you've soldered them in place.
I used a couple breadboard wires.
STEP 3: Adding the Control Wires
You'll need a steady hand for the next step...
Step 3 > Solder wires to the center of the forward & pause/playback controls. I recycled the wire from the battery.
Be very careful to only make connections with the "center" of the connection pads!
Also, don't heat the pads too much! I lost the center button on mine. (Note the image)
Recommended: Once you have the connections soldered in place, use some hot glue to strengthen the connections.
Special note: A keen observer will notice that the connections I've listed do not correspond to the actual buttons. I've discovered that the method I'm using works fine. See the second image for a map of the controls as we'll use them.
Step 3 > Solder wires to the center of the forward & pause/playback controls. I recycled the wire from the battery.
Be very careful to only make connections with the "center" of the connection pads!
Also, don't heat the pads too much! I lost the center button on mine. (Note the image)
Recommended: Once you have the connections soldered in place, use some hot glue to strengthen the connections.
Special note: A keen observer will notice that the connections I've listed do not correspond to the actual buttons. I've discovered that the method I'm using works fine. See the second image for a map of the controls as we'll use them.
STEP 4: Controlling the MP3 Player
Controlling the MiniClip player is a snap!
Hook the Power/Ground wires to either 3.3v or 5v DC. I grabbed power from my microcontroller board.
I hooked the play line to P1, and the forward line to P2 of the Propeller.
Why it works:
When the program launches, I set both of these lines "high".
When I need to toggle the button I pull the output "low" for a moment, then return it to a "high" state when I'm finished.
Hook the Power/Ground wires to either 3.3v or 5v DC. I grabbed power from my microcontroller board.
I hooked the play line to P1, and the forward line to P2 of the Propeller.
Why it works:
When the program launches, I set both of these lines "high".
When I need to toggle the button I pull the output "low" for a moment, then return it to a "high" state when I'm finished.
6 Comments
RusbelO 8 years ago
I want to made this ,but I don't understand it , How the connections are made ? is just the signal output going to the center of the pad? are there any other connections(beside power)
ruebarb 10 years ago
TransientJay 10 years ago
I want to be able to make the mp3 player totally wireless (through xbee). However, if I use the power of the MP3 player battery (rather than attaching it to an Arduino power) it doesn't work.
My electronics knowledge is still pretty basic...I'm guessing it could be either that a common ground connection is needed or that there's slight voltage difference between the MP3 player and Arduino.
Any ideas on how to fix this..?
Cecilias 12 years ago
mettaurlover 11 years ago
mykrotek 11 years ago