- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
多功能数字时钟的设计虽.doc
(
二 〇 一〇 年 六 月
关键词Abstract
Digital clock in their daily lives the most common applications and the most widely. The digital clock circuit according to design requirements using AT89C51 microcontroller as the control, using DS1302 to achieve the hours, minutes, seconds, 24 hours time, using DS18B20 to achieve the temperature measurement, using LED to achieve display, using a buzzer to achieve alarm function. The core of the article is mainly hardware design and software programming. Hardware design includes a central processing unit circuit, clock circuit, temperature measurement circuit, the keyboard scanning circuit, alarm circuit. Using assembly language and C language for software design, including the main program and time setting subroutine, temperature measurement subroutine, the keyboard scan subroutine, subroutines and other software modules alarm circuit. Circuit completed show time, adjustment time, measuring and displaying temperature, alarms, alarm clock timer functions. I complete the design requirements and objectives. And I simulate and test them in Wave software.
Keywords: digital clock; AT89C51; DS1302; DS18B20; LED; buzzer目录
摘要 2
目录 4
第一章 绪论 1
1.1 课题研究背景 1
1.2 课题研究意义 2
1.3 本文的主要内容 2
第二章 方案论证及设计 4
2.1 总体方向的选择 4
2.1.1 基础FPGA的多功能数字时钟的设计 4
2.1.2 基于VHDL的多功能数字时钟的设计 4
2.1.3 基于 单片机的多功能数字时钟的设计 4
2.2 控制芯片及数字时钟芯片的选择 5
2.2.1 AT89S51及DS12887芯片 5
2.2.2 AT89C51及DS1302芯片 5
2.3 温度测量芯片的选择 7
2.4 显示部分的选择 8
2.4.1 静态显示 8
2.4.2 动态显示 8
2.5 方案小结 9
第三章 核心芯片简介 10
3.1 AT89C51简介 10
3.2 DS1302简介 14
3.2.1 DS1302引脚功能与内部结构 14
3.2.2 DS1302的控制字 15
3.2.3 DS1302的复位引脚 16
3.2.4 DS1302的数据输入输出 16
3.2.5 DS1302的寄存器 16
3.3 DS18B20简介 18
3.3.1 DS18B20特性 18
3.3.2 DS18B20引脚排列 19
3.3.3 详细说明 20
第四章 系统硬件设计 25
4.1 硬件主要电路设计 25
4.2 时钟电路的设计 26
4.3 温度测量电路的设计 27
4.4 键盘扫描电路的设计 28
4.5 显示电路的设计 29
4.6 报警电路设计 30
4.7 AT89C51复位电路,时钟电路 31
4.8 单片机系统电路图 32
第五章 系统软件设计 33
结论 34
参考文献 35
谢辞 36
第一章 绪论
计算机的产生加快了人类改造世界的步伐,但是它毕竟体积大。单片机在这种情况下诞生了。截止今日,单片机应用技术飞速发展,纵观我们现在生活的各个领域,从导弹的导航装置,到飞机上各种仪表的控制
文档评论(0)