外文翻译--AT89C51单片机的介绍

合集下载

电子信息工程外文翻译 外文文献 英文文献

电子信息工程外文翻译 外文文献 英文文献

电子信息工程电路编程中的AT89C51单片机译文标题电路编程中的AT89C51单片机AT89C51 In-Circuit Programming 原文标题作者Robert W.Sparks等译名国籍美国斯帕克等W.罗伯特Atmel Corporation原文出处摘要本应用说明的是ATMEL公司AT89C51的电路可编程闪存的微控制器。

为在电路可编程AT89C51的应用提出了与应用程序相关的例子,它的修改要求支持在线编程。

这种方法显示在该应用程序中的AT89C51单片机可通过商业电话线远程改编。

本应用笔记中描述的电路,仅支持5伏电压下编程,需要使用一个AT89C51-XX-5。

标准A T89C51的需要12伏电压。

该应用程序的软件可从ATMEL下载。

总论当不在进行程序设计的时候,在电路设计中的AT89C51设计将变得透明化。

在编程期间必须重视EA/VPP这一脚。

在不使用外部程序存储器的应用程序中,这脚可能会永久接到VCC。

应用程序使用的外部程序存储器要求这一脚为低电平才能正常运行。

RST在编程期间必须为高电平。

应该提供一种方法使得电路通入电源以后,使RST代替主要的复位电路起到复位的作用。

在编程过程中,PSEN必须保持低电平,在正常运行期间绝不能使用。

ALE/ PRO在编程过程中输出低电平,在正常运行期间绝不能使用在编程过程中AT89C5I / 端口是用于模式应用程序,地址和数据选择的,可能要该控制器从应用的电路隔离。

如何做到这一点取决于应用程序输入端在编程过程中,控制器必须与应用电路的信号来源隔离。

带有三个输出状态的缓冲区在应用程序之间插入电路和控制器,同时在编程时缓冲区输出三种状态。

一个多路复用器用于信号源之间进行选择,适用于任何一方的应用电路或编程控制器电路的信号输出端如果应用的电路可以允许端口在编程过程中的状态变化,则不需要改变电路。

如果应电路的状态,必须事先在编程过程中的保持不变,可能在控制器和应用电路中插入锁存。

AT89C51单片机简介

AT89C51单片机简介

AT89C51单片机简介AT89C51是一种带4K字节闪烁可编程可擦除只读存储器(FPEROM—Falsh Programmable and Erasable Read Only Memory)的低电压,高性能CMOS8位微处理器,俗称单片机。

AT89C2051是一种带2K字节闪烁可编程可擦除只读存储器的单片机。

单片机的可擦除只读存储器可以反复擦除100次。

该器件采用ATMEL高密度非易失存储器制造技术制造,与工业标准的MCS-51指令集和输出管脚相兼容。

由于将多功能8位CPU和闪烁存储器组合在单个芯片中,ATMEL的AT89C51是一种高效微控制器,AT89C2051是它的一种精简版本。

AT89C单片机为很多嵌入式控制系统提供了一种灵活性高且价廉的方案。

图片见下图:查看外形图及大图点击此处1.主要特性:·与MCS-51 兼容·4K字节可编程闪烁存储器寿命:1000写/擦循环数据保留时间:10年·全静态工作:0Hz-24Hz·三级程序存储器锁定·128*8位内部RAM·32可编程I/O线·两个16位定时器/计数器·5个中断源·可编程串行通道·低功耗的闲置和掉电模式·片内振荡器和时钟电路2.管脚说明:VCC:供电电压。

GND:接地。

P0口:P0口为一个8位漏级开路双向I/O口,每脚可吸收8TTL门电流。

当P1口的管脚第一次写1时,被定义为高阻输入。

P0能够用于外部程序数据存储器,它可以被定义为数据/地址的第八位。

在FIASH编程时,P0 口作为原码输入口,当FIASH进行校验时,P0输出原码,此时P0外部必须被拉高。

P1口:P1口是一个内部提供上拉电阻的8位双向I/O口,P1口缓冲器能接收输出4TTL门电流。

