Pages: [1]   Go Down
Author Topic: Play mp3 tracks with Arduino  (Read 640 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an Arduino controlled motion activated camera that I use to photograph big furry critters. I'd like to lure some coyotes, bobcats, etc. to the camera with mp3 tracks of prey distress calls (e.g., a rabbit screeching).

I could use some advice on hardware options for playing mp3's with an Arduino. Ideally, the mp3 player would hold a few different files, and the Arduino could tell it which files to play. Also I'd like to be able to hook the player up to external speakers and make a decent amount of noise.

I have an ipod Nano that I could use, but I'm not sure how tricky it would be to both power it and control it through the single power/remote control port it has.

Thanks a lot for any help.
Logged

Newcastle, England
Offline Offline
Sr. Member
****
Karma: 2
Posts: 489
Always learning!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Buy an MP3 shield, and you should manage to get it to work:

http://www.skpang.co.uk/catalog/midi-shield-p-669.html
http://www.skpang.co.uk/catalog/mp3-shield-p-738.html
http://www.skpang.co.uk/catalog/mp3-player-shield-with-sd-card-holder-p-904.html

Onions.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the links. I think I'll go ahead and get one of the shields and fiddle with it.  I just saw this link on how to control an ipad with arduino:
http://davidfindlay.org/weblog/files/2009_09_07_ipod_remote.php

Not sure which route is easier. Also not sure which would be easier to amplify and play off speakers.

Thanks
Logged

Central MN, USA
Online Online
Tesla Member
***
Karma: 65
Posts: 6915
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No Don't leave your ipad with the critters, use a dispensable cheap mp3 shield instead. smiley-wink
Logged


Netherlands
Offline Offline
God Member
*****
Karma: 5
Posts: 615
A naughty mind is a joy forever.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It may even be possible to buy a very cheap MP3-player and hack/control its switches with an arduino.
Having a good solder iron with small tip will be important though.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the help. I gotta admit, after reading the comments for the mp3 shields and the amplifiers over on Sparkfun, it makes this look like a pain for someone at my electronics skill level. Since I don't have much time to work things out, so I may just run an ipod and speakers off a big SLA battery, then figure the mp3 shield out when I have more time.
Logged

Pages: [1]   Go Up
Jump to: