77范文网 - 专业文章范例文档资料分享平台

单片机实现数字钟 - 图文

来源:网络收集 时间:2020-05-18 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

四川师范大学成都学院电子技术课程设计

单片机实现数字钟

学生姓名 学 号 所 在 系 专业名称 班 级 指导教师

电子工程系

电子信息工程(电子产品)

成 绩

四川师范大学成都学院

二○一三年六月

四川师范大学成都学院电子工程系课程设计报告

摘要:20世纪末电子技术获得了飞速的发展,在其推动下,现代电子产品几乎

渗透了社会的各个领域有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越快。现代生活的人们越来越重视起了时间观念,可以说是时间和金钱划上了等号。对于那些 对时间把握非常严格和准确的人或事来说,时间的不准确会带来非常大的麻烦。所以以数码管为显示器的时钟比指针式的时钟表现出了很大的优势。数码管显示的时间简单明了而且读数快、时间准确显示到秒。而机械式的依赖于晶体震荡器可能会导致误差。数字钟是采用数字电路实现对“时”、“分”、“秒”数字显示的计时装置。数字钟的精度、稳定度远远超过老式机械钟。在这次设计中,我们采用LED数码管显示时、分、秒以24 小时计时方式根据数码管动态显示原理来进行显示。用12MHz的晶振产生振荡脉冲定时器计数。在此次设计中,电路具有显示时间的其本功能,还可以实现对时间的调整。数字钟是其小巧、价格低廉、走时精度高、使用方便功能多、便于集成化而受广大消费的喜爱因此得到了广泛的使用。

关键字:数字电子钟,单片机

四川师范大学成都学院电子工程系课程设计报告

Abstract: The late 20th century, electronic technology has been rapid

development in its promotion, penetration of modern electronic products will almost Fields, a strong impetus to the development of social productive forces and social improvement in the level of information, while also further improve the performance of modern electronic products, replacement products have become increasingly fast pace. Growing emphasis on modern life from the time the concept of time and money can be said to draw the equal sign. For those who are very strict and accurate grasp of time and things, time will not exactly bring a very big trouble, so as to control the display of digital clock than the clock pointer showed a big advantage. Digital display of time reading simple and fast, accurate display of time to seconds. The mechanical oscillator depends on the crystal may lead to errors. Digital Clock is a digital circuit implementation of the \\\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. In this design, the circuit

has a display time of the this function, you can also realize the time adjustment. 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.

Key words: digital electronic clock,SCM

四川师范大学成都学院电子工程系课程设计报告

目 录

前言 ............................................................. 1 1. 设计原理 .................................................... 2

1.1 AT89C52单片机结构和原理 .................................. 2

1.1.1 复位控制电路原理 .................................... 2 1.1.2 AT89C52单片机功能特性 ............................... 2 1.1.3 时钟控制电路原理 .................................... 4 1.1.4 74HC138片选作用 ..................................... 4

2. 总体设计方案 ............................................... 5 3. 模块电路设计 ............................................... 5

3.1 单片机最小系统设计 ........................................ 5

3.1.1 电源引脚 ............................................ 6 3.1.2 复位 RST 9 .......................................... 6 3.1.3 外接晶体引脚 ........................................ 6 3.1.4 输入输出引脚 ........................................ 7 3.2 时钟芯片 .................................................. 7

3.2.1 数据手册 ............................................ 8

4. 系统软件设计 ............................................... 8

4.1 主程序流程图 .............................................. 9

5. 设计总结 ................................................... 11 7. 参考文献 ................................................... 12 附 录 ........................................................... 13

附录1 系统程序设计 .......................................... 13 附录2 系统设计原理图 ........................................ 18 附录3 系统设计PCB .......................................... 19 附录4 仿真全景图 ............................................ 19

四川师范大学成都学院电子工程系课程设计报告

附录5 实物全景图 ............................................ 20 附录6 实物运行图 ............................................ 20

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库单片机实现数字钟 - 图文在线全文阅读。

单片机实现数字钟 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/jiaoyu/1052906.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: