microDRUM

Il forum di microDRUM

Arduino Due and HIFI sound

Arduino Due and HIFI sound

Postby albatrillo » 23/01/2017, 15:22

Hello,
I've been researching a bit, and I've found a HIFI module :D. It would be very interesting to be able to use the module with an arduino due to get the sound directly. The only "problem" is that the module uses an I2S communication which I do not know but I have also seen forum examples so that arduino due can use that protocol.

http://www.stm32duino.com/viewtopic.php?t=519

"I2S PCM5102 DAC Decoder 32bit "
Image

"I2S PCM5102A"
Image


I hope it will help to further advance the project

thankyou
albatrillo
 
Posts: 3
Joined: 25/11/2014, 2:10

Re: Arduino Due and HIFI sound

Postby WesleyS » 07/02/2017, 1:31

Those i2c audio cards are cool, I've seen some used before. But it would need more hardware to get it working. To play audio with a microcontroller you need a few things:

  • a place to store the audio files (like a SD card)
  • a place to load the audio files into before it is played (like RAM or flash memory)
  • a device to convert to audio file into sound (i2c soundcard)
SD card readers are readily available and work well with arduino, but reading from them sample at a time is slow and would take too long. Many companies make soundcards like those that work with the arduino, so the main problem is where to load the files to. The memory available on most microcontrollers is too small to load/play anything close to CD quality, so something else has to be used. I think if we can find some type of memory, we'll have some good audio for this project! Maybe we can use this thread to keep track of hardware we find

EDIT: looks like the Teensy supports the "I2S PCM5102 DAC Decoder 32bit " you posted via this link:
https://forum.pjrc.com/threads/27215-24-bit-audio-boards/page3
and a 16MB serial flash: the Winbond W25Q128FV
WesleyS
 
Posts: 176
Joined: 13/01/2014, 4:42


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests

cron