单片机多功能定时器毕业论文.doc
文本预览下载声明
摘 要
单片计算机即单片微型计算机(Single-Chip Microcomputer ),是集CPU,RAM, ROM ,定时,计数和多种接口于一体的微控制器。它体积小,成本低,功能强大,广泛应用于智能产品和工业自动化上。而MCS-51 单片机是各单片机中最为典型和最有代表性的一种。这次毕业设计通过对它的学习,应用,从而达到学习、设计、开发软、硬件的能力。本文通过对一个能实现计时,调时,闹铃功能的时钟系统的设计学习,详细介绍了MCS-51 单片机应用中的键盘显示,数码管显示原理,动态扫描显示原理,单片机的定时中断原理、从而达到学习,进一步了解单片机相关指令在各方面的应用。在日常生活和自动控制系统中,经常遇到对时间和温度实时监控的需求。这就给具有多种功能的时钟提供了市场,单片机的发展方向:单片机正朝着速度更快,运算能力更强,功能更强大的方向快速发展。在不久的将来,单片机将以更强大的功能和灵活的性能,快速的走进我们的生活,扮演着越来越重要的角色。
关键词:单片机 毕业设计 时钟 中断
Abstract
Single slice calculator namely single slice microcomputer.(The Microcomputer of the Single-Chip), gather CPU, RAM, ROM, in fixed time count to connect at the tiny controller of integral whole with variety.His physical volume is small, the cost is low, the function is strong, extensively applied automate at the intelligence product and the industry up.But 51 single slice machines is each single slice machine in is a typical model most with have representative 1 kind most .This graduation design passes the study toward it, applied, attain a study and design, develop thus soft, the ability of the hardware.When this texts pass can carry out to account to 1, adjust, make the design study of the clock system of bell function, detailed introduction 51 single slice machine application medium of keyboard manifestation, figures tube shows principle, the dynamic state scans manifestation principle, single slice in fixed time break off of the machine principle, attain a study thus, understand a single slice instructions application in everyones noodles with related machine further.
Key Words:Single-Chip Microcomputer graduation design clock interruption
目 录
摘要 I
Abstract II
绪论 1
1基本知识概况 2
1.1 发展情况 2
1.2 研究的主要内容 2
1.3 时钟工作原理 3
1.4 小结 3
2 总体方案确定与实现 4
2.1 硬件方案 4
2.2 软件方案 4
3 硬件设计 5
3.1 显示模块 5
3.1.1 LED显示器 5
3.1.2 8155 6
3.1.3 74ls164八位移位寄存器 9
3.1.4 74ls138译码器 9
3.1.5 ULN2003达林顿管 10
3.2 CPU 8051 10
3.3 键盘模块 11
3.3.1 矩阵式键盘 11
3.3.2 键盘硬件接口 12
3.4 音乐闹铃模块 12
3.4.1 LM386的功能 12
3.4.2 音频硬件接口 13
3.4.3 音乐闹铃原理 13
3.4.4 乐理知识 13
4 软件设计
显示全部