基于单片机精确计时的电源开关.doc

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机精确计时的电源开关

基于单片机精确计时的电源开关 XXX 电子信息科学与技术 指导教师:XXXX 摘 要 由于精确计时在当前工业控制,日常生活等领域有广泛应用,本设计采用MCS-51系列单片机为核心器件,辅以相应的外围电路,设计制作出了基于单片机的精确计时控制硬件系统,并通过继电器外接被控制端,可以实现用较小的电流去控制较大电流的目的。在硬件系统的基础之上进行软件的设计,以进行精确延时。在硬件方面,除了单片机外,使用四个七段LED数码管来进行显示,LED采用的是动态扫描显示,使用74LS14芯片进行驱动。软件方面采用汇编语言编程,使用SLISP软件进行在线的程序烧写,涉及了单片机的定时和中断的使用。Abstract:Precise time control is widely applied in the industrial control, and some other areas of our daily life at present. This design utilizes the MCS-51 microcontroller as the core components, and some external peripheral circuits. The microcontroller has been designed based on the precise time control hardware system, and contacted the controlled device with a Relay. It can be achieved that relatively small current could control a larger current. The software is designed based on the hardware system to implement precise delay, and four LED digital tubes each of which has seven sections are used to display time information. The LED equipment is programmed by dynamic scanning and uses the 74LS14 IC chip as the driver. The system is developed in the assemble language; the procedure is programmed with the SLISP software and is concerned with the timing function of MCU and the use of interrupt. Key words: MCU precise time control Relay circuit 目 录 第一章 前言 1 1.1. 课题背景 1 1.1.1. 单片机概述 1 1.1.2. 单片机的产生和发展历史 1 1.1.3. 单片机的发展趋势 1 1.1.4. 单片机的主要特点 1 1.1.5. 单片机的应用 1 1.1.6. 汇编语言简介 3 第二章 系统硬件设计 4 2.1. 设计方案 4 2.2. 硬件设计电路框图 4 2.3. 机型及器件选择 5 2.3.1. 单片机的选择 5 2.3.2. MCS-51系列单片机介绍 5 2.3.3. 晶振的选择 9 2.3.4. DS1307介绍 10 2.4. 时钟电路的设计 10 2.5. 复位电路的设计 11 2.6. LED显示电路设计与器件选择 11 2.7.1. LED显示器的选择 11 2.7.2. LED段驱动芯片的选择 12 2.7.3. LED位驱动芯片的选择 13 2.7. 按键电路设计与器件选择 13 2.8. 蜂鸣器电路的设计 14 2.9. 继电器电路的设计 15 2.10. 硬件的调试 15 第三章 软件设计 16 3.1. 程序流程图 16 3.2. 程序设计具体实现 16 3.3. 编译软件的使用和编译过程 19 3.4. 烧片 20 结 论 21 致 谢 22 参考文献 23 附件 24 硬件设计电路原理图 及PCB图 24 前言 课题背景 单片机概述 单片机也被称作“单片微型计算机”、“微控制器”、“嵌入式微控制器”。单片机一词最初是源于“Single Chip Microcomputer”,简称SCM。随着SCM在技术上、体系结构上不断扩展其控制功能,单片机已不能用“单片微型计算机”来表达其内涵。国际上逐渐采用“M

文档评论(0)

2017meng + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档