circuit_projects

Circuit Projects

Blogger

EEWeb Stats

Circuit's Blog :

Return to Blog

WAV Player Using dsPIC Microcontroller

Figure:1

Figure 1 

The project demonstrates an audio playback of WAV files with the use of dsPIC constructed on a breadboard layout with SD card access.

The Microchip Memory Disk Drive File System (MDDFS) is used as the main component in building this project. It can manage a FAT12, FAT16, or FAT32 file system since it is a good pile of C source code. It also has an SD or CF memory card interface or an IDE drive. The amount of memory it requires is the only downside since a huge 23KB of flash and 1.4KB of RAM is consumed when all of its features is enabled. The flash usage can drop drastically by disabling the features although it would still require 1.3KB of RAM.

DC motors are mostly controlled by PWM but using a PWM frequency can provide an audio output signal that is out of hearing range. Using the dsPIC30F4013 with 4 PWM can provide a high frequency with 8-bit accuracy. A nice analog signal can be obtained by adding an RC low pass filter.

A cyclic buffer will be used for linking between the raw data from WAV file to the PWM output.

Read More

Tags: WAV player, microcontroller, breadboard, Layout,

Comments on this post:

By Erick Dampier 0Score: 

2 years ago:  in computers, wav extensions contribute to larger file sizes, will this be the same as what S26 systems in mobile phones are playing?

Login or Register to post comments.
 
Click Here