欢迎来到天天文库
浏览记录
ID:26100994
大小:254.47 KB
页数:31页
时间:2018-11-24
《数字式秒表单片机数字秒表课程设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、《单片机技术》课程设计说明书数字式秒表系、部:学生姓名:指导教师:职称专业:班级:完成时间:摘要本次课程设计的数字电子秒表系统采用AT89S52单片机为中心器件,利用其定时器/计数器定时和记数的原理,结合显示电路、LED数码管以及外部中断电路来设计。将软、硬件有机地结合起来,使得系统能够实现LED显示,0~99.99秒,计时精度为0.01秒,能正确地进行计时。其中软件系统采用汇编语言编写程序,包括主程序,显示程序,中断服务程序,延时程序,按键程序等,并在KEIL中调试运行,硬件系统利用PROTEUS来实现,简单且易于观察,在仿真中就可以观察到
2、实际的工作状态。关键词: 秒表;AT89S52;汇编语言1目录1设计课题任务、功能要求说明及总体方案介绍····························11.1设计课题任务···················································11.2功能要求说明···················································11.3设计课题总体方案介绍及工作原理说明·····························12硬件系统的设计·············
3、·········································32.1硬件系统各模块功能简要介绍·····································32.2电路原理图、PCB图、元器件布局图································52.3元器件清单·····················································53软件系统的设计······················································6
4、3.1使用单片机资源的情况···········································63.2软件系统各模块功能简要介绍II·····································63.3软件系统程序流程框图···········································73.4软件系统程序清单··············································114设计结论、仿真结果、误差分析、教学建议·························
5、····124.1设计课题的设计结论及使用说明··································124.2设计课题的仿真结果············································124.3设计课题的误差分析············································13结束语································································14参考文献··························
6、····································15致谢··································································16附录··································································17附录A电路原理图II··················································17附录B秒表PCB图·························
7、·························18附录C数字秒表布局图··············································19附录D元件清单····················································20附录E软件系统程序清单············································21II1设计课题任务、功能要求说明及总体方案1.1设计课题任务由单片机接受控制键盘的控制递增计时,数码管显示计时时间。显示格式为XX(分)—XX
8、(秒)—XX(毫秒),绘制硬件接线图,并进行系统仿真和实物板子实现。画出程序流程图并编写程序实现系统功能。1.2功能要求说明用AT89S52单片机作为主要控制芯片,
此文档下载收益归作者所有