文档详情

毕业设计-基于AT89C2051单片机的电子定时器设计_精品.doc

发布:2018-04-02约8.53万字共52页下载文档
文本预览下载声明
电子定时器的设计 Electron timer design 学生: xxxx 班级: xxxxx3 学号: 0xxx 学部: xxx 专业: xx 指导老师: xxx 指导老师职称: xxxx 工作单位: xxxx 毕业设计(论文)完成时间自 2011 年 2 月 至 2011 年2 月 摘 要 随着时代的进步,电子行业的发展,定时器的应用也越来越广泛。但传统的定时器都是使用发条驱动式、电机传动式或电钟式等机械定时器。电子定时器相对产痛定时器来说,体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用。本设计采用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 timers 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 引言 7 1.1课题的来源和意义 7 1.2电子定时器的应用 8 1.3电子定时器的发展前景 8 2 51单片机内部结构及计数原理 8 2.1 51单片机内部机构 8 2.2计数原理 11 3 电子定时器的设计 19 3.1总体的设计要求 19 3.2 系统硬件电路设计 19 3.2.1 芯片的选择 19 3.2.2 交流控制接口电路 19 3.2.3显示电路 19 3.2.4 报警电路 19 3.3 系统程序的设计 20 3.3.1 主程序流程图 20 4 重要元件及重要电路 21 4.1 AT89C2051的内部结构及功能和引脚说明 21 4.1.1 AT89C2051主要性能 22 4.1.2 AT89C2051的内部结构 22 4.1.3 AT89C2051的引脚说明 24 4.2 继电器 26 4.2.1、电磁继电器的工作原理和特性 26
显示全部
相似文档