本科毕业论文(设计、创作)题目:基于STM32音乐MP3闹钟的设计与实现学生姓名:学号:所在系院:专业:入学时间:年月导师姓名:职称/学位:导师所在单位:完成时间:年月1基于STM32音乐MP3闹钟的设计与实现摘要:改革开放以来,中国迅速崛起,各种电子产品层出不穷,人们对电子产品的要求也越来越高。本设计采用ARMCortex-M3内核的STM32F103ZE作为微控器选用开发板的SRAM&Flash模块,SD卡,LCD液晶显示屏模块,Codec音频模块等,以及移植FATFS文件系统,目的是存储SD卡中的大数据文件和管理SD卡中的文件。本设计还移植了UCOSII操作系统,任务的实时调度使得程序变得更加简单,运行环境也更加的稳定。另外,加入MP3软解码,使得系统能够识别MP3格式,正确播放出音乐。本系统设计并实现了集音乐播放,时间显示,时间设置为一体的音乐闹钟,解决了闹钟铃声单调,重复的苦恼。关键词:STM32;MP3;闹钟,UCOSII;FATFS;SD卡2DesignandimplementationofSTM32MP3basedonthealarmclockmusicAbstract:Sincethereformandopeningup,China'srapidrise,allkindsofelectronicproductsemergeinendlessly,peoplealsomoreandmorehightotherequirementofelectronicproducts.ThisdesignUSEStheARMarchitecture(M3kernelSTM32F103ZEasamicrocontrolunit,choosedevelopmentboardSRAM&Flashmodule,SDcard,LCDliquidcrystaldisplaymodule,audioCodecmodule,etc,andtransplantedFATFSfilesystem,thepurposeistostorelargedatafilesinSDcard,andmanagethefilesofSDcard.ThisdesignalsotransplantUCOSIIoperatingsystem,thetaskofreal-timeschedulingmakestheprogrammoresimpleandrunningenvironmentisalsomorestable.Inaddition,addsoftdecodeMP3,enablesthesystemtoidentifyMP3format,rightplaysmusic.Thissystemwasdesignedandimplementedthecollectionofmusicplayback,timedisplay,timesettingfortheintegrationofmusicalarmclock,solvedthealarmsoundmonotonous,repetitive.Keywords:STM32,MP3,UCOSII,FATFS,SDcardI目录第一章绪论..................................................................................................................................11.1设计背景.........................................................................................................................1第二章硬件介绍............................................................................................................................22.1STM32F103ZE...................................................................................................................22.2按键模块.........................................................................................................................32.3I/O模块.........................................................................................................................32.4存储模块设计...................................................................................................................42.5LCD液晶屏模块............................................................................................................52.6Codec音频模块............................................................................................................72.7USART串口模块............................................................................................................8第三章系统软件设计.....................................................................................................................93.1文件系统FAT..................................................................................................................93.2SPI驱动..................................................................