A portable audio player created using the Linkit ONE board.
- Can play.wav,.mp3,.aac, and.amr files
- Can use SD card upto 32GB
- Informative LCD screen
- Minimal external components, so easy to use
- 1050mAh battery (with built in charger)
- Easy to make
- Looks like any other electronics project (if you go to a school where devices aren't allowed, you can take this Audio player along and not get caught!)
Step 1: Project Details and Materials Required...
Prerequesites: You should have your Mediatek Linkit ONE set up and ready to upload sketches to.
Cost: ~$75 (including Linkit board, which is about $60)
Bill Of Materials:
- Li-ion battery (The linkit one box includes one)
- General purpose PCB
- Male headers
- 5 push buttons
Step 2: Solder The Buttons...
There are 5 buttons in all, each for Play/Pause, Next song, Previous song, Volume Up and Volume Down. The diagram above shows the arrangement of the buttons on the PCB along with the connections. Feel free to change the pin configurations (though remember to modify the code accordingly); here are my connections:
Step 3: Connect The LCD Screen...
What's great about the Linkit board is that it already has a grove 4 pin connector built-in, to which we can directly connect the LCD. No shield required!
Step 4: Connect The Button PCB...
Here are the pin connections again:
Step 5: Add Songs To A MicroSD Card...
Convert The Songs to.mp3,.wav, or.aac (if it isn't already)
- Media Human converter)
- Select songs to convert
- Convert songs to.mp3 (constant bitrate),.wav (though this creates HUGE files), or.aac (recommended, best sound quality)
Transfer songs to SD card:
Make sure all the songs aren't in a folder.
Step 6: Insert The SD card...
Step 7: Upload The Code!
Below are two attachments: the main .ino file, and a .h header file. Download both of them, and then place them in a single folder names my_player. When you open this code, two tabs containing each file should be visible. Change the button pins if required.
Select the Linkit ONE board and correct COM port, and upload!
Note: The board sends debug messages on the serial COM port, which may be helpful if you are facing problems.