资源描述:
《基于单片机的万历设计安工程设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、安徽工程大学毕业设计(论文)基于单片机的万年历设计摘要进入二十一世纪,电子技术无处不在,电子产品给我们生活带来便利的同时也改变着我们的世界。基于单片机技术的电子产品已经遍及社会的每个角落。电子万年历以其体积小,携带方便、实用,美观等优势一直占领着广阔的市场,同时也给人们的生活带来诸多方便。本设计由硬件设计和软件设计两大部分组成。硬件设计上,以AT89C51单片机为控制核心,通过DS1302与DS18B20通信获得实时时间和实时环境温度,并将得到的数据通过1602液晶显示出来,同时通过相应的按键调整相应的值。硬件部分详细介绍了本设计所应用的各硬件接口技术和各个接口
2、模块的功能。软件设计上,本设计采用C语言进行软件设计,在硬件的基础上来进行各功能软件模块的编写。同时软件的设计采用模块化结构,使程序设计的逻辑关系更加简单易懂。由于该设计用液晶为载体来显示,所以具有良好的人机交互界面与友好的操作,可以显示时间、日期、星期、温度并具有闹铃功能。关键词:AT89C51单片机;万年历;液晶技术;DS1302;DS18B20-67-安徽工程大学毕业设计(论文)DesignofMultifunctionaldigitalPerpetualCalendarBasedonMCUAbstractEntersforthe21stcentury,t
3、heelectronictechnologyisubiquitous,theelectronicproductsliveforusbringtheconvenienceatthesametimealsotochangeourworld.Alreadyspreadsocialbasedonthemonolithicintegratedcircuittechnologyelectronicproductseachquoin.Theelectronictenthousandcalendarsaresmallbyitsvolume,thecarryhomeisconve
4、nient,ispractical,artisticandsoonthesuperiorityareseizingthebroadmarketcontinuously,simultaneouslyalsogivespeople'slifetobringconvenientlymany.Thisdesigndesignsmajorparttwobythehardwaredesignandthesoftwareiscomposed.Thehardwaredesigns,takeAT89C51monolithicintegratedcircuitasthecontro
5、lcore,obtainsthereal-timetimeandthereal-timeambienttemperaturethroughDS1302andtheDS18B20correspondence,andwillobtaindatathrough1602liquidcrystaldisplays,simultaneouslythroughcorrespondingpressedkeyadjustmentcorrespondingvalue.Thehardwarepartintroducedindetailthisdesignappliesvarioush
6、ardwareconnectiontechnologyandeachinterfacemodulefunction.Thesoftwaredesigns,thisdesignusestheClanguagetocarryonthesoftwaredesign,carriesonvariousfunctionssoftwaremoduleinthehardwarefoundationthecompilation.Simultaneouslythesoftwaredesignusesthemodularstructure,makestheprogrammingthe
7、logicalrelationstobesimplereasytounderstand.Becausethisdesigndemonstratedwiththeliquidcrystalforthecarrier,thereforehasthegoodman-machineinteractioncontactsurfaceandthefriendlyoperation,maydemonstratethetime,thedate,theweek,thetemperatureandhavethenoisybellfunction.Keywords:AT89C51mo
8、nolithicinte