电子信息工程 毕业论文--万年历的设计.doc

电子信息工程 毕业论文--万年历的设计.doc

  1. 1、本文档共40页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
河南工业职业技术学院 万年历的设计 题 目:  万年历的设计 系 别:  电子工程系 专 业:  电子信息工程 班 级: 电子0701 学生姓名: 刘 志 宝 指导教师: 曹 建 生 摘 要 电子万年历中实现公历农历互换的1种实用算法。用4个字节的数据可以准确地描述任意1年与年历有关的信息,将需要实现公历农历互换的每1年的4个字节的数据有机存放在1起形成1个基本数据表。电子万年历中的计算机通过查询预先存储在计算机存储器里的基本数据表,得到转换需要的数据信息,根据转换要求和本算法提供的互换算法,从而实现公历农历的互换。这种互换算法的优点是存储的数据量少,计算简便,实用性强。美国DALLAS公司推出的具有涓细电流充电能的低功耗实时时钟DS1302。它可以对年、月、日、周日、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小。对于数字电子万年历采用直观的数字显示,可以同时显示年、月、日、周日、时、分、秒和温度等信息,还具有时间校准等功能。该电路采用AT8951单片机作为核心,功耗小,能在3V的低压工作,电压可选用3~5V电压供电。关键词: 电子万年历单片机公历 农历 互换 算法 研究DS1302Abstract II Implement electronic calendar Lunar calendar swap one kind of practical algorithms. With 4 bytes of data can accurately describe any one year and calendar-related information, will be required to achieve lunar calendar every 1-year swap 4 bytes of data stored in an organic form a basic data from the table. Electronic calendar in the computer by querying pre-stored in the computer memory in the basic data table, data need to be converted, under conversion requirements and the exchange of algorithms to provide the algorithm to realize the exchange of lunar calendar. This exchange method has the advantage of less data storage, calculation is simple, practical. We use the United States following DALLAS Semiconductor DS1820 improved after the introduction of a smart temperature sensor DS18B20 as the detection element, a temperature range of -55 ~ 125 o C, up to a maximum resolution of 0.0625 o C. DS18B20 can be directly read out the temperature on the north side, and three-wire system with single-chip connected to a decrease of the external hardware circuit, with low-cost and easy use. The United States launched with Juan DALLAS small current charge to low-power real time clock chip DS1302. It can beplay year, month, day, Sunday, hours, minutes, seconds, and temperature information, but also a time calibration functions. The circuit is AT89C51 microcontrol

文档评论(0)

蜗牛 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档