PDA

View Full Version : Control MP3 player via RC


gismow
06-21-2014, 11:18 AM
Hi...

While my Black Devil is nearly finalized, I want him to play also some music while it's driving. So I started to search for a solution to control a simple MP3 player via RC.

First I started to search for a small and cheap MP3 player.

http://www.bilder-hochladen.net/files/knqp-ck-a8ab.jpg

Is was disassambled and 2 cables soldered per function.

http://www.bilder-hochladen.net/files/knqp-cl-15d4.jpg

http://www.bilder-hochladen.net/files/knqp-cm-c203.jpg

After that I soldered a small board with an ATMega328 processor. It controls the functions via a NPN transistor.

The programm listens on 2 channels.
Channel 1 : Volume + / -
Channel 2 : Play/Pause, Next and Prev song

http://www.bilder-hochladen.net/files/knqp-co-550a.jpg

http://www.bilder-hochladen.net/files/knqp-cp-67f7.jpg

And it's working as expected. Here's a short video to show the functionality. I beg your pardon that it's in german, but I hope it shows that functionality without the need of my bla bla...

Video showing the control of an MP3 player via RC (https://www.youtube.com/watch?feature=player_embedded&v=-yQ3QQo1w8E)

avel
06-21-2014, 05:13 PM
Very cool!

Stuff
06-21-2014, 11:02 PM
awesome!

gismow
07-03-2014, 03:28 PM
Hi...

Some news, the construction wasn't very effective, the contacts often didn't close when I played with the function channels. In addition, the cabeling sometimes broke and I had zu renew the soldered contacts.

So I decided to search for an alternative solution and I found a shield from Adafruit, the VS1053 MP3-Codec shield. It was exactly what I was searching for.

http://www.bilder-hochladen.net/files/knqp-d4-7fe1.jpg

Here's a link to the product Adafruit VS1053 (https://www.adafruit.com/products/1381).

In addition there's a great tutorial (https://learn.adafruit.com/adafruit-vs1053-mp3-aac-ogg-midi-wav-play-and-record-codec-tutorial?view=all) for the shield.

The board has changed a bit.

http://www.bilder-hochladen.net/files/knqp-d5-98b2.jpg

The control is the same, but the "Previous" function is removed, it wasn't needed.

Now that it's working I'll place it into the Black Devil.