P1口管脚写入1后,被内部上拉为高,可用作输入,P1口被外部下拉为低电平时,将输出电流,这是由于内部上拉的缘故。

单片机外文翻译----AT89C51单片机控制的恒温水域温控系统

单片机外文翻译----AT89C51单片机控制的恒温水域温控系统

中文2528字AT89C51 single-chip temperature-controlled watertemperature control systemEarly contact thermometers for chemical water temperature thermostat shortcomings, this paper introduces an approach based on AT89C51 single-chip microcomputer-based controller, combined with integrated temperature sensor AD590J composed of constant temperature water temperature control system.Chemical, chemical experiments and research on water temperature requirements of high performance and accuracy, the current market face chemistry, chemical experiments and study the high price of heated water systems. In this paper, the design of single-chip component AT89C51 from the temperature control system for people with low-cost, high precision, intelligent control, etc.The water temperature of the performance indicators are: Temperature range: 0 ~ 1O0 ℃; temperature range: 0 ~ 99.9 ℃; temperature: 0.4 ℃; heating power: 1000W.Part of the hardware circuitAT89C51 selected as the system CPU, it is a low-power, high performance, 4kB flash chip programmable / erasable read-only memory 8-bit microcontroller COMS.Block diagram of the system AT89C51 single-chip by chip, IO expansion port 8255 chip, 8032 chip digital-to-analog conversion, analog-to-digital conversion chip 0809, keyboard control, status indication circuit, sampling circuit temperature thermostat control circuit, driver circuit and display circuit, such as group into.1.1 temperature sampling circuitTemperature sampling circuit using AD590 current-mode temperature-sensitive device of its stability and linearity are better. When in AD590 for the current 273.2uA, temperature increase 1℃, the current increase in 1uA. The current is converted to voltage signal by analog-to-digital converter ADC0809, AT89C51 single-chip temperature monitoring and conversion. One resistor R measurement using a low temperature coefficient of resistance, temperature coefficient of 10 x l0_6 / ℃. When monitoring the temperature of lO0 ℃when generated in the resistor voltage 18.66V about, when the temperature is 0 ℃when generated in the resistance of about 13.66V voltage, that is, at a temperature of 0 ~ 1O0 ℃in resistance on pressure drop resulting from bad to 5v. However, when the temperature is 0 ℃demodulation IC2 potential output allows for OV, the time when 1O0 ℃for IC2 output 5v, in the constant temperature water tank 3 installed AD590, which are located under the sink in the various parts, using its monitoring of temperature changes in the market tank in order to control the stirring motor to ensure uniform temperature sink.1.2 thermostat control circuitConstant temperature control circuit from heating thermostat temperature setting and the composition of the two parts of the circuit. The thermostat circuit settings temperature to provide the working conditions of the heating circuit, the circuit set by the keyboard combination of software programming to achieve common. In addition to each button and set the IO port connected to 8255, but also through a door with the AT89C51 and T0 timer connected so that when the button is depressed immediately after the interruption to the application AT89C51, 8255 inquiry, and at the same time the functions of the corresponding control . One set is the key type from the set and the AT89C51, D / A converter analog voltage measurement is the AD590, after the detection signal AT89C51, D / A converter provides analog, IC3 constitute a comparison amplifier, IC4 ratio amplifier , BG1, BG2, T constitutes a thyristor conduction angle control circuit, a single bipolar transistor oscillator circuit the lower the frequency, SCR's on-the shorter the time the smaller the heating power, on the contrary higher. Single-junction transistors and the oscillation frequency by the ratio of amplifier output voltage control, AT89C51 single-chip temperature settings through the sample and the temperature difference after the value, after amplification by comparison with the temperature change to mediate voltage thyristor the conduction angle in order to achieve the adjustment of heating power to meet the temperature requirements of the waters of the thermostat.1.3 Drive CircuitWhen the 8255 high output corresponding IO port, the drive transistor turn-on 9013, so that the relay action, in order to drive the work of the relevant circuit. Significant choice for a show so that the display to choose between the "settings" and "measurement".1.4 Keyboard control and status indication circuitWith the 8255 connected to the IO port 8 and 9 LED button to complete thecommon waters of the control thermostat and the instructions state. In addition to each button with the 8255 connected to the IO port, but also with AT89C51 it connected the timer so that when the button is depressed immediately after the interruption of AT89C51 applications, and query the status of 8255 in order to carry out the functions of the corresponding control. 1.5 shows the circuit Display circuit using a half the number of table 4 show the temperature head waters of the measurement of temperature and set temperature.2 Software designSkeleton of the software, contains initialization, configuration subroutine, subroutines to deal with temperature, showing subroutine. Completion of system initialization after power-on reset 8255 and software initialization and pre-heated water for the water to wait for work, and open the inlet solenoid valve, when the corresponding button press interrupted when AT89C51, read 8255 the status of the population to determine the function keys in order to call the corresponding subroutine. Subroutine completed one set of the set temperature function. Initialization settings for the "0o.0o", when the choice set and to identify key addition and subtraction operations for each click on the Settings button software settings for the corresponding temperature of the addition and subtraction operation count, and the value storage and display. Subroutine to deal with the role of temperature is the temperature set values and the difference to the SCR trigger circuit heating thermostat control.2.1 The use of Pro / E to establish mold standard parts library FamilyPro/E is part of the family table (or assembly, or the characteristics of) a collection of these parts (or assembly or characteristics) are broadly similar, but in 12 some small differences, for example, fastening screws Hexagon many kinds of specifications, but they seem to be like and to implement the same function, so in the Pro / E in them as a part family is a very useful table in the family the same as a table-driven components parts to be identified. In Pro / E use group table has the following advantages:1) simple and compact to create and store a large number of objects.2) For the generation of standard parts to save a great deal of time and work.3) parts from a series of documents to generate change, do not have to re-create and generate for each part.4) In the parts to create tiny changes in the relationship do not have to use to changethe model.Table feature allows three-dimensional mold standard parts library and standard library mold the development and use of things become very easy. The following guide to commonly used as an example to create a lead-chu-chu series of standard parts. First, Pro / E in the completion of the three-dimensional modeling guide column, and the need to change the size parameters defined as symbols. To mark the size of symbol table for the family members did not indicate the size of the features of a non-changing, dependent on the existence of other features.Family Table is essentially constituted by the rows and columns of the table to start, you can use the Pro / TABLE to create and modify. Here contains examples and their appropriate values, the use of specific projects were listed. Generic model is not in the group table of the project be included in each instance will be automatically generated in accordance with design intent, Family Table, regardless of the merits of another to create a new table or modify an existing table, you can add to the table project. The use of the above-mentioned methods. Enterprises can die design in accordance with the need to build their own three-dimensional mold standard parts library.2.2 The use of Pro / E to establish the standard mold base libraryIn the use of Pro / E to establish the mold standard parts library, in order to further improve the efficiency of die design, quality and standardization, it is necessary to consider the establishment of standard mold base library, the following discussion of how to use Pro / E to establish the standard mold base. The establishment of standard mold base the first thing to consider is the business of processing capacity punching equipment, punching equipment to the processing capacity as well as equipment based on the work table to consider the standard form of mold, practicality and versatility will be higher. In the three-dimensional mold standard parts library has been established under the premise of the establishment of standards mold-base much to the convenience and quick. First of all, to enter the Pro / ASSMBLY equipped) mode, with the establishment of similar communities standard parts, the specific path for the operation: ASSMBLY (components) -- Family Tab (Family Table add-item (additional items)) -- Component (component), and then choose to change to take place in the assembly of parts or components as the assembly of the project group table, and in the assembly do not need to change family (such as fasteners) you do not need to select. instances in the assembly of the assemblyaccording to the agreed relationship between the automatically generated . other aircraft such as the bending modulus, tensile modulus planes.Taking full account of this, pressing equipment and typical performance parameters under the premise of stamping parts, you can use the same solution to create a standard mold base.3 ConclusionAt present, some colleges and universities as a result of provincial funding in the strained devices, laboratory equipment, more backward, in chemistry and chemical engineering laboratories still use a contact thermometer to control water temperature. In order to overcome the factors that a lot of inconvenience to the original based on the old thermostat has been designed transformation of waters. Proved by the use of the design,to meet the current chemistry, chemical engineering and research needs of the experimental results.AT89C51单片机控制的恒温水域温控系统针对化工早期接点温度计恒温水域控温存在的缺点,本文介绍了一种基于AT89C51单片机为主控制器,结合AD590J集成温度传感器等组成的恒温水域温控系统。

