欢迎来到天天文库
浏览记录
ID:6330915
大小:188.50 KB
页数:22页
时间:2018-01-10
《单片机数字时钟课程设计报告》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、单片机数字时钟设计目录1.引言··························································22.关键词························································23.内容摘要······················································24.设计内容····················································
2、··24.1任务书······················································24.2设计思路电路原理框图········································34.3软件设计方面················································44.4硬件设计方面················································4225主要元器件的概述··········
3、····································46.仿真实现·····················································76.1引脚连接(电路连接图)···································76.2仿真结果(电路原理图)···································86.3PCB图··················································9
4、6.4实验操作················································97.元件清单·····················································108.程序附录·····················································13总结··························································20参考文献···········
5、···········································2022【引言】高精度的计时工具大多数都使用了石英晶体振荡器,由于电子钟、石英表、石英钟都采用了石英技术,因此走时精度高、稳定性好、使用方便、不需要经常调校。数字电子时钟,自从它发明的那天起,就成为人类的朋友,是人们日常生活中必不可少的必需品,广泛用于个人家庭以及车站、航站、剧院、办公室等公共场所,给人们的生活、学习、工作、娱乐带来极大的方便。但随着时间的推移,科学技术的不断发展,生活节奏越来越快,竞争日益激烈,人们对时
6、间计量的精度要求越来越高,应用越来越广。【内容摘要】本实验采用LCD液晶屏作为显示系统,以STC89C51单片机为核心,由液晶显示屏,键盘,电容电阻,晶振等元器件组成。所组成的模块能够实验时,分,秒的数据显示,通过程序设计运用四个按键SB0,SB1,SB2,SB3能够实现对数字时钟时间的设置和调整。本实验将写好的软件烧录到单片机中,通过单片机来实现,是实验的电路图更加简单明了,系统稳定性大大提高。【关键词】单片机,数字时钟,中断,定时,汇编任务书设计题目:单片机数字时钟设计主要内容与目标:1:通过单片机内
7、定时器控制走时,准确持续走时,调时不影响走时;2:在LCD上显示时,分,秒;3:通过五个按键能够对时间进行设定和调整。具有的设计基本条件:1:PC机一台;2:STC89C51单片机一块;3:KeilC调试环境、Proteus仿真软件,Protel画图软件。计划设计进程:1:明确课题对程序功能,运算精度等方面的要求及硬件条件2:把复杂问题分解为若干模块,确定各模块处理方法,画出流程图。3:编制程序,根据流程图精心选择合适的指令和寻址方式来编制源程序4:对程序进行汇编,调试和修改,直到程序运行结果正确为止。2
8、25:购买器材,连接、制作硬件;6:将软件功能在硬件上得到实现,做出数字钟实物。设计思路电路原理框图:初始化LCD显示赋值时钟芯片赋初值是定闹钟程序取时钟否送显示键按下.软件设计方面:1:采用模块化程序结构设计软件,首先将整个软件分成若干功能模块;222:根据设计原理图编写程序;3:通过keil软件编写调试程序;4:与硬件一起联调,最后完成全部调试工作。硬件设计方面:1:将整个硬件系统划分为若干单元电路,绘出整个逻辑电路,注明
此文档下载收益归作者所有