- 1、本文档共49页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数字电子时钟设计与制作
摘 要
本次设计以AT89C52芯片为核心,辅以必要的外围电路,设计了一个简易的数字电子时钟,它由5V直流电源供电。在硬件方面,除了CPU外,使用两个四位一体的七段LED数码管和一个单独的共阳极数码管显示时、分、秒。四个简单的独立按键实现对时间的调整以及时钟/秒表功能的转换。软件方面采用C语言编程,使用keil软件进行编程与调试,使整个电子时钟能够完成时间的显示,调时,秒表,报时等功能。
数字时钟是采用数字电路实现对“时”、“分”、“秒”数字显示的计时装置。数字时钟的精度、稳定度远远超过老式的机械时钟。在这次设计中,我们采用LED数码管分别显示时、分、秒,以24小时计时方式,根据数码管动态显示原理来进行显示,用12MHz的晶振产生振荡脉冲,定时器计数。数字时钟体积小巧,价格低廉,时间精度高,使用方便,功能全,便于集成化而受广大消费的喜爱,因此得到了广泛的用。ABSTRACT
This design with AT89C52 chip as the core, supplemented by the necessary peripheral circuit, design a simple digital electronic clock, it consists of 5 v dc power supply. In terms of hardware, in addition to the CPU, using two four one of the seven segment LED digital tube and a single anode digital tube display when, minutes and seconds. Four simple implementation independent buttons adjust your time as well as the conversion clock/stopwatch function. Software using C language programming, programming and debugging, using keil software to complete the whole electronic clock time, according to the adjustment, timing alarm clock, reset, etc.
Digital Clock is a digital circuit implementation of the “when”, “minutes”, “seconds” the figures show the timing device. Digital clock precision, stability, far more than the old mechanical clock. In this design, we use LED digital display hours, minutes, seconds, to 24-hour time mode, according to digital control theory to dynamic display to display, use the 12MHz crystal oscillation pulse, the timer count.Digital clock is its compact, low cost, travel time and high precision, easy to use, features and more, easy integration and loved by the general consumer, so widely used.
Keywords: single chip; digital electronic clock;LED; digital tube
目 录
摘要 ……………………………………………………………………………………Ⅰ
ABSTRACT ………………………………………………………………………………Ⅱ
1 绪论……………………………………………………………………………………1
1.1 研究的背景……………………………………………………………………1
1.2 数字时钟的意义与应用………………………………………………………1
2 整体设计方案…………………………………………………………………………3
2.1 设计要求………………………………………………………………………3
2.2 整体方案的设计…………………………………
文档评论(0)