基于mega16数字万年历设计毕业论文.doc
上传人:天马****23 上传时间:2024-09-12 格式:DOC 页数:29 大小:2.1MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

基于mega16数字万年历设计毕业论文.doc

基于mega16数字万年历设计毕业论文.doc

预览

免费试读已结束,剩余 19 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

长春理工大学毕业设计编号本科生毕业论文基于Mega16的数字万年历TheDigitalPerpetualCalendarBasedOnMega162009年6月长春理工大学毕业设计PAGE\*MERGEFORMAT12摘要随着电子技术的迅速发展,特别是随大规模集成电路出现,给人类生活带来了根本性的改变。尤其是单片机技术的应用产品已经走进了千家万户。电子万年历的出现给人们的生活带来的诸多方便。本文介绍了一种基于AVR单片机Mega16的数字万年历的设计。本设计以Mega16为核心控制器,其外围电路包括液晶显示模块,时钟模块,键盘模块和闹铃模块等。软件部分用C语言进行编程,实现设计的一切功能。此数字万年历不仅能显示分,时,秒,年,月,日,而且具有以下功能:显示农历,闹钟时间设置,闹钟音乐选择,整点报时和断电后自由调整时间。本设计硬件电路简单,难点在于软件编程中的公农历转换,设计完成后经测试基本实现了上述的功能关键词:Mega16万年历公农历转换液晶AbstractAlongwiththetechnicalandquickdevelopmentinelectronics,appearwiththelarge-scaleintegratedcircuitespecially,givemankindthelifebroughtthechangesoftheroot.Thecoalgasreportstothepolicethesystempublishes,scribingtheelectronicsmeasuretheinstrumentwalkedintothearithmeticfigureturnstheagestsfunctionisstrong,thefunctioniswell-found,techniqueforerunner,willquicklytechnicaldevelopmentinscience.Inthepaper,itintroducesadesignofdigitalCalendarbasedonmega16.thedesignmadeMega16asthecorecontroller,theperipheralcircuits,includingliquidcrystaldisplaymodule,clockmodule,thekeyboardmoduleandalarmmodule.SoftwarewithClanguageprogramming,achievesallfunctionsofdesign.Thiscalendarwillnotonlyshowthenumberofpoints,thesecond,year,month,day,andhavethefollowingfunctions:displayChinese,thealarmtimeset,alarmclock,musicselection,thewholepointoftimeandfreetoadjustthetimeafterpoweroutages.Thedesignofhardwarecircuitsissimple,difficultintheChinesepublicconversion,thedesignhasbeentestedafterthecompletionofthebasicfunctionstoachievetheabove-mentionedKeywords:Mega16,Calendar,Lunarconversionofpublic,LCD目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc232322396"目录PAGEREF_Toc232322396\h1HYPERLINK\l"_Toc232322397"第一章绪论PAGEREF_Toc232322397\h3HYPERLINK\l"_Toc232322398"1.1研究目的和意义PAGEREF_Toc232322398\h3HYPERLINK\l"_Toc232322399"1.2国内外研究现状PAGEREF_Toc232322399\h3HYPERLINK\l"_Toc232322400"1.3本设计研究的内容PAGEREF_Toc232322400\h3HYPERLINK\l"_Toc232322401"第二章系统整体设计方案PAGEREF_Toc232322401\h5HYPERLINK\l"_Toc232322402"2.1系统功能分析