《电子密码锁中英文对照外文翻译文献.docx》由会员分享,可在线阅读,更多相关《电子密码锁中英文对照外文翻译文献.docx(12页珍藏版)》请在三一办公上搜索。
1、电子密码锁中英文对照外文翻译文献电子密码锁中英文对照外文翻译文献 电子密码锁中英文对照外文翻译文献 (文档含英文原文和中文翻译) 2 电子密码锁中英文对照外文翻译文献 THE DESIGN OF MATRIX KEYBOARD AND LCD DISPLAY BASED ON MCU Abstract The development of microelectronics technology and industrial measure requirement bring a good opportunity for development and research system,which
2、 makes it a broad prospects. The equipment has the advantages of small size, single power supply and a variety of output voltage leads it has a special module. Through the analysis of the hardware structure, we can summarizes each module needs.For example,we often go through the keys to realize the
3、control of the electronic device. Small to watch mobile phone, to the TV computer, to a variety of complex instruments, all need to realize various operations through the buttons. This design is an important part of step for the further research,using buttons to control the display,include some modu
4、les like LCD 1602 liquid crystal display,4*4 matrix keyboard,STC89C52single-chip microcomputer and other chips.Combine with the Proteus software,the simulation results are displayed on the LCD in 1602 type of data. KEY WORDS: Single-chip; LCD 1602 liquid crystal display; 4*4 Matrix keyboard 3 电子密码锁中
5、英文对照外文翻译文献 1 Introduction With the development of economy and the progress of science and technology, Microprocessors and peripheral chips have developed rapidly. The newest development of the integrated technology is the CPU chip and external. Like the program memory, data memory, parallel, serial,
6、 I/O timing / counter, interrupt controller and other control components are integrated in a chipsingle chip. SCM has a manufacturing process CMOS, The smaller lithography process improves integration which make the chip space smaller, lower cost, lower working voltage, lower power consumption. Adop
7、ts double CPU structure, increasing the width of data bus, improve the speed and the ability of data processing, a pipeline structure, improve the processing and computing speed, in order to meet the needs of real-time control and processing. To increase the storage capacity, the internal EPROM EPPR
8、OM, secure program, to improve the driving capability of parallel port, in order to reduce the peripheral driving chip, increase the logic function and control the external I/O port flexibility. Peripheral in serial mode based expansion; peripheral circuit internal installation is an obvious trend t
9、o connect the internet. Reliability and application level is getting higher and higher. Some high-end microcontroller and launched in recent years also contains many special function unit, Such as A/D 4 电子密码锁中英文对照外文翻译文献 converter, modem, communication controller, PLL, DMA, floating point unit etc.So
10、,as we add some external expansion of the circuit and channel interface it can constitute a variety of computer applications, such as industrial control systems, data acquisition system, automatic test system, intelligent instrument, intelligent interface, function module etc. With MCU development a
11、nd complete structure,SCM has become a powerful tool and will have a higher level and broader development. 2 Design of the whole structure of system This design is based on single-chip, include matrix keyboard and LCD display module. Single-chip is the first model to select the appropriate target, f
12、unction, reliability, cost, accuracy and speed control system. According to the actual situation of the topic selection, configuration management model different mainly from the following two aspects: First, supply chain management has strong anti-interference ability; second, SCM has a higher price
13、. For information input module, keyboard selection can use economic benefits and meet the requirements of the 4*4 key matrix keyboard can realize multi function key requirements. As for the output module, using LCD 1602 liquid crystal display module, liquid crystal to achieve key information process
14、ing functions after the show. The circuit of the system is required by AT89C51 chip, clock circuit, reset circuit, driving circuit, scanning line 5 电子密码锁中英文对照外文翻译文献 driving circuit and LCD1602 LCD screen. 4*4 matrix keyboard access of P1.0 P1.7,LCD 1602 screen to access P0.0P0.7. 3 System hardware c
15、ircuit design 3.1 Liquid crystal module The principle of liquid crystal display is the use of physical properties of liquid crystal, The display control area voltage, power is displayed, it can display graphics. Liquid crystal display with thin thickness, suitable for large scale integrated circuit
16、directly driven, easy to realize full color display characteristics, has been widely used in many fields of portable computer, digital camera, PDA mobile communication tools etc. 1602 liquid crystal is also called the 1602 character LCD, which is a special used to display letters, numbers, symbols o
17、f the LCD module. It is composed of a plurality of 5X7 or 5X11 dot matrix character components, each dot matrix character who can display a character, there is a distance between the interval of each, there are intervals between each line, played the character spacing and row spacing, and because of
18、 this it is not well display graphics (with custom CGRAM, show the effect is not good). 1602 LCD refers to the display of the content for the 16X2, which can display two lines, 16 characters per line (LCD module display characters and numbers). 6 电子密码锁中英文对照外文翻译文献 3.2 Matrix keyboard module 1. Key ch
19、aracteristics The keyboard is composed of a number of separate keys, press and release key is through the closed mechanical contact and off to achieve, because of the elastic action of mechanical contact, in the closing and the opening of the moment has a dither. Jitter must be eliminated, include s
20、oftware and hardware elimination. 2Scanning principle First determine whether a key is closed, and then one by one scan to further determine which button closure; (1) D0 D3 output 0, level detection line D4 to D7. If the D4 - level D7 all high, said no key was pressed. If the D4 - level D7 is not al
21、l high, said the key was pressed. (2) If no key closure, return the scanning. If there is a button closure, in column by column scanning, closed key key number to find out. The D0=0, D1 D3=1, D4 D7 level, if D4=0, said the K1 key is pressed; similarly, if the D5 D7=0, K5 respectively, K9, K13 key is
22、 down; if the D4 D7=1, said that without a key is pressed. Then the D1=0, D0, D2, D3 was 1, the scanning of the second columns, which were carried on, until the closure of the key found. 4 Software design 7 电子密码锁中英文对照外文翻译文献 The software design mainly consists of keyboard scanning procedures, write i
23、nstruction code program of LCD module, LCD module display data initialization code written subroutine, liquid crystal display module, liquid crystal display a character subroutine, time delay subroutine and so on. Programming for each module, software programming ended, Keil software was used for de
24、bugging, when the various parts of the program debugging is correct, according to the source sequence of calls, the parts together, compile, compile successfully downloaded to the mcu. The result is when the user presses a key, LCD display of the button is pressed after the realization of functional
25、 parameters corresponding to the. When the system power supply, P1 port scan cycle and the key button debounce, after completion of input through the SCM processing, output in the P0 port, through the liquid crystal display program content, complete system function. 5 Conclusion With the continuous
26、development of high and new technology, the miniaturization and the miniaturization of electronic products has been achieved. And all kinds of new technology, as a single field of the new method, the development trend of new products and symbol - intelligent significantly is one of the trends in dev
27、elopment. The module design display microcontroller matrix keyboard and LCD, make us understand 8 电子密码锁中英文对照外文翻译文献 to this technology innovation, through in-depth study on this technology, we can master the use in other areas, such as the design of electronic password lock, adjustment and control of
28、 indoor temperature and humidity, field access control system design etc. Technological progress and economic development are the main themes of the present era, the improvement of peoples living standard is bound to the requirements of electronic products increase, the design of any a small system
29、is for a foundation, design of system innovation, the hardware, software integration, method and technology of virtual display and soft measurement artificial intelligence, I firmly believe that our life will be more colourful. 9 电子密码锁中英文对照外文翻译文献 基于单片机的矩阵键盘与液晶显示的设计 摘要 微电子技术的发展和工业测量的需求,给系统的开发及深入研究带来了
30、良好的契机,发展前景广阔。其设备体积小,单电源供电,多种电压输出的特点,使其模块的设计有其特殊性。通过对硬件结构的分析,总结出了各功能模块的需求。例如,我们经常要通过按键来实现对电子装置的控制,小到手表手机,中到电视电脑,大到各种复杂仪器,都需要通过按键来实现各种操作。本次设计作为深入开展进一步的研究是一个重要环节,将以按键控制显示为主题,以LCD 1602液晶显示、4*4矩阵键盘、STC89C52单片机及其接口芯片为核心构造一个键盘控制显示系统,并使用Proteus软件对所设计的电路进行仿真,仿真结果是在LCD 1602液晶上显示键入的数据。 关键词:单片机;LCD 1602液晶显示;矩阵键
31、盘 1 简介 随着经济的进步科技的发展,微处理器及其外围芯片有了迅速的发展。集成技术的最新进展之一是将CPU和外围芯片,如程序存储器、数据存储器、并行、串行、I/O定时计数器、中断控制器及其他控制部件集成在一个芯片之中,制成单片。单片机具有制作工艺 CMOS 化;更小的光刻工艺提高了集成度,从而使芯片更小、成本更低、工作电压更低、功耗更低;采用双 CPU 结构,增加数据总线的宽度,提高数据处理的速度和能力;采用流水线结构,提高处理和运算速度,以适应实时控制和处理的需要。增大存储容量,片内 EPROM 的 EPPROM 化,程序的保密化;提高并行口驱动能力,以减少外围驱动芯片,增加外围 I/O
32、口的逻辑功能和控制的灵活性;以串行方式为主的外围扩展;外围电路的内装化;和互联网连接已是一种明显的走向;可靠性及应用水平越来越高等。而近年来推出的一些高档单片机还包含有许多特殊功能单元,如 A/D转5 电子密码锁中英文对照外文翻译文献 换器、调制解调器、通信控制器、锁相环、DMA、浮点运算单元等。因此,只要外加一些扩展电路及必要的通道接口就可以构成各种计算机应用系统,如工业控制系统、数据采集系统、自动测试系统、智能仪表、智能接口、功能模块等。单片机结构的发展与完整,其应用系统会向更高层次和更大规模发展。单片机已成为高科技领域中的有力工具。 2 系统整体结构设计 本次的毕业设计是基于单片机的矩阵
33、键盘输入与液晶显示的设计,首先单片机(SCM)模型选择相应的目标、功能、可靠性、成本,精度和速度控制系统。根据这个主题的实际情况,选择不同的配置管理模型主要考虑从以下两个方面:第一,供应链管理具有较强的抗干扰能力;第二,单片机具有较高的性价比。对于信息的输入模块,键盘的选择可采用经济实惠又满足要求的4*4按键式矩阵键盘,按键丰富可实现多个功能按键需求。至于输出模块,用的是LCD 1602液晶显示模块,实现按键信息功能处理后的液晶显示。该系统实现要求的电路是由STC89C52芯片、时钟电路、复位电路,列扫描驱动电路、行线驱动电路和LCD 1602液晶屏。4*4矩阵键盘接入P1.0P1.7,LCD
34、 1602液晶屏接入P0.0P0.7。 3 系统的硬件电路设计 3.1 液晶显示模块 液晶显示的原理是利用液晶的物理特性,通过电压对其显示区域进行控制,有电就有显示,这样即可以显示出图形。液晶显示器具有厚度薄、适用于大规模集成电路直接驱动、易于实现全彩色显示的特点,目前已经被广泛应用在便携式电脑、数字摄像机、PDA移动通信工具等众多领域。 1602液晶也叫1602字符型液晶,它是一种专门用来显示字母、数字、符号等的点阵型液晶模块。它由若干个5X7或者5X11等点阵字符位组成,每个点阵字符位都可以显示一个字符,每位之间有一个点距的间隔,每行之间也有间6 电子密码锁中英文对照外文翻译文献 隔,起到
35、了字符间距和行间距的作用,正因为如此所以它不能很好地显示图形。1602 LCD是指显示的内容为16X2,即可以显示两行,每行16个字符液晶模块。 3.2 矩阵键盘模块 1、键的特性 键盘是由若干独立的键组成,键的按下与释放是通过机械触点的闭合与断开来实现的,因机械触点的弹性作用,在闭合与断开的瞬间均有一个抖动过程 。抖动必须消除,去抖动的方法主要有软件消抖和硬件消抖。 2、扫描原理 首先确定是否有键闭合,然后逐一扫描以进一步确定是哪一键闭合; 使列线D0D3都输出0,检测行线D4D7的电平。如果D4D7上的电平全为高,则表示没有键被按下。如果D4D7上的电平不全为高,则表示有键被按下。 如果没
36、有键闭合,就返回扫描。如果有键闭合,在进行逐列扫描,找出闭合键的键号。先使D0=0,D1D3=1,检测D4D7上的电平,如果D4=0,表示K1键被按下;同理,如果D5D7=0,分别表示K5、K9、K13键被按下;如果D4D7=1,则表示这一列没有键被按下。再使D1=0,D0、D2、D3为1,对第二列进行扫描,这样依次进行下去,直到把闭合的键找到为止。 4 软件设计 整个软件设计的主要构成由键盘扫描程序,液晶模块的写指令代码子程序,液晶模块的写显示数据代码子程序,初始化液晶显示模块子程序,液晶显示一个字符子程序,延时子程序等等。对于各个模块进行编程,软件编程结束后,用Keil软件进行调试,当各个
37、部分的子程序调试无误后,按照源程序的调用顺序,将各个部分连接起来,进行编译,编译成功后下载到单片机中。得到的结果是当用户按下某个键是,在液晶显示器上显示该键被按下后实现功能对应的参数。当给系统供电后,P1口进行按键的循环扫描及按键消抖,输入完成以后经过单片机的处理,在P0口输出,通过液晶显示程序中的内容,完成系统功能。7 电子密码锁中英文对照外文翻译文献 5总结 随着高新技术的不断发展,电子产品的微型化和小型化已得到了实现。而作为单片机领域的各种新技术,新方法,新产品的发展趋势和显著标志智能话是今后发展的动向之一。对单片机矩阵键盘与液晶显示模块的设计,使我们了解到了这一技术的革新,通过对这一技术的不断深入研究,我们可熟练的掌握运用于其他领域,如电子密码锁的设计,室内温湿度的调节与控制,门禁系统的设计等等领域。科技进步和经济的发展是当今时代的主题,人们生活水平的提高必然对电子类产品的要求增加,任何一个小系统的设计都是对于大系统设计的一个铺垫,技术革新,采用硬件软化,软件集成,虚拟显示和软测量等人工智能的方法和技术,我坚信我们的生活会变得更美好。 8 电子密码锁中英文对照外文翻译文献 谢谢下载, 祝您生活愉快!9