LinkitONE Music Player
Intro: LinkitONE Music Player
Hi,
Here I will show you how to make audio player using LinkitONE.
We will connect earphones to LinkitONE to listen to some cool audio.
STEP 1: Parts
You will need-
1 x LinkitONE
1 x Headphones
1 x SD card
1 x Card reader
STEP 2: Copy Files to SD Card
Copy the music to your SD card and note the name of music you copied. We'll use it further.
STEP 3: Code
Write this code and burn it into your IDE.
void setup() {
LSD.begin();
}
void loop()
{ LAudio.setVolume(5);
LAudio.playFile(storageSD, "m1.mp3");
}
STEP 4: Insert SD Card to Your Board
add the SD card to SD slot to play music!
STEP 5: Attach Headphones
Attach your headphones to your board.
I am using apple earpods from my old iPhone 4s.
STEP 6: Add External Battery
add external battery so we can power without cable.
STEP 7: Listen to Music!
Now listen to some music!
If it doesnot plays, check your file name and SD card.