Go Down

Topic: Arduino Yún compatible Wave/Mp3 Shields (Read 2718 times) previous topic - next topic

tremendez

Hey Arduino community,
I was curious if any of you have any experiences to get an wave/mp3 shield to work with the arduino yún. I have been trying to get the adafruit wave shield and the rouge robotics rMP3 shield to work, but to no avail. I'm unsure if these boards are really incompatible or whether my arduino skills are to blame. I got the code to run with either shields using an arduino UNO.

Thanks!

sonnyyu

Yun, one way you could use USB sound adaptor ( costs few dollar at Amazon).

Code: [Select]

opkg update
opkg install kmod-sound-core
opkg install kmod-usb-audio
opkg install alsa-utils


Code: [Select]

aplay -t  wav  -f dat   some.wav
-f cd (16 bit little endian, 44100, stereo)
-f cdr (16 bit big endian, 44100, stereo)
-f dat (16 bit little endian, 48000, stereo)


federicofissore

Is this the shield? http://www.adafruit.com/products/94

The product page says it's not compatible with Mega and Leonardo. The Yun is based on the 32u4, same as the leonardo, so it shares the same issues

Bakio

Hi:
I have used https://www.sparkfun.com/products/10628 and works ok.
You have to link ICSP-4- Digital pin 11,  ICSP-1- Digital pin 12 and  ICSP-3- Digital pin 13.
:-))

sonnyyu

MP3 support

opkg update
opkg install madplay

madplay some.mp3

Now Arduino  is  able to play back hundred songs via bridge.

I tried text-to-speech flite but failed at this time, since current linino firmware use  flite version 1.3 source.  wait next update?







Bakio

Hi sonnyyu:
I know:
- How load and install new modules in linio-side
- How load mp3 files in the linio-side SD Card
- How run a command in linio-side from ardunio-side via bridge
But what about connection linio-speaker? How can i link linio and speaker?
thanks

sonnyyu


federicofissore

We used one of these to play music with the yun :)

Go Up