RC Truck and Construction

RC Truck and Construction (https://www.rctruckandconstruction.com/index.php)
-   Electronics tech (https://www.rctruckandconstruction.com/forumdisplay.php?f=102)
-   -   Control MP3 player via RC (https://www.rctruckandconstruction.com/showthread.php?t=9091)

gismow 06-21-2014 11:18 AM

Control MP3 player via RC
 
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

avel 06-21-2014 05:13 PM

Re: Control MP3 player via RC
 
Very cool!

Stuff 06-21-2014 11:02 PM

Re: Control MP3 player via RC
 
awesome!

gismow 07-03-2014 03:28 PM

Re: Control MP3 player via RC
 
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.

In addition there's a great tutorial 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.


All times are GMT -4. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.