基于单片机的MP3播放器设计-东华理工大学毕业设计(论文).docx
文本预览下载声明
基于单片机的MP3播放器设计刘吁Design of an MP3 player based on Micro Controller UnitLiu Yu摘要本文介绍了一种基于51单片机的MP3播放器的设计方法,且具有无线蓝牙控制功能,可使用手机无线控制MP3播放器,该播放器采用STC12C5A60S2单片机为主控制芯片,U盘(或SD卡)作为音频文件的存储介质,BY8001语音模块作为解码器,HC-06蓝牙模块与手机无线通讯连接。BY8001语音模块从U盘(或SD卡)中读取音频文件及音乐播放关信息,通过串口1连接单片机将音乐播放信息送至单片机处理,并连接耳机(或喇叭)播放音乐,STC12C5A60S2单片机使用特有的串口2连接蓝牙模块进行数据传输,同时连接OLED显示屏实时显示音乐播放信息。实践证明,该音乐播放器连接耳机后,具备播放声音清晰,操作简便,功耗低等特点。关键词:MP3播放器;蓝牙模块; STC12C5A60S2单片机;OLEDABSTRACTThis paper introduces a design of an MP3 player based on 51 MCU,and has a Bluetooth function, you can use the mobile phone wireless control MP3 player,The player uses STC12C5A60S2 Micro Controller Unit as the main control chip,SD card (or USB flash disk) as the audio file storage media,BY8001 voice module as a decoder,HC-06 Bluetooth module and mobile phone wireless communication connection,BY8001 voice module to read audio files and music playback informationfrom the SD card (or USB flash disk), use theserialport to connect the music player information to theMCU processing,connect earphones (or speakers) to play music, STC12C5A60S2 MCU using serial port to connect BluetoothModule, while STC12C5A60S2 single-chip connection OLED display to real-time display music.It is has proved that the music player connected to the earphones, with a smooth sound playback, simple operation, low power consumption.Keywords: MP3 player;Bluetooth module;STC12C5A60S2 MCU;OLED目 录摘要IABSTRACTII绪论1第1章系统方案设计与论证41.1 系统方案选择41.2 系统设计思路51.3系统功能及要求6第2章系统主要器件及应用72.1 STC12C5A60S2单片机介绍及应用72.3 0.96寸OLED显示屏介绍及应用92.4语音模块BY8001介绍及应用102.5 U盘/SD卡应用及格式介绍132.6 音频输出设备142.7 手机硬件最低配置需求14第3章系统硬件电路设计153.1 最小系统电路设计153.2 蓝牙无线控制电路设计153.3 OLED显示屏电路设计163.4 BY8001语音模块电路设计163.5 印制电路板设计173.5.1 PCB板应用介绍173.5.2 PCB板图设计的一般步骤193.5.3 PCB板图设计应注意的问题193.5.4系统PCB板图制作信息20第4章系统软件设计214.1系统软件概述与思路214.2 OLED显示程序设计214.3串口通讯程序设计234.4按键扫描程序设计254.5上位机程序设计26第5章系统调试与结果分析275.1 调试过程分析275.2 所遇问题解决方法27结论30致谢31参考文献32附录一电路原理图33附录二实物图34附录三元件清单35附录四程序代码36绪论1. 课题研究的背景与意义生活压力大、节奏快早已不是一个陌生的话题。随着现代社会的快速发展,人们的生活水平也在逐步提高,但是由于工
显示全部