# Newbie Compatibility Question (Electron with Adafruit VS1053)

**URL:** <https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052>\
**Category:** Libraries\
**Created:** [September 18, 2018, 7:05pm UTC](https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052 "2018-09-18T19:05:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nickbee](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@Nickbee](https://community.particle.io/u/Nickbee)\
**Post date:** [September 18, 2018, 7:05pm UTC](https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052/1 "2018-09-18T19:05:49Z")

</div>

Hi!

Excuse my ignorance here. I’ve worked with arduino for years but this is my 1st time using an Electron board.

We need to be able to play audio files saved on an SD card. So I figured this board from Adafruit would do the trick…

> **[VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record](https://www.adafruit.com/product/1381)**
>
> This breakout board is the ultimate companion for the VLSI VS1053B DSP codec chip. The VS1053 can decode a wide variety of audio formats such as MP3, AAC, Ogg Vorbis, WMA, MIDI, FLAC, WAV ...

After searching for the library in the Particle IDE I’m only seeing a version for the Photon.

So my general question is should I just be able to use Adafruit’s library? Or is the compatibility of this board limited to the libraries that are searchable in the IDE?

And if that is the case can anyone recommend a player / SD card combo that would be compatible with the Electron?

THANKS!

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [September 18, 2018, 8:21pm UTC](https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052/2 "2018-09-18T20:21:26Z")

</div>

> [@Nickbee](#):
>
> After searching for the library in the Particle IDE I’m only seeing a version for the Photon.

I'd assume that the library would work for the Electron as well. Have you tried it?

---

<div class="post-metadata">

**Author:** ![Nickbee](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@Nickbee](https://community.particle.io/u/Nickbee)\
**Post date:** [September 18, 2018, 8:53pm UTC](https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052/3 "2018-09-18T20:53:03Z")

</div>

I am trying…

Getting a ‘Serial’ not defined in this scope error when trying the player\_simple example

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [September 19, 2018, 3:03am UTC](https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052/4 "2018-09-19T03:03:37Z")

</div>

There has changed a lot since this library was contributed.  
I'd not use that version of it anymore as it brings its own outdated secondary libraries which weren't well ported back then.

So I'd rather add the two `.h`/`.cpp` files and copy/paste the contents of them into these files and then add the secondary libraries (if needed) via the library manager.

However, if you only want to playback a fix set of MP3s, there would be a cheaper/simpler module

> [@A great & very cheap MP3 sound module without need for a library!](https://community.particle.io/t/a-great-very-cheap-mp3-sound-module-without-need-for-a-library/20111):
>
> Hello great community! wave I have just learnt how to use a very promising and very cheap ($2.64/pce incl. shipping) MP3 module ([TF Card U Disk Mini MP3 Player](http://www.ebay.com/itm/161871186828?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT)) to generate the “Alert sounds” for my projects: Till now, I used a Text-to-speech module, but with good quality MP3 sounds it will be nicer and more efficient, I think… I start this new topic as I could find posts about some other “MP3 shield” in this forum, but not yet about this one. And the Web IDE does not contain a po…

There are also two libraries available in for that module

> **[Particle Web IDE](https://build.particle.io/libs/DFRobotDFPlayerMini/1.0.1/tab/DFRobotDFPlayerMini.h)**
>
> Write and flash code to your Particle devices

> **[Particle Web IDE](https://build.particle.io/libs/DFPlayer/0.0.1/tab/DFPlayer.h)**
>
> Write and flash code to your Particle devices

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [January 15, 2019, 5:20pm UTC](https://community.particle.io/t/newbie-compatibility-question-electron-with-adafruit-vs1053/44052/5 "2019-01-15T17:20:25Z")

</div>

I have just published a new port of the Adafruit\_VS1053 library that also supports Particle Mesh devices.  
GitHub: [https://github.com/ScruffR/Adafruit\_VS1053\_Library](https://github.com/ScruffR/Adafruit_VS1053_Library)  
Web IDE: [https://build.particle.io/libs/Adafruit\_VS1053/0.0.1/tab/example/ParticleTest.ino](https://build.particle.io/libs/Adafruit_VS1053/0.0.1/tab/example/ParticleTest.ino)
