单片机最小系统
姓名:刘美玲班级:通信0802班
摘要
近年来随着计算机在社会领域的渗透, 单片机的应用正在不断地走向深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完善。
单片机最小系统是在以51单片机为基础上扩展,使其能更方便地运用于测试系统中。本设计主要在51单片机上扩展I/O口,扩展定时器定时范围,扩展键盘显示接口并写好底层程序。
关键词:最小系统,扩展,STC89C51, I/O接口
Abstract
With the infiltration in the social field of puter in recent years, the application of the one-puter is moving towards deepening constantly, drive tradition is it measure crescent benefit to upgrade day to control at the same time. In measuring in real time and automatically controlled one-puter application system, the one-puter often uses as a key part, only one-puter respect knowledge is not enough, should also follow the structure of the concrete hardware , and direct against and use the software of target’s characteristic bine concretly, in order to do perfectly.
The smallest system one puter is in expands at the base of MCS-51 one puter. Make it used more convient in the test system. this design mainly expands I/O in the take 51 on puter, expands the timer fixed time scope, expands the keyboard to demonstrate the connection and writes the first floor procedure.
Keyword:minimum system, expand,STC89C52, I/O
目录
4
5
什么是单片机 5
单片机的发展简史 5
单片机的特点 6
单片机的应用领域 7
主流单片机简介 9
11
单片机的内部结构 11
单片机的引脚功能 11
13
单片机最小系统介绍 13
电源供电模块 14
复位电路 14
振荡电路 15
单片机最小系统扩展部分 16
LED电路 16
蜂鸣器电路 19
系统的数码管电路 21
系统的键盘电路 24
A/D电路 33
D/A电路 38
系统串行通信电路 41
44
USB转TTL电路介绍 44
47
Keil C51软件介绍 47
Keil C51概述 47
Keil µVision2集成开发环境介绍 47
Keil µVision2集成开发环境的界面 48
STC-ISP软件介绍 49
由于单片机技术在各个领域正得到越来越广泛的应用,世界上许多集成电路生产厂家相继推出了各种类型的单片机,在单片机家族的众多成员中MCS-51系列单片机以其优越的性能、成熟的技术及高可靠性和高性能价格比,迅速占领了工业测控和自动化工程应用的主要市场,成为国内单片机应用领域中的主流。目前,可用于MCS-51系列单片机开发的硬件越来越多,与其配套的各类开发系统、各种软件也日趋完善,因此,可以极方便地利用现有资源,开发出用于不同目的的各类应用系统。
单片机最小系统是
单片机最小系统 来自淘豆网m.daumloan.com转载请标明出处.