资源描述:
《电子综合设计实验板研制_软件部分【毕业论文】》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、本科毕业设计(20届)电子综合设计实验板研制_软件部分摘要本课题是电信学院电子综合设计实验板改进项目的软件部分,该电子综合设计实验板在电子设计实验中应用非常广泛,但是在实验中也发现了不少问题。由于数码管连接门电路,使用时需要经过CPLD模块,操作起来比较繁琐,使用不方便。按键太少,只有四个,实验设计时不得不重复使用同一个按键,使程序复杂化。排版也不合理,C8051芯片的很多端口都没有用到,P1和P2口无法同时连接几个模块,使电路板不能很好的充分发挥作用。为了解决以上问题,必须对该实验板进行设计改进,重新排版等等。按键和数码管显示
2、部分用HD7279芯片实现,按键增加到16个,数码管显示位数增加为8位[1];外部语音模块、DDS模块、红外模块、电机模块等分别配置了独立接口,大大减少了操作的复杂性。本文介绍了实验板中各个模块的引脚配置,初始化以及驱动程序的编写。实践证明:通过改造,最终使电路板的功能更好的被使用,从而使电子综合设计实验能够操作起来更简便,设计更多样化。本文着重介绍软件部分的改造。关键词:ad9851;液晶模块;ISD4004;C8051;HD7279AbstractThissubjectissoftwareportionoftheprojec
3、tthatTelecommunicationcollegetoimproveintegrateddesignelectronicexperimentboard,theintegrateddesignelectronicexperimentboardinelectronicdesignexperimentiswidelyused,buttherealsofoundanumberofproblemsintheexperiment.AStheLEDconnectthegatecircuit,itneedsthroughCPLDmodu
4、lewhenused,operatemorecumbersomeandinconvenienttouse.Keystoofew,onlyfour,experimentaldesignhadtore-usethesamekey,makingtheprogrammorecomplicated.Andthelayoutisunreasonable,C8051chiphasmanyportsarenotused,P1andP2portscan'tbeconnectedseveralmodulesatthesametime,leadthe
5、circuitboardcannotfullyplayitsrolewell.Tosolvetheaboveproblem,wemustimprovethedesignoftheexperimentalboard,re-layoutandmore.ButtonsanddigitaldisplaychipwiththeHD7279,Buttonsincreaseto16,themedianindigitaldisplayincreaseto8-bit[1];externalvoicemodule,DDSmodule,infrare
6、dmodules,motormoduleequippedwithindependentinterface,greatlyreducingtheoperatingComplexity.Thisarticledescribestheexperimentalboardpinconfigurationofeachmodule,initializeandpreparethedriver.Practicehasprovedthat:throughthetransformation,andultimatelythefunctionofthec
7、ircuitboardtobeusedbetter,tomakeelectronicintegrateddesignexperimentscanoperatemoreeasily,andthedesignismorediversified.Thisarticlefocusesonthesoftwarepartofthetransformation.KeyWords:AD9851;LCDmodule;ISD4004;C8051;HD7279目录1引言12总体设计22.1关于系统电路引脚的分布32.2引脚定义53软件设计83.1系统
8、初始化83.2HD7279模块93.3DDS模块113.3.1AD9851芯片简介113.3.2DDS模块主程序113.4ISD4004模块143.4.1ISD4004芯片简介143.4.2ISD4004模块主程序143.5液晶模块183.5.1HS12232-