您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 酒店餐饮 > 基于单片机的激光竖琴设计
本科生毕业设计(论文)基于MCU的简易激光电子琴设计与实现DesignAndImplementationOfTheSimpleLaserElectronicOrganBasedOnMCU教学单位_XXXXXXXXXXX__姓名_______XXX______学号____XXXXXXXXXXXX___年级_____XXXXXX_______专业_______XXX________指导教师_____XXX________职称_______XXX________2012年04月I目录摘要......................................................................IABSTRACT...................................................................II第一章引言...............................................................11.1课题背景............................................................11.2研究目的及意义......................................................1第二章系统总体设计及方案论证...............................................22.1总体设计方案........................................................22.2设计方案的论证及选择................................................22.2.1主控制系统.....................................................22.2.2传感器系统.....................................................42.2.3发声系统.......................................................52.2.4电源系统.......................................................6第三章外观结构设计与实现...................................................83.1外观结构设计思路....................................................83.2外观设计元素........................................................83.3结构设计............................................................9第四章硬件电路设计与实现..................................................104.1硬件设计方案.......................................................104.2各模块电路设计与实现...............................................104.2.1单片机最小系统................................................104.2.2激光发射模块..................................................134.2.3激光接收模块..................................................144.2.4音响发声模块..................................................14第五章软件设计与实现......................................................165.1软件设计方案.......................................................165.2各模块程序设计与实现...............................................175.2.1硬件资源配置..................................................175.2.2端口信号检测..................................................195.2.3数据处理......................................................195.3软件开发工具介绍...................................................19第六章软件仿真调试........................................................216.1仿真软件介绍.......................................................21II6.1.1Protues的功能特点............................................216.1.2Protues各功能模块特点........................................216.1.3Protues仿真的意义............................................236.2Protues仿真方案设计................................................236.3Protues电路仿真设计与实现..........................................246.3.1单片机最小系统仿真电路........................................246.3.2独立按键和虚拟仪器仿真电路设计................................256.3.3仿真结果与设计方案可行性分析..................................25第七章总结和展望..........................................................28参考文献...................................................................29附录......................................................................I附录A硬件电路原理图....................................................I附录B硬件电路PCB.....................................................VI附录C程序流程图.....................................................VIII附录D程序源代码.......................................................IX附录E实物图...........................................................XI致谢......................................................................II摘要本文提出了一个基于8051内核单片机的激光电子琴的设计方案。从原理介绍到实物实现,从硬件设计到软件调试等都做了详尽的介绍。该系统在硬件设计上以宏晶公司生产的STC89C52RC型单片机为核心控制芯片,基于8051内核单片机最小系统,以半导体激光发射管和接收管为传感器,利用半导体激光发射管发出的光束模拟电子琴的琴弦,控制芯片对接收管电路输出的数字信号进行采集和处理,实现中音区八音阶稳定发音。在软件设计上,我们采用C语言编写程序源代码。此外,在系统的外观结构上我们采用强度较低的PVC工业塑料和强度较高的轻质合金片搭配设计制作,既保证了外观上的美观性又确保了结构上的稳定性。我们在系统从概念到产品的完整设计过程中,首先,基于澳大利亚Altium公司开发设计的计算机辅助设计软件——AltiumDesigner6进行电路原理图设计。然后,基于美国KeilSoftware公司开发设计的集成开发环境——uVision3进行软件结构和程序流程图的设计,并以C语言编写源程序代码。接着,基于英国LabcenterElectronics公司开发设计的EDA工具软件——Protues7进行从原理图布图、代码调试到单片机与外围电路的协同仿真调试。最后,基于AltiumDesigner6软件,结合所设计的电路原理图进行PCBLayout设计,并根据所设计PCB电路板的尺寸、形状进行产品外观结构的设计与制作。该系统的设计方法更大程度上体现了灵活性、美观性和创新性。在功能上拥有较高的可移植性和扩展性,方便用户根据自己的需求和爱好扩展新的功能。【关键字】:电子琴单片机软件仿真PCBIIABSTRACTInthispaper,alaserElectronicOrgandesignmethodbasedon8051microcontrollercore.Principletothephysicalimplementation,fromhardwaredesigntosoftwaredebuggingandsodothedetail.ThesystemhardwaredesigninordertothemacrocrystalproductionSTC89C52RCtypemicrocontrollerasthecorecontrolchip,thesmallestsingle-chipsystembasedonthe8051coresemiconductorlaserlaunchtubeandreceivertubeforthesensor,theuseofsemiconductorlaseremissionthetubebeamemittedanalogkeyboardpianostring,thecontrolchipthereceivertubecircuitoutputdigitalsignalacquisitionandprocessing,toachievethetenoroctavestabilityinpronunciation.Insoftwaredesign,weare.Inaddition,theappearanceofthestructureofthesystem,weusethelowerstrengthPVCindustrialplasticsandhighstrengthlightalloyfilmwithdesign,bothtoensuretheaestheticsandappearancetoensurethestabilityofthestructure.Inthecompletedesignprocessfromconcepttoproduct,first,thedevelopmenta
本文标题:基于单片机的激光竖琴设计
链接地址:https://www.777doc.com/doc-6203982 .html