AT89C51单片机简介

AT89C51单片机简介

AT89C51单片机简介AT89C51是一种带4K字节闪烁可编程可擦除只读存储器(FPEROM—FalshProgrammableandErasableReadOnlyMemory)的低电压,高性能CMOS8位微处理器,俗称单片机。

AT89C2051是一种带2K字节闪烁可编程可擦除只读存储器的单片机。

单片机的可擦除只读存储器可以反复擦除100次。

该器件采用ATMEL高密度非易失存储器制造技术制造,与工业标准的MCS-51指令集和输出管脚相兼容。

由于将多功能8位CPU和闪烁存储器组合在单个芯片中,ATMEL·5个中断源·可编程串行通道·低功耗的闲置和掉电模式·片内振荡器和时钟电路2.管脚说明:VCC:供电电压。

GND:接地。

P0口:P0口为一个8位漏级开路双向I/O口,每脚可吸收8TTL门电流。

当P1口的管脚第一次写1时,被定义为高阻输入。

P0能够用于外部程序数据存储器,它可以被定义为数据/地址的第八位。

在FIASH编程时,P0口作为原码输入口,当FIASH进行校验时,P0输出原码,此时P0P1门电流。

P1P2门电流,当口的16位口在P3P3口写入P3P3.0RXD(串行输入口)P3.1TXD(串行输出口)P3.2/INT0(外部中断0)P3.3/INT1(外部中断1)P3.4T0(记时器0外部输入)P3.5T1(记时器1外部输入)P3.6/WR(外部数据存储器写选通)P3.7/RD(外部数据存储器读选通)P3口同时为闪烁编程和编程校验接收一些控制信号。

