MP3 VS1053 Codec Breakout Board?

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

MP3 VS1053 Codec Breakout Board?

Post by tech »

Re bonjour,

Voici je me suis procurer le 1381 VS1053 Codec + MicroSD Breakout - MP3 Breakout board de Adafruit.

Je voudrais savoir si je peux utiliser le component FAT (SD, SDHC) de Flowcode v6 pour lire sur la carte SD et envoyer ensuite au VS1053 pour qu'il decode le fichier audio MP3??

Merci, :wink:

(http://www.adafruit.com/product/1381)

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MP3 VS1053 Codec Breakout Board?

Post by Benj »

Bonjour,

En regardant la bibliothèque Arduino oui, il devrait être possible .

Je pourrais avoir un aller à faire un exemple pour lui si je reçois un certain temps .

Si vous voulez avoir un aller et poster ce que vous avez à ce jour alors je vais vérifier à travers elle pour vous.


Hello,

Looking at the Arduino library yes it should be possible.

I might have a go at making an example for it if I get some time.

If you want to have a go and post what you have so far then I will check through it for you.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: MP3 VS1053 Codec Breakout Board?

Post by tech »

Bonjour Ben,

Je n'ai pas réalisé de programme encore car je ne sais pas trop par ou je dois commencer et je ne connais pas la bibliothèque Arduino. :?

Si vous pourriez me poster un exemple ca m’aiderais à comprendre!, ça serait grandement apprécier?

Merci

Chris

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MP3 VS1053 Codec Breakout Board?

Post by Benj »

Bonjour Chris ,

Voici le fichier C ++ je ai trouvé pour Arduino . Ce ne est pas agréable à lire, mais ce ne est pas trop mauvais . Je l'ai pris de la page du produit Adafruit vous avez accédé .

Les fonctions de spiread et spiwrite peuvent être effectuées en utilisant le composant maître SPI .

Je voudrais commencer par reproduire les fonctions sciRead et sciWrite utilisant des macros Flowcode et à partir de là .
Adafruit_VS1053.cpp
(17.07 KiB) Downloaded 280 times


Hello Chris,

Here is the C++ file I found for Arduino. It's not that nice to read but it's not too bad. I took it from the Adafruit product page you linked.

The spiread and spiwrite functions can be done using the SPI master component.

I would start with replicating the sciRead and sciWrite functions using Flowcode macros and take it from there.
Adafruit_VS1053.cpp
(17.07 KiB) Downloaded 280 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: MP3 VS1053 Codec Breakout Board?

Post by tech »

Bonjour Ben,

Ok, mais je ne connais pas le C++, j'ai regardé le fichier et je suis perdu un peu :(

Ok pas de problème pour les fonctions de spiread et spiwrite en utilisant le composant maître SPI de Flowcode, je vais utiliser un PIC18F2550 pour ce projet.

Donc des que vous pourrez me fournir un exemple sous Flowcode v6 je vais le tester, car j’essaye de comprendre la partie ou le PIC doit lire sur la carte SD et ensuite utiliser un buffer puis envoyer les bits au codec :?

Merci

Chris

Post Reply