1 / 24
文档名称:

《基于AT89C52单片机的人机接口》.doc

格式:doc   大小:594KB   页数:24页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

《基于AT89C52单片机的人机接口》.doc

上传人:miao19720107 2018/2/21 文件大小:594 KB

下载得到文件列表

《基于AT89C52单片机的人机接口》.doc

相关文档

文档介绍

文档介绍:湖南文理学院课程设计报告
课程名称: 微处理技术
课题名称: 基于AT89C52单片机的人机接口
院系: 电气与信息工程学院
专业班级: 自动化
学生姓名: 刘童
指导老师: 王文虎
完成时间: 2013年2月25日
报告成绩: 评阅意见:
评阅教师日期
摘要
基于AT89C52单片机的人机接口,通过结合C语言程序对51单片机各引脚的操作来完成一系列的功能。简单的人机接口就是让人与单片机进行通讯来实现所要到达的目的。人机接口由89C52芯片、键盘、数码管等三部分构成,以C语言作为媒介来完成数码管的静态显示和动态扫描。键盘分为独立键盘和矩阵键盘,通过按键来完成发送信号,给单片机输入信号;数码管作为显示部分,分为共阴极和共阳极;而89C52芯片是整个设计个核心部分,通过它可以完成一系列的运算和操作。运用Keil uVision 编译软件来编写程序, 同时也可以对写好的程序进行初步的调试,再可以借助Proteus ,调试程序、观测效果。通过对仿真效果的分析,基本上达到了预期的效果。
关键字:基于89C52的人机接口;C语言;键盘;数码管;Proteus uVision
Abstract
Based on the microcontroller of AT89C52 puter interface, bining C language program to 51 SCM each pin operation plete a series of function. Simple man-machine interface is to let municate with single chip puter to realize the purpose of to arrive. Man-machine interface from 89 c52 chip, keyboard, digital tube posed of three parts such as, with C language as a medium plete digital tube display of static and dynamic scanning. The keyboard is divided into independent keyboard and matrix keyboard, through the button to send signals to the single chip puter, complete input signal; Digital tube as a display part, divided mon cathode and anode were; And 89 c52 chip is the core part of the design, through which plete a series of operation and operation. Using the Keil pile software to write a program, but also to write good program carries on the preliminary debugging, then can use Proteus ISIS this kind of simulation software can through the written program produced. HEX file, commissioning procedures, observation effect. Based on the analysis of the simulation results, basically achieved the desired effect.
Key words: based on 89 c52 puter interface; C language; Keyboard; Digital tube; Proteus uVision
目录
摘要 I
Abstract II
目录 III
第一章 51单片机的基本结构与工作原理 1
51单片机的外形、内部结构及功能 1
51单片机的外形和引脚功能 1
51单片机的内部逻辑结构 2
51单片机的存储器 2
计算机存储器 2
51单片机的程序存储器ROM 2
51单片机的数据存储器RAM 3
51单片机的最小系统 4
51单片机的时钟电路 4