FLASH0。

此时,/PSENXTAL1和XTAL2分别为反向放大器的输入和输出。

该反向放大器可以配置为片内振荡器。

石晶振荡和陶瓷振荡均可采用。

如采用外部时钟源驱动器件,XTAL2应不接。

有余输入至内部时钟信号要通过一个二分频触发器,因此对外部时钟信号的脉宽无任何要求,但必须保证脉冲的高低电平要求的宽度。

4.芯片擦除:整个PEROM阵列和三个锁定位的电擦除可通过正确的控制信号组合,并保持ALE管脚处于低电平10ms来完成。

AT89C51芯片介绍

AT89C51芯片介绍

AT89C51 芯片介绍
AT89C51 是一种带4K 字节闪烁可编程可擦除只读存储器(FPEROMFalsh Programmable and Erasable Read Only Memory)的低电压,高性能CMOS8 位
微处理器,俗称单片机。

该器件采用ATMEL 高密度非易失存储器制造技术制造,与工业标准的MCS-51 指令集和输出管脚相兼容。

由于将多功能8 位CPU 和闪烁存储器组合在单个芯片中,ATMEL 的AT89C51 是一种高效微控
制器,为很多嵌入式控制系统提供了一种灵活性高且价廉的方案。

1.主要特性:
-与MCS-51 兼容
-4K 字节可编程闪烁存储器
寿命:1000 写/擦循环
数据保留时间:10 年
-全静态工作:0Hz-24Hz
-三级程序存储器锁定。

AT89C51单片机简单介绍

AT89C51单片机简单介绍

