文档介绍:湖南涉外经济学院
本科毕业论文(设计)
(页面设置:论文页边距:上30mm,下25mm,左25mm,右25mm,页眉20 mm、页脚15 mm)
题目
多功能计时器的设计
作者
杨佳
学院
信息科学与工程学院
专业
通信工程
学号
170
指导教师
何小年
二〇一五年三月二八日
湖南涉外经济学院本科毕业论文(设计)诚信声明
本人声明:所呈交的本科毕业论文(设计),是本人在指导老师的指导下,独立开展工作所取得的成果,成果不存在知识产权争议,除文中已经注明引用的内容外,本论文不含任何其他个人或集体已经发表或创作过的作品成果。对本文工作做出重要贡献的个人和集体均已在文中以明确方式标明。本人完全意识到本声明的法律结果由本人承担。
本科毕业论文(设计)作者签名:
二○一五年三月二八日
摘要
本文介绍了一款基于AT89C52单片机数字钟的设计,阐述了多功能数字钟的设计思路,详细叙述了系统硬件、软件设计的具体实现过程。论文重点阐述了时钟模块、显示模块、温度检测模块及相关控制模块等的模块化设计思路与制作。软件部分同样也采用模块化的设计思想,包括中断模块、时间调整模块设计,并采用简单流通性强的C语言编程实现。系统能实现时间的设定、日期和星期的显示等功能。在实际设计调试过程中,通过与实际时钟进行对比,查找造成误差的根源,确定了调整误差的方法,尽可能的减少误差,使得系统可以达到实际数字钟的允许误差范围内。
关键词:AT89C52单片机;计时器;时间
ABSTRACT
This paper introduces the design of digital clock based on SCM of AT89C52, the specific process of how the system hardware and software achieved were detailed description through the design of multifunction digital clock. The modular design and production, which clock module and the associated control module, were mainly recounted;As well as hardware designing,software design use the same method, consists suspension module, time adjust module, and that use the C language to achieve because of its simple and strong negotiability. In this design the functions of time run and change, functions of the year, month, day and week display have been achieved. And paring the actual clock, find out the source of the error and determined t