- 1、本文档共23页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的定时器设计
摘要:生活处处都有单片机,家里的所有电器只要是智能控制的都是单片机控制、现在智能手机中arm处理器也是一种高级单片机。
本文是对实时控制中的,实时显示这一功能进行进一步的研究。实时控制系统,相对于其他的控制系统,最重要的一点就是实时。文中的实时,指的是对时间的显示。时间的显示包括对时、分的显示。这些时间的显示,可以按照自己的需求进行进一步的设定。 这个实时系统,可以是通过串口接收的上位机,接收上位机中的信号,根据需求来进行时间的显示,帮助系统实现实时的效果。同时,它可进行时间的独立显示。
利用STC89C51RC单片机作为本系统的中控模块。上电后,按下功能键进入调时状态,通过各单元电路将按键部分设定的时间通过定时时间显示部分中的LED数码管显示出来。中途可重新设置定时数值,复位部分除上电初实现复位外,也可人工复位。
关键词:实时;单片机;数码管;按键复位。
Based on single chip microcomputer timer design
Abstract:Life is a single chip, all appliances at home as long as the intelligent control is now SCM control Intelligent mobile phone ARM processor is a kind of advanced single chip microcomputer.
This article is in real-time control, real-time display this function for further studies. Real-time control system, relative to other control system, the most important thing is that in real time. In this paper, the real-time, refers to the display of time. The display includes pair, the display of the time. The display of the time, can according to your needs further. The real-time system, can be via a serial port to receive the upper machine, receiving signals in the PC, according to the demand for time display, help system to realize real time effect. At the same time, it can be independent of time.
Using 89C51 microcontroller as the system control module. After power on, press the function key to transfer state, through each unit circuit timing LED digital display part of the display through the key part of the set time. You may re set the timer values, reset parts in addition to power up reset, the buttons can be reset at any time.
Key Words : microcontrolle;digital tube;The Key to return.
目 录
1引言 1
1.1课题的来源和意义 1
1.2定时器的应用 1
1.3电子定时器的发展前景 1
1.4 确定设计方案 2
2 51单片机内部结构及计数原理 2
2.1 51单片机内部机构 2
2.2计数原理 2
3 系统硬件配件设计 4
3.1 芯片的选择 4
3.2 交流控制接口电路 5
3.3显示电路 5
3.4 继电器 5
3.5数码管 6
4 硬件电路设计 7
4.1 中继触发电路 7
4.2继电器开关电路 8
4.3时钟电路 9
5 软件设计 10
5.1 实现功能 10
结论 11
参考文献 13
致谢 14
附
文档评论(0)