P2口
• P2口:P2口为一个内部上拉电阻的8位双向I/O口, 口 P2口缓冲器可接收,输出4个TTL门电流,当P2 口被写“1”时,其管脚被内部上拉电阻拉高,且 作为输入。并因此作为输入时,P2口的管脚被外 部拉低,将输出电流。这是由于内部上拉的缘故。 P2口当用于外部程序存储器或16位地址外部数据 存储器进行存取时,P2口输出地址的高八位。在 给出地址“1”时,它利用内部上拉优势,当对外 部八位地址数据存储器进行读写时,P2口输出其 特殊功能寄存器的内容。P2口在FLASH编程和校 验时接收高八位地址信号和控制信号。
P3口
• P3口:P3口管脚是8个带内部上拉电阻的双向I/O口,可接收输出4个 口 TTL门电流。当P3口写入“1”后,它们被内部上拉为高电平,并用作 输入。作为输入,由于外部下拉为低电平,P3口将输出电流(ILL) 这是由于上拉的缘故。 • P3口也可作为AT89C51的一些特殊功能口,如下表所示: • 口管脚 备选功能 • P3.0 RXD(串行输入口) • P3.1 TXD(串行输出口) • P3.2 /INT0(外部中断0) • P3.3 /INT1(外部中断1) • P3.4 T0(记时器0外部输入) • P3.5 T1(记时器1外部输入) • P3.6 /WR(外部数据存储器写选通) • P3.7 /RD(外部数据存储器读选通) • P3口同时为闪烁编程和编程校验接收一些控制信号。
at89c51at89c51是美国atmel公司生产的低电压高性能cmos8位单片机片内含4kbytes的可反复擦写的只读程序存储器和128bytes的随机存取数据存储器ram器件采用atmel公司的高密度非易失性存储技术生产兼容标准mcs51指令系统片内置通用8位中央处理器cpu和flash存储单元

有关单片机AT89C51简介的中英文资料

单片机AT89C51简介AT89C51是美国ATMEL公司生产的低电压,高性能CMOS8位单片机,片内含4Kb字节的快速可擦写的只读程序存储器(PEROM)和128 字节的随机存取数据存储器(RAM),器件采用ATMEL公司的高密度、非易失性存储技术生产,兼容标准MCS-51产品指令系统,片内置通用8位中央处理器(CPU)和Flash存储单元,功能强大AT89C51单片机可为您提供许多高性价比的应用场合,可灵活应用于各种控制领域。

主要性能参数:1)与MCS-51产品指令系统完全兼容;2)4K字节可重复写flash闪速存储器;3)1000次擦写周期;4)全静态操作:0HZ-24MHZ;5)三级加密程序存储器;6)128*8字节内部RAM;7)32个可编程I/O口;8)2个16位定时/计数器;9)6个中断源;10)可编程串行UART通道;11)低功耗空闲和掉电模式。

功能特性概述:AT89C51提供以下标准功能:4K 字节闪速存储器,128字节内部RAM,32个I/O口线,两个16位定时/计数器,一个5向量两级中断结构,一个全双工串行通信口,片内振荡器及时钟电路。

同时,AT89C51可降至0HZ的静态逻辑操作,并支持两种软件可选的节电工作模式。

空闲方式停止CPU的工作,但允许RAM,定时/计数器,串行通信口及中断系统继续工作。

掉电方式保存RAM 中的内容,但振荡器停止工作并禁止其它所有部件工作直到下一个硬件复位。

引脚功能说明:Vcc:电源电压GND:地P0口:P0口是一组8位漏极开路型双向I/O口,也即地址/数据总线复位口。

作为输出口用时,每位能吸收电流的方式驱动8个逻辑门电路,对端口写“1”可作为高阻抗输入端用。

在访问外部数据存储器或程序存储器时,这组口线分时转换地址(低8位)和数据总线复用,在访问期间激活内部上拉电阻。

P1口:P1是一个带内部上拉电阻的8位双向I/O口,P1的输出缓冲级可驱动(吸收或输出电流)4个TTL逻辑门电路。

有关单片机AT89C51简介的中英文资料

