下载此文档

毕业论文多功能秒表设计.doc


文档分类:通信/电子 | 页数:约26页 举报非法文档有奖
1/26
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/26 下载此文档
文档列表 文档介绍
学号:1108441007
本科毕业论文(设计)
(2015届)
多功能秒表设计
院系电子信息工程学院
专业电气工程及其自动化
姓名*
指导教师*
2015年4月
摘要
本次设计的内容是以STC89C52单片机为控制核心的秒表。设计的主要内容为计时器从00~99秒的计时,每秒种自动加1,另外还设置有暂停键和复位键等按键,在任何情况下都可以实现暂停和复位功能。利用单片机定时器/计数器定时和记数的原理,结合显示电路、LED数码管以及外部中断电路来设计的计时器。此次设计将软、硬件有机地结合起来,使得系统能够实现2位LED数码管显示,显示时间为00~99秒,同时计时精度为1秒,并且能够正确地进行计时。其中软件系统采用C语言编写程序,包括显示子程序、中断服务、外部中断服务子程序和复位子程序等。
关键词:单片机; 数码管; C语言;
Abstract
This design content for the stopwatch with AT89C52 single-puter as the core. Design of the main characteristics of the timer timing from 00 to 99 seconds, automatically add 1 every second, and also set a pause button and reset button, under any circumstances can suspend and reset. Use of single-chip timer/counter timing and number of principles, combined with the display circuit, LED digital tube circuit to design the timer and external interrupt. The software and anically, enables the system to realize the two LED display, display time is 00 ~ 99 seconds, timing accuracy for one second, time properly. Software system using C language program, including display program, interrupt service, external interrupt service routine, reset the program, etc.
Keywords : MCU; LED; C language;
目录
摘要 I
Abstract II
1引言 - 1 -
- 1 -
研究的意义与方法 - 1 -
2 电路方案论证 - 2 -
: - 2 -
采用STC89C51单片机 - 2 -
采用STC89C52单片机 - 2 -
: - 2 -
采用LED液晶显示屏 - 2 -
采用LED数码管显示 - 3 -
小结 - 3 -
3 系统硬件电路设计 - 3 -
STC89C52芯片 - 3 -
概述 - 3 -
STC89C52主要特性 - 3 -
STC89C52管脚说明 - 4 -
LED数码管显示器概述 - 5 -
数码管的分类 - 5 -
数码管的连接方法 - 5 -
总体设计方案 - 6 -
部分电路设计 - 7 -
- 7 -
按键部分电路接线 - 7 -
显示电路 - 8 -
复位电路 - 8 -
4 系统程序的设计 - 9 -
主程序设计 - 9 -
定时器T0子程序设计 - 10 -
5 联调与调试 - 10 -
- 10 -
- 12 -
结论与展望 - 13 -
致谢 - 14 -
参考文献 - 15 -
附录A 系统原理图 - 16 -
附录B 系统仿真图与实物图 - 17 -
附录C 系统PCB图 - 18 -
附录D 系统源程序 - 19 -

1引言

在生活和生产的各领域中,凡是有自动控制要求的地方都会伴随着单片机的身影出现;从简单到复杂,从空

毕业论文多功能秒表设计 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数26
  • 收藏数0 收藏
  • 顶次数0
  • 上传人分享精品
  • 文件大小9.88 MB
  • 时间2017-12-11