摘要
本设计采用以STC12C5A60S2单片机作为MP3播放器的核心,将U盘作为数据存储介质,通过编写程序代码将U盘中的MP3等格式音频文件传送到STC12C5A60S2单片机中;然后由VS1003解码芯片对MP3文件进行解码;最后将解码后的数字信号转换成模拟信号并通过功放设备输出。所实现的功能可以通过按键对播放器实现"上一首"、"下一首"、"播放"等操作。本设计经软硬件测试,不仅可以实现对U盘的识别,还能播放MP3、WMA、WAV等格式的音频文件,具有声音播放流畅,操作简单,功耗低等特点。
This design uses STC12C5A60S2 MCU as the core of the MP3 player, U disk as a data storage medium, by writing the program code to transfer the U dish in the audio file to STC12C5A60S2 MCU; Then the VS1003 decoding chip to decode MP3 file; Finally converts digital signals into analog signals by the amplifier output. The functions implemented can be achieved "Prev", "Next", "Play" and other operations on the player through the key. The design by the hardware and software testing, not only to achieve recognition of U disk, can also play MP3, WMA, WAV and other audio files, with play smooth,easy operation and low power consumption.
出处
《电子设计工程》
2016年第6期142-144,共3页
Electronic Design Engineering
基金
陕西省教育厅科研计划项目(14JK1248)
渭南师范学院第二批特色学科建设项目(14TSXK06)
渭南师范学院育苗项目(14YKP020)
渭南师范学院科研计划项目(15YKS010)