单片机AT89C51简介AT89C51是美国ATMEL公司生产的低电压,高性能CMOS8位单片机,片内含4Kb字节的快速可擦写的只读程序存储器(PEROM)和128 字节的随机存取数据存储器(RAM),器件采用ATMEL公司的高密度、非易失性存储技术生产,兼容标准MCS-51产品指令系统,片内置通用8位中央处理器(CPU)和Flash存储单元,功能强大AT89C51单片机可为您提供许多高性价比的应用场合,可灵活应用于各种控制领域。

主要性能参数:1)与MCS-51产品指令系统完全兼容;2)4K字节可重复写flash闪速存储器;3)1000次擦写周期;4)全静态操作:0HZ-24MHZ;5)三级加密程序存储器;6)128*8字节内部RAM;7)32个可编程I/O口;8)2个16位定时/计数器;9)6个中断源;10)可编程串行UART通道;11)低功耗空闲和掉电模式。

功能特性概述:AT89C51提供以下标准功能:4K 字节闪速存储器,128字节内部RAM,32个I/O口线,两个16位定时/计数器,一个5向量两级中断结构,一个全双工串行通信口,片内振荡器及时钟电路。

同时,AT89C51可降至0HZ的静态逻辑操作,并支持两种软件可选的节电工作模式。

空闲方式停止CPU的工作,但允许RAM,定时/计数器,串行通信口及中断系统继续工作。

掉电方式保存RAM 中的内容,但振荡器停止工作并禁止其它所有部件工作直到下一个硬件复位。

引脚功能说明:Vcc:电源电压GND:地P0口:P0口是一组8位漏极开路型双向I/O口,也即地址/数据总线复位口。

作为输出口用时,每位能吸收电流的方式驱动8个逻辑门电路,对端口写“1”可作为高阻抗输入端用。

在访问外部数据存储器或程序存储器时,这组口线分时转换地址(低8位)和数据总线复用,在访问期间激活内部上拉电阻。

P1口:P1是一个带内部上拉电阻的8位双向I/O口,P1的输出缓冲级可驱动(吸收或输出电流)4个TTL逻辑门电路。

AT89C51单片机简介

AT89C51单片机简介at89c51单片机简介2021/05/2503:35at89c51单片机简介AT89C51是一种具有4K字节的闪存可编程可擦除只读存储器(fperom―falshprogrammableanderasablereadonlymemory)的低电压,高性能cmos8位微处理器,俗称单片机。

at89c2051是一种带2k字节闪烁可编程可擦除只读存储器的单片机。

单片机的可擦除只读存储器可以反复擦除100次。

该器件采用atmel高密度非易失存储器制造技术制造,与工业标准的mcs-51指令集和输出管脚相兼容。

由于将多功能8位cpu和闪烁存储器组合在单个芯片中,atmel的at89c51是一种高效微控制器,at89c2051是它的一种精简版本。

at89c单片机为很多嵌入式控制系统提供了一种灵活性高且价廉的方案。

图片见下图:要查看轮廓图和大图,请单击此处1.主要特性:与MCS-51兼容4k字节可编程闪烁存储器寿命:1000写/擦循环数据保留时间:10年全静态工作:0hz-24hz三级程序存储器锁定128*8位内部ram32可编程i/o线两个16位定时器/计数器5个中断源可编程串行通道低功耗的闲置和掉电模式片上振荡器和时钟电路2.管脚说明:VCC:电源电压。

接地:接地。

p0口:p0口为一个8位漏级开路双向i/o口,每脚可吸收8ttl门电流。

当p1口的管脚第一次写1时,被定义为高阻输入。

p0能够用于外部程序数据存储器,它可以被定义为数据/地址的第八位。

在fiash编程时,p0口作为原码输入口,当fiash进行校验时,p0输出原码,此时p0外部必须被拉高。

端口P1:端口P1是一个具有内部上拉电阻的8位双向I/O端口。

端口P1的缓冲器可以接收输出的4ttl栅极电流。

P1端口的引脚写入1后,它在内部被拉高,可以用作输入。

P1端口被外部拉低至低电平,并将输出电流,这是由于内部上拉。

在闪存编程和验证期间,P1端口作为第八位地址接收。

