下载此文档

毕业设计(论文)-基于单片机的数字时钟的原理与制作.doc


文档分类:通信/电子 | 页数:约47页 举报非法文档有奖
1/ 47
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/ 47 下载此文档
文档列表 文档介绍
南京化工职业技术学院
毕业论文设计
题目:基于单片机的数字时钟的原理与制做
姓名: 沈晓雪
所在系部: 自动控制系
班级名称: 自动化1021
学号: 1003190103
指导老师: 谢安

2012年 12 月29号
摘要
随着时代的进步,电子行业的发展,定时器的应用也越来越广泛。但传统的定时器都是使用发条驱动式、电机传动式或电钟式等机械定时器。电子定时器相对产痛定时器来说,体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用。本设计采用AT89C2051单片机为核心,阐述了系统工作原理,给出了软件流程。该电子定时器满足对电器的电源进行控制,同时要方便用户对电子定时器的操作。最大时间能达到30h,切最大精度可以到分钟
关键词:定时器;单片机;AT89C2051;动态扫描;继电器
【Abstract】
Progress , development of electron industry , the timer application are also more and more broad with the times. But, the tradition timer all is to use spring to drive machinery timers such as style , electric motor drive style or electric clock style. Come the electron timer to say volume is small , weight is light , cost of construction is low , accuracy is high , life-span is long, and safety is reliable , adjust to be suitable for being frequently put into use conveniently relatively painful timer of product. Have designed that the monolithic machine is core originally adopt AT89C2051 , have set forth system operating principle , have given a software out technological process. The power source go along being the electron timer's turn to be satisfied with electrical equipment is controlled , is wants the convenience of customers operation to electron timer at the same time. Maximal time can reach 30 hs , by all means maximal accuracy can arrive at a minute
Keywords: Timer; Monolithic machine; AT89C2051; Development is scanned; Relay
目录
1 引言 6
7
7
7
2 51单片机内部结构及计数原理 8
51单片机内部机构 8
10
3 电子定时器的设计 18
18
系统硬件电路设计 18
系统程序的设计 19
4 重要元件及重要电路 20
AT89C2051的内部结构及功能和引脚说明 20
继电器 25
27
5 软件设计 28
伪定义 28
中断入口 29
主程序 30
33
BCD子程序(加1或减1) 34
35
36
36
39
41
42
(灭灯)程序 44
44
ERR(出错处理)程序 46
结论 47
致谢 48
附录 48
1 引言
我们在日常生活中,经常碰到一些需要定时的事情,例如:印相或放大照片,需要定在零点几秒的时间,洗衣机洗涤衣物需要定在几分钟到几十分钟的时间,电风扇需

毕业设计(论文)-基于单片机的数字时钟的原理与制作 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数 47
  • 收藏数 0 收藏
  • 顶次数 0
  • 上传人 3346389411
  • 文件大小 0 KB
  • 时间2013-11-11
最近更新