
基于单片机的音频播放器及文本浏览器设计.docx
8页本文格式为Word版,下载可任意编辑基于单片机的音频播放器及文本浏览器设计 本科毕业论文(设计) 题 目: 音频播放器及文本欣赏器设计 学 院: 自动化工程学院 专 业: 电子信息科学与技术 班 级: 2022级1班 姓 名: 高 森 指导教师: 章 平 2022年 6 月 10 日 青岛大学本科生毕业论文(设计) The Design Of Audio Player And Text Browser 青岛大学本科生毕业论文(设计) 摘 要 通过移植FAT32文件系统到单片机,运用单片机的操纵功能,从SD卡中读取音频文件和文本文件,分别利用单片机硬件SPI串行数据接口送音频数据到音频解码器解码,实现音频播放功能,和模拟SPI串行数据接口送文本数据到液晶显示器显示,实现文本欣赏功能,以及外围时钟芯片、温度传感器实现时间及温度的显示,设计完成了一款实用的多功能播放器。
硬件片面主要由单片机、音频解码器、液晶显示模块、SD卡模块四大片面组成 关键词 单片机 FAT32文件系统 音频解码器 液晶显示 SD卡 Abstract By transplanting FAT32 file system to the MCU, and using the control functions from it, We can Read audio files and text files from the SD card, and use the single-chip hardware SPI serial data interface to send audio data to an audio decoder decoding, we can realize the audio-play function,also we can simulate the SPI serial data interface to send text data to the LCD display to realize the text browser function, and using the clock chip, temperature sensors, we can realize time and temperature display, sum up above-mentioned functions finally we made a practical multi-function player. The part of hardware were composed of Microcontroller, Audio decoder, LCD module,and SD card module. Keywords Microcontroller FAT32 file system Audio decoder LCD SD card 青岛大学本科生毕业论文(设计) 目 录 前 言 ............................................................................................................................... 1 第1章 设计内容 ........................................................................................................... 2 1.1 系统设计任务 ...............................................................................................................................2 1.2 总体设计方案论证 .......................................................................................................................2 1.3 音频播放方案论证 .......................................................................................................................3 1.4 文本欣赏方案论证 .......................................................................................................................3 第2章 设计思路 ........................................................................................................... 4 2.1 总体设计 .......................................................................................................................................4 2.2 操纵片面设计 ...............................................................................................................................5 2.2.1 单片机主要功能特性 ............................................................................................................5 2.2.2 引脚功能及管脚电压 ............................................................................................................6 2.2.3 I/O口 ......................................................................................................................................6 2.2.4 片上资源 ................................................................................................................................8 2.2.5 新增扩展功能 ........................................................................................................................8 2.3 显示片面设计 .............................................................................................................................10 2.3.1 本设计中液晶显示原理 ......................................................................................................10 2.3.2 模块接口说明 ...................................................................................................................... 11 2.3.3 读写时序 ..............................................................................................................................12 2.4 音频解码器 .................................................................................................................................13 2.4.1 MP3文件简介 .....................................................................................................................13 2.4.2 电气特性 ..............................................................................................................................14 2.4.3 相关寄放器设置 ..................................................................................................................14 2.4.4 SPI时序图 ...........................................................................................................................15 2.4.5 模块引脚说明 ......................................................................................................................15 2.5 SD卡模块 ...........................................................................................................。