电气电子专业外文翻译--AT89C51的介绍

原文:The Introduction of AT89C51DescriptionThe AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.Function characteristicThe AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.Pin DescriptionVCC:Supply voltage.GND:Ground.Port 0Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as highimpedance inputs.Port 0 may also be configured to be the multiplexed loworder address/data bus during accesses to external program and data memory. In this mode P0 has internal pullups.Port 0 also receives the code bytes during Flash programming,and outputs the code bytes during programverification. External pullups are required during programverification.Port 1Port 1 is an 8-bit bi-directional I/O port with internal pullups.The Port 1 output buffers can sink/source four TTL inputs.When 1s are written to Port 1 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pullups.Port 1 also receives the low-order address bytes during Flash programming and verification.Port 2Port 2 is an 8-bit bi-directional I/O port with internal pullups.The Port 2 output buffers can sink/source four TTL inputs.When 1s are written to Port 2 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 2 pins that are externally being pulled low will source current, because of the internal pullups.Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses. In this application, it uses strong internal pullupswhen emitting 1s. During accesses to external data memory that use 8-bit addresses, Port 2 emits the contents of the P2 Special Function Register.Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.Port 3Port 3 is an 8-bit bi-directional I/O port with internal pullups.The Port 3 output buffers can sink/source four TTL inputs.When 1s are written to Port 3 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 3 pins that are externally being pulled low will source current (IIL) because of the pullups.Port 3 also serves the functions of various special features of the AT89C51 as listed below:Port 3 also receives some control signals for Flash programming and verification.RSTReset input. A high on this pin for two machine cycles while the oscillator is running resets the device.ALE/PROGAddress Latch Enable output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming.In normal operation ALE is emitted at a constant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external Data Memory.If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bitset, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.PSENProgram Store Enable is the read strobe to external program memory.When the AT89C51 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.EA/VPPExternal Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset.EA should be strapped to VCC for internal program executions.This pin also receives the 12-volt programming enable voltage(VPP) during Flash programming, for parts that require12-volt VPP.XTAL1Input to the inverting oscillator amplifier and input to the internal clock operating circuit.XTAL2Output from the inverting oscillator amplifier.Oscillator CharacteristicsXTAL1 and XTAL2 are the input and output, respectively,of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in Figure 1.Either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven as shown in Figure 2.There are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum voltage high and low time specifications must be observed.Figure 1. Oscillator Connections Figure 2. External Clock Drive ConfigurationIdle ModeIn idle mode, the CPU puts itself to sleep while all the onchip peripherals remain active. The mode is invoked by software. The content of the on-chip RAM and all the special functions registers remain unchanged during this mode. The idle mode can be terminated by any enabled interrupt or by a hardware reset.It should be noted that when idle is terminated by a hard ware reset, the device normally resumes program execution,from where it left off, up to two machine cycles before the internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM in this event, but access to the port pins is not inhibited. To eliminate the possibility of an unexpected write to a port pin when Idle is terminated by reset,the instruction following the one that invokes Idle should not be one that writes to a port pin or to external memory.Power-down ModeIn the power-down mode, the oscillator is stopped, and the instruction that invokes power-down is the last instruction executed. The on-chip RAM and Special Function Registers retain their values until the power-down mode is terminated. The only exit from power-down is a hardware reset. Reset redefines the SFRs but does not change the on-chip RAM. The reset should not be activated before VCC is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize.Program Memory Lock BitsOn the chip are three lock bits which can be left unprogrammed (U) or can be programmed (P) to obtain the additional features listed in the table below.When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during reset. If the device is powered up without a reset, the latch initializes to a random value, and holds that value until reset is activated. It is necessary that the latched value of EA be in agreement with the current logic level at that pin in order for the device to functionproperly.译文:AT89C51的介绍描述AT89C51是一个低电压,高性能CMOS 8位单片机带有4K字节的可反复擦写的程序存储器(PENROM)。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

