Go Down

Topic: * MP3 Shield * - Rogue Robotics rMP3 (Read 48371 times) previous topic - next topic

laxman

rMP3 Playback Module - An MP3 Shield.It nice MP3 playback

Guitarist

#61
Jul 25, 2010, 08:38 am Last Edit: Jul 25, 2010, 09:20 am by guitarist Reason: 1
I know that this product doesn't quite fit with what I am wanting to do, but you guys seem to be quite knowledgeable with the field.

I am trying to design a sort of ethernet-based intercom-type setup, where there will be a pair of speakers & a mic in each room.  The mic would get converted into a digital signal and streamed to a central pc.  The PC in turn, would stream back audio to the device, which would convert it to analog audio to playback on the speakers.  I envision the arduino setup would be like a "dumb hub"--it receives input, and does the AD/DA conversion (and any codec work), and then it pipes it out the opposite end.

Does anyone have any ideas/suggestions on getting the necessary hardware to set this up?  I've searched around for hifi audio processing shields, and this one was the best one I could find.  Perhaps it can be modified to fit my purposes?

mowcius

I suggest you post that question as its own thread. Most people will not now read this thread unless they have posted in it.
Does it need to be ethernet? Is it only for two rooms? A whole building?

Mowcius

Guitarist

I've reposted here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1280060445/0

and yes, I'm looking at a whole building worth of rooms.  If it were only two rooms, I could just throw 2 sound cards in the computer and not have to worry about developing an expandable setup like this.

novice

Hi bhagman,

what's the difference between this unit and your "µMP3 Playback Module"?.

mowcius

Quote
Hi bhagman,

what's the difference between this unit and your "µMP3 Playback Module"?.

One's an arduino shield and one's not.  ;)

#66
Aug 10, 2010, 10:59 pm Last Edit: Aug 10, 2010, 11:09 pm by bhagman Reason: 1
GOOD NEWS!

I managed to talk all involved to bring the price down on the rMP3!  CAD$59.99 (which is something like USD$58.00 as of 2010/08/10) will get you the rMP3 board without headers, CAD$64.99 gets it with the headers - you need to solder them on.

http://www.roguerobotics.com/products/electronics/rmp3


b

mowcius

For us english folk, that's about £37/£40 (without/with headers)

Sounding good. I have a project in mind for another  :)

Mowcius

thimel

I've just purchased the rMP3 shield and am having trouble getting it to work with my Arduino. A lot of things work, but not everything. I will give a detailed set of symptoms and hope someone can tell me what is wrong or suggest some way to diagnose the problem.

The example program RogueSD_uMMC works perfectly. (The only change I made to it was to tell it I was using serial pins 6 and 7 as I did not cut traces and put in jumpers yet.) It properly shows the files I have on the SD card.

The example program rMP3_Playback_Example partially works. The only change I made to it was to put in the actual name of my mp3 file. The serial monitor first shows a line with some garbage characters. (I don't know what causes them.) It then rapidly shows lines saying "Stopped vol:  20"). If I send a "k" this number increases. If I send an "i" it decreases. So far, so good. Now, the problem. If I hit "f" the activity light goes on for 7 seconds and the output on the serial monitor stops for that same 7 seconds. The mp3 file is 2 minutes long. I believe the activity light should go on for 2 minutes and the serial monitor should update with the position, sample rate etc. Also, the headphones I connect to the output connector produce no sound.

I've checked that if I purposely miss-spell the mp3 filename that when I type "f" nothing happens. This tells me that my file (when not miss_spelled) is being found. If I use a wav file instead of an mp3 file, then the pause is about the length of the mp3 file, put still no playback information or sound. I tried putting a few simple commands in the setup part of the sketch. I flash the arduino LED, tell a file to play and flash the led some more. From this, it is clear that rmp3.playfile(SONG) call is not returning until the song is totally "played." This is not right, but is consistent with what I saw earlier in the serial monitor.

I checked the firmware version number. It is 10001. From what I can tell on the roguerobotics wiki, the uMP3 has many firmware versions, but the rMP3 only has this one.

Any suggestions?

Thanks

mowcius

The rMP3 has had a beta update but it should not affect that functionality.

If you want to try it:
http://www.roguerobotics.com/wikidocs/rmp3/beta/start

Brett will no doubt see this later but I will have a think about it.

Mowcius

thimel

I thought maybe the 5V from the USB might not have enough current to both drive the Arduino and the MP3 card, so I plugged a 9V supply into the Arduino. Miracle! Everything now works properly. To confirm the cause, I disconnected the 9V supply. It still works!

So, I don't know what was really wrong, but it is working now.

mowcius

Quote
So, I don't know what was really wrong, but it is working now.

Yeah USB should have more than enough current for it. Glad it's working now though :D

odiliaboeso

"This sketch randomly plays all the songs in a folder.  You can control the volume, play/pause/stop/next, and ff/rew using serial input (from the IDE)."

Wow, pretty interesting.  Can't wait to have one.

CrossRoads

Will this fit on a Duemilanove Arduino? Or will that take a little fooling around with mechanical spacing & jumpers?

I'm really thinking this on one of the tiny arduinos with mini USB connector and battery would be cool.
Got more ideas for toys than I have time to implement!

I've long been thinking that MP3 player that could take music off any USB device was needed. I still use my Neuros Audio MP3 player daily, kinda clunky looking now but with 80GB harddrive it plays a loooong tie before anything repeats. Just sits on my desk at work & goes & goes, and every once in a while I bring it home, delete everything, and load it with fresh stuff.
When they first came out, I got a little mp3 player that took some kind of small memory card. Not much capacity, maybe total of 256+64MB of music? Really slow to load at USB1 speeds, barely held enough songs to cut the grass (ripped at 256K), when 20GB Neuros came we got 3 of them, then upgraded to 80GB with USB2 speed when those came out.

(Everybody oohs & aahs over the apple stuff - that's nice, but I don't have time to fool with video when I'm at work or driving, and having to pull out reading glasses to see the little screen just sucks!)

Thanks
Robert
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

mowcius

Quote
Will this fit on a Duemilanove Arduino?

Yes. That's what it's designed for  ;)

Quote
I'm really thinking this on one of the tiny arduinos with mini USB connector and battery would be cool.

Well if you don't solder the headers on, it only requires power and 2 serial pins so you can connect it to any arduino without it just being a shield.

Mowcius

Go Up