Loading...
Welcome,
Guest
. Please
login
or
register
.
May 22, 2013, 02:57:17 pm
|
Arduino Forum
::
Using Arduino
::
Audio
:: Play mp3
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: Play mp3 (Read 892 times)
0 Members and 1 Guest are viewing this topic.
2ndattempt
Offline
Newbie
Karma: 0
Posts: 6
Play mp3
«
on:
November 12, 2012, 07:35:55 am »
Bigger
Smaller
Reset
Hi, im making a class project and i need some help about playing mp3 files with arduino.
I would like play only one music track, use one sensor and one dc motor, everything on an Arduino UNO shield. I was taking a look on music shield (Seeed/Sparkfun), but im not sure if it use all of the PWM pins for his own work.
I saw this too:
http://hackerspace-ffm.de/wiki/index.php?title=SimpleSDAudio
Its possible work with this example using Mac?
what you recomend me?
Thank you very much
Logged
2ndattempt
Offline
Newbie
Karma: 0
Posts: 6
Re: Play mp3
«
Reply #1 on:
November 12, 2012, 08:52:45 am »
Bigger
Smaller
Reset
http://hackerspace-ffm.de/wiki/index.php?title=Datei:SSDA_Arduino_Ethernet.jpg
can you say to me what hardware is used here?
Logged
majenko
UK
Offline
Edison Member
Karma: 44
Posts: 2212
What a host of balls she had seen: gaity, the brass buttons...
Re: Play mp3
«
Reply #2 on:
November 12, 2012, 09:35:24 am »
Bigger
Smaller
Reset
That project uses PWM to emulate an audio waveform. That PWM signal is passed through a low-pass filter to remove the high frequency switching signal and leave an approximation of an audio waveform behind.
It'll be "average" at best. Also, it uses about 80% of the Arduino's available RAM just to run the audio, and integrating it with other things will be tricky as it needs to run its worker function all the time.
Logged
Why not visit my eBay shop?
http://stores.ebay.co.uk/Majenko-Technologies
2ndattempt
Offline
Newbie
Karma: 0
Posts: 6
Re: Play mp3
«
Reply #3 on:
November 12, 2012, 01:48:08 pm »
Bigger
Smaller
Reset
Thanks Majenko. Do you think that i will have the same power problem using one shield like this:
https://www.sparkfun.com/products/10628?
Logged
majenko
UK
Offline
Edison Member
Karma: 44
Posts: 2212
What a host of balls she had seen: gaity, the brass buttons...
Re: Play mp3
«
Reply #4 on:
November 12, 2012, 03:23:06 pm »
Bigger
Smaller
Reset
That shield is a kind of half-way house.
It still uses the Arduino to read the mp3 data from the SD card and send it to the mp3 decoder chip, but because mp3 data is so heavily compressed there is much less data involved, and so the Arduino is more available for doing other things. Audio quality will be considerably better than a low-pass filtered PWM signal generated by the Arduino, but not as high quality as an uncompressed format player (purely because mp3 is a lossy codec, so you lose audio definition with it).
Logged
Why not visit my eBay shop?
http://stores.ebay.co.uk/Majenko-Technologies
2ndattempt
Offline
Newbie
Karma: 0
Posts: 6
Re: Play mp3
«
Reply #5 on:
November 12, 2012, 06:07:32 pm »
Bigger
Smaller
Reset
Thank you again Majenko!
But im wondering one new question... Okey, this shield gives more range to Arduino for works on other things while the first is playing the audio, but how this schema shows:
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Dev/Arduino/Shields/MP3%20Shield-v13.pdf
This music shield use all the grounds and the 5V pin too. It would be possible feed a motor and this shield at same time?
Thank you very much!!
«
Last Edit: November 12, 2012, 06:14:27 pm by 2ndattempt
»
Logged
majenko
UK
Offline
Edison Member
Karma: 44
Posts: 2212
What a host of balls she had seen: gaity, the brass buttons...
Re: Play mp3
«
Reply #6 on:
November 12, 2012, 06:38:07 pm »
Bigger
Smaller
Reset
Yes. You can connect as many devices in parallel to the power and ground pins as the current limit of the power source / voltage regulator will allow.
How you connect the wires is up to you - you could solder direct to the shield's ground and 5V pins, or insert a prototyping shield in between with stackable headers, etc.
Logged
Why not visit my eBay shop?
http://stores.ebay.co.uk/Majenko-Technologies
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Using Arduino
::
Audio
:: Play mp3
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...