基于单片机的功能时钟.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于单片机的功能时钟

摘 要 时间就是效率,随着时代的发展,从人们的日常生活到工厂的自动控制,从民用时钟到科学发展所需的时钟,现代人对时间的精度和观察时间的方便有了越来越多的需求。人们要求随时随地都能快速准确的知道时间,并且要求时钟能够更直观、更可靠、价格更便宜。这种要求催生了新型时钟的产生。 本文设计了一款多功能数字时钟,其核心主要是硬件设计和软件编程两个大的方面。硬件设计主要以单片机AT89S52为核心,结合相关的外围电路如时钟芯片DS1302电路、温度测量电路、显示液晶12864电路、键盘扫描电路、报警电路。软件用汇编语言及C语言来实现,主要包括主程序、时间设置子程序、温度测量子程序、键盘扫描子程序、报警电路子程序等软件模块。电路实现了显示时间、节日信息、调整时间、测量并显示温度、报警、闹钟定时等功能,实际测试该系统达到了设计的要求和目的。 关键词:单片机 温度测量 时钟电路 The Multi-functional Clock Design based on MCU Wang Xinsheng (College of Engineering, South China Agricultural University, Guangzhou 510642, China) Abstract :Time is efficiency. With the development of the era, the demand for the accuracy of clock time and the convenience of observing time has kept rising, not only from people’s daily life to factory’s automatic control but also from civil use to scientific development. The demand for clock’s accuracy at anytime and anywhere, as well as more directly, more reliable and cheaper is required, which prompts to the emergence of a new type of clock. The core of this paper is mainly two major aspects including of hardware design and software programming. The hardware design based on MCU of AT89S52 as the core is combined with the related peripheral circuits such as a clock, temperature measurement, alarm circuit, keyboard scan circuit. The software uses assembly language and c language,including software modules of the main program, the time setting subroutine, temperature measurement subroutine, keyboard scanning subroutine and the alarm circuit subroutine. The electric circuit realizes the time display, the festival information, the time adjusting, measure and display the temperature, alarm and the alarm clock to achieve the design requirements and purpose. Key words: MCU Temperature measurement Clock circuit  PAGE \* MERGEFORMAT II  PAGE \* MERGEFORMAT I 目 录  TOC \o 1-1 \h \z \u  HYPERLINK \l _Toc325359836 1 前言  PAGEREF _Toc325359836 \h 1  HYPERLINK \l _Toc325359837 1.1 课题的背景与意义  PAGEREF _To

您可能关注的文档

文档评论(0)

linjuanrong + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档