欢迎来到天天文库
浏览记录
ID:10956234
大小:347.30 KB
页数:25页
时间:2018-07-09
《数字时钟设计毕业论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要该文主要论述如何使用89S51型号的单片机来设计一个数字电子时钟。该设计是利用单片机原理,以AT89S51芯片为主要控制器。通过用KeilC51软件编程仿真,再通过protues软件进行硬件仿真,设计制作一个多功能数字电子时钟的硬件电路。其中通过单片机扩展的1602LCD显示器用来显示秒、分、时计数单元中的值。整个设计过程包括两大部分:软件部分和硬件部分。以单片机AT89S51芯片为核心,加上一定的外围电路、1602LCD显示器和键盘控制器组成。该电子时钟系统主要由时钟模块、液晶显示模块以及键盘控制模块。液晶显示模块能够准确显示时间(显示格式为时:分:秒(24小时制)),键盘控制模块可
2、方便进行时间调整,时钟模块主要控制时间的显示由二十四进制电路与六十进制电路组成。电路的设计以硬件和软件为指导思想,通过软件编程来实现模拟电路的设计。用单片机AT89S51为主要功能模块,采用1602LCD输出显示时间,用按钮做开关,软件计时、调试,辅助必要的电路,实现高效、准确的数字电子时钟系统。该数字电子时钟具有电路简单明了,系统稳定性高等优势,,成本低,维护方便、调试简便、具有广泛的市场前景。关键词:单片机AT89S51芯片1602LCD软件动态扫描25目录文献摘要·····························································
3、·2绪论··································································41、设计总体方案·····················································52、主要器件介绍及功能实现··········································52.1AT89C52单片机···················································52.21602LCD液晶显示······························
4、······················72.3计时功能的实现···················································93、硬件电路···························································93.1上电复位电路·····················································93.2时钟系统25·························································93.3按键电路··········
5、···············································93.4电子时钟的原理图·················································103.5硬件调试·························································113.6实物硬件电路·····················································114、软件设计····················································
6、······124.1程序流程························································124.2程序设计·························································134.3生成代码文件·····················································194.4软件调试·························································20结论···························
7、·······································22参考文献······························································2325附录··································································24绪论传统时钟主要是机械式转动,由指针显示时间。往往存在计时误差
此文档下载收益归作者所有