专业文献翻译题目: AT89C51单片机的介绍姓名:学院:专业: 电子信息科学与技术班级: 班学号:指导教师: 职称:20 年月日原文:The Introduction of AT89C51DescriptionThe AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.Function characteristicThe AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, one 5 vector two-level interrupt architecture, a full duplex serial port, one-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.Pin DescriptionVCC:Supply voltage.GND:Ground.Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high-impedance inputs. Port 0 may also be configured to be the multiplexed address/data bus during accesses to external program and data memory. In this mode P0 has internal Pull-up resistor. Port 0 also receives the code bytes during Flash programming, and outputs the code bytes during Program verification. External Pull-up resistors are required during Program verification.Port 1Port 1 is an 8-bit bi-directional I/O port with internal Pull-up resistors. The Port 1 output buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins they are pulled high by the internal Pull-up resistors and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (IIL) because of the internal Pull-up resistors. Port 1 also receives the low-order address bytes during Flash programming and verification.Port 2Port 2 is an 8-bit bi-directional I/O port with internal Pull-up resistor. The Port 2 output buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins they are pulled high by the internal Pull-up resistor and can be used as inputs. As inputs, Port 2 pins that are externally being pulled low will source current, because of the internal Pull-up resistor. Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses. In this application, it uses strong internal Pull-up resistor when emitting 1s. During accesses to external data memory that use 8-bit addresses, Port 2 emits the contents of the P2 Special Function Register. Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.Port 3 is an 8-bit bi-directional I/O port with internal Pull-up resistor. The Port 3 output buffers can sink/source four TTL inputs. When 1s are written to Port 3 pins they are pulled high by the internal Pull-up resistor and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current (IIL) because of the Pull-up resistor. Port 3 also serves the functions of various special features of the AT89C51 as listed below:Port 3 also receives some control signals for Flash programming and verification.RSTReset input. A high on this pin for two machine cycles while the oscillator is running resets the device.ALE/PROGAddress Latch Enable output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming. In normal operation ALE is emitted at a constant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external Data Memory.If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bitset, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.PSENProgram Store Enable is the read strobe to external program memory. When the AT89C51 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.EA/VPPExternal Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset. EA should be strapped to VCC for internal program executions. This pin also receives the 12-volt programming enable voltage (VPP) during Flash programming, for parts that require12-volt VPP.XTAL1Input to the inverting oscillator amplifier and input to the internal clock operating circuit.XTAL2Output from the inverting oscillator amplifier.Oscillator CharacteristicsXTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in Figure 1.Either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven as shown in Figure 2.There are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum andmaximum voltage high and low time specifications must be observed.Figure 1. Oscillator Connections Figure 2. External Clock Drive ConfigurationIdle ModeIn idle mode, the CPU puts itself to sleep while all the on chip peripherals remain active. The mode is invoked by software. The content of the on-chip RAM and all the special functions registers remain unchanged during this mode. The idle mode can be terminated by any enabled interrupt or by a hardware reset. It should be noted that when idle is terminated by a hard ware reset, the device normally resumes program execution, from where it left off, up to two machine cycles before the internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM in this event, but access to the port pins is not inhibited. To eliminate the possibility of an unexpected write to a port pin when Idle is terminated by reset, the instruction following the one that invokes Idle should not be one that writes to a port pin or to external memory.Power-down ModeIn the power-down mode, the oscillator is stopped, and the instruction that invokes power-down is the last instruction executed. The on-chip RAM and Special Function Registers retain their values until the power-down mode is terminated. The only exit frompower-down is a hardware reset. Reset redefines the SFRs but does not change the on-chip RAM. The reset should not be activated before VCC is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize.Program Memory Lock BitsOn the chip are three lock bits which can be left unprogrammed (U) or can be programmed (P) to obtain the additional features listed in the table below.When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during reset. If the device is powered up without a reset, the latch initializes to a random value, and holds that value until reset is activated. It is necessary that the latched value of EA be in agreement with the current logic level at that pin in order for the device to function properly.译文:AT89C51的介绍描述AT89C51是一个低电压,高性能CMOS 8位单片机带有4K字节的可反复擦写的程序存储器(PENROM)。

相关文档
最新文档