- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
张宇论文(定稿)
摘要 本设计是以单片机为主体而设计的一个用PROTEUS进行软件综合仿真。 其原理是模拟电子时钟按一定的时间定时打铃,时间的调整和打铃的开关分别由四个键子控制。 输出效果由报警模块与显示模块组成,显示模块主要采用数码管来显示时间,让人们可以看到自动打铃器的时间是否与我们生活的时间一致,如果有误差则可以通过按键对时间进行调整。 自动打铃系统,是以一片8位单片机为核心的实时时钟及控制系统。我们知道单片机的外接石英晶体振荡器能提供稳定、准确的基准频率,并经12分频后向内部定时器提供实时基准频率信号,设定定时器工作在中断方式下,连续对此频率信号进行分频计数,便可得秒信号,再对秒信号进行计数便可得到分、时等实时时钟信息。石英晶体振荡器The design is based on SCM as the main body and the design of a PROTEUS software simulation. Its principle is an analog electronic clock as a timing bell, switch to adjust time and ring are respectively controlled by four keys. The output effect by the alarm module and display module, display module mainly uses the digital tube to display the time, so that people can see automatic bell device whether the time and the time of our lives, if there is an error, the keys can adjust the time. Automatic bell system, real-time clock and control system with a 8 bit single chip microcomputer as the core. We know that the external quartz crystal oscillator can reference frequency to provide stable, accurate, and by 12 after the frequency to the internal timer to provide real-time reference frequency signal, setting the timer job in interrupt mode, continuous this frequency signal to the frequency count, and gets the second signal, then count the number of seconds the signal will be divided when the real time clock information, etc.. Keywords Singlechip Automata Digital display Quartz crystal oscillator 不要删除行尾的分节符,此行不会被打印 目录 摘要 I Abstract II 绪论 1 1 设计方案论证 2 1.1 设计要求 2 1.1.1 方案一:数字电路设计的自动打铃系 2 1.1.2 方案二 基于AT89S51控制的自动打铃器 2 1.1.3 方案确定 2 1.2 基本方案 3 1.2.1 设计课题简要概述 3 1.2.2 系统软硬件划分 3 1.2.3 单片机选型 3 1.2.4 总体设计框图 3 2 硬件电路设计 4 2.1 基本原理概述 4 2.2 主要原件参数及功能简介 4 2.2.1 主控器AT89C51 4 2.2.2 DS1302时钟电路DS1302 4 2.3 单元电路的设计 6 2.3.1 时钟电路设计 6 2.3.2 显示电路设计 7 2.3.3 键盘接口电路设计 8 2.3.4 响铃电路设计 8 2.4 总体运行进程 9 3 软件电路设计及流程图 10 3.1 基本原理概述 10 3.1.1 中断服务程序设计 10 3.1.2 显示程序与按键判断和按键处理程序的设计 10 3.1.3 系统自检模块设计 11 3.2 流程图 12 3.2.1 系统主程序流程图 12 3.2.2 系统定时中断流程图 13 4 系统程序设计 14 4.1 部分程序: 14 5 自动打铃硬件原理图 16
文档评论(0)