Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Stereo audio player using the PIC32, MCP4822, microSD card and the MDDFS library

Using the PIC32MX250F128B, I decided to make a simple audio player. I wanted to play back good quality audio from a large memory space - a microSD card. So, I made this WAV player that can play back 16-bit 44.1kHz WAV files with 12-bit stereo audio output. Of course that's not all it can play back. It is programmed for automatic period configuration so that the period is set on the fly based on the song sample rate. It can play back both 8-bit and 16-bit mono and stereo audio files and I have tested from 8kHz 8-bit mono to 44.1kHz 16-bit stereo. The player itself does not include an audio amplifier to drive speakers but can drive earphones. I've used an external stereo speaker for testing.

The hardware is fairly simple! Using the Microchip Memory Disk Drive File System (MDDFS) library, and my previous work using the MCP4822 dual 12-bit DAC, integrating these components to make a working audio player was quite fun and a good learning experience.

All details, documentation and code can be found here: https://tahmidmc.blogspot.com/2015/01/audio-player-using-pic32-microsd-card.html

[video=youtube;PLoyxrjAPZo]https://www.youtube.com/watch?v=PLoyxrjAPZo[/video]

Comments

There are no comments to display.

Part and Inventory Search

Blog entry information

Author
Tahmid
Read time
1 min read
Views
790
Last update

More entries in Uncategorized

More entries from Tahmid

Share this entry

Back
Top