中英文对照翻译Infrared Remote And Chips Are IntroducedPeople's eyes can see the visible wavelength from long to short according to the arrangement, in order to red, orange, yellow, green, green, blue, violet. One of the red wavelengths for 0.62 ~ 0.76 muon m, Purple is 0.38 wavelength range ~ muon m. Purple is shorter than the wavelength of light called ultraviolet ray, red wavelengths of light is longer than that of infrared light. Infrared remote control is to use wavelength for 0.76 ~ 1.5 muon m between the near infrared to transfer control signal.Commonly used infrared remote control system of general points transmit and receive two parts. The main component part for the launch of infrared light emitting diode. It is actually a special light emitting diode, due to its internal material differs from ordinary light emitting diode, resulting in its ends on certain voltage, it is a rather infrared light. Use of infrared light emitting diode the infrared wavelengths, for 940nm appearance and ordinary, just the same light emitting diode five different colors. Infrared light emitting diode generally have black and blue, transparent three colors. Judgement of infrared light emitting diode and judgment method, using a multimeter to ordinary diode electric block measure of infrared light emitting diode, reverse resistance. The infrared light emitting diode luminescence efficiency to use special instrument to measure precise, and use only spare conditions to pull away from roughly judgement. Receiving part of infrared receiving tube is a photosensitive diode.In actual application of ir receiving diode to reverse bias, it can work normally, i.e., the infrared receiving circuit application in diode is used to reverse, higher sensitivity. Infrared receiving diode usually have two round and rectangular. Due to the power of infrared light emitting diode (or less commonly 100mW), so ir receiving diode received signals is weak, so will increase high-gain ones.the amplifier circuit.In common CX20106A, etc PC1373H muon infrared receiving special amplifier circuit. In recent years both amateur or formal products, mostly using infrared receiving head finished. The head of infrared receiving product packages generally has two kinds: one kind USES sheet shielding, A kind of plastic packaging. There are three pin, namely the power is (VDD), power negative (GND) and data output (VO orOUT). Infrared receiving head foot arrangement for types varied, manufacturer's instructions. Finished the advantages of infrared receiving head is not in need of sophisticated debugging and shell screen, use rise as a transistor, very convenient. But when used in the infrared receiving attention finished first carrier frequency.Infrared remote common carrier frequency for 38kHz, this is transmitted by using 455kHz TaoZhen to decide. At the launch of crystals were integer frequency, frequency coefficients, so commonly 12, so 455kHz ÷12 hundredth kHz 38kHz hundredth 379,000. Some remote control system adopts 36kHz, 56kHz, etc, general 40kHz launched by the crystals of oscillation frequency to decide.Infrared remote characteristic is not influence the surrounding environment and does not interfere with other electric equipment. Due to its cannot penetrate walls, so the room can use common household appliance of remote control without mutual interference, Circuit testing is simple, as long as given circuit connection, generally does not need any commissioning can work, Decoding easily, can undertake multiple remote control. Because each manufacturer produces a great deal of infrared remote application-specific integrated circuit, when need press diagram suo ji. Therefore, the infrared remote now in household appliances, indoor close (less than 10 meters) in the remote control is widely used.Multiple infrared remote control system of infrared emission control buttons, there are many parts general representative of different control function. When pressed a button, correspondingly in the receiver with different output.Receiving the output state can be roughly divided into pulse, level, self-locking and interlock, data five forms. "The pulse output is according to launch" when the button, the receiver output terminals output corresponding "effective", a pulse width 100ms in general. "Level" refers to the output launch press button, the receiver output corresponding output level ", "effective transmit to loosen the receiver" level "disappears. This "effective pulse" and "effective", may be of high level is low, and may also depend on the output corresponding static state, such as feet for low, static "high" for effective, As for the static, "low" high effective. In most cases, "high" for effective. "Since the lock" refers to launch the output of each time you press the button, a receiver output corresponding change, namely originally a state for high level into a low level, originally for low level into high level. The output power switch and mute as control etc. Sometimes also called the output form for "invert". "The interlock" refers to multiple outputs each output, at the same time only one output.The TV sets of this case is selected, the other is like the light and sound input speed, etc."Data" refers to launch the output some key, use a few output form a binary number, to represent different keystroke.Normally, the receiver except a few data output, but also a "valid" output data, so the timely to collect data. This output form with single-chip microcomputer or are commonly used interface. In addition to the above output form outside, still have a "latch" and "temporary" two forms. The so-called "latch" refers to launch the output signal of each hair, the receiver output corresponding ", "new store until you receive signals. "Temporary" output and the introduction of "level" output is similar.Remote distance (Remote Control effect of RF Remote Control distance) are the major factors as follows:1, launched in power transmission power: while distance, but great power consumption, easy to generate interference,2 and receiving the receiver sensitivity, receiving, remote distance increased sensitivity to improve, but easy to cause disturbance maloperation or abuse, 3, antenna, using linear antenna, and parallel, remote distance, but occupies a large space, in use the antenna spin, pull can increase the remote distance,4 and the higher height: antenna, remote farther, but by objective conditions,5 and stop: current use of wireless remote use of UHF band stipulated by the state, the propagation characteristics of approximate linear transmission, light, small, transmitters and receivers diffraction between such as walls are blocking will greatly discounted remote distance, if is reinforced concrete walls, due to the absorption effect conductor, radio waves.Considering the design of hardware volume small to be embedded in the remote control, so we chose 20 foot single-chip chip AT89C2051. Below is the introduction of the function.1) AT89C2051 internal structure and performanceAT89C2051 is a byte flash 2K with programmable read-only memory can be erased EEPROM (low voltage, high performance of eight CMOS microcomputer. It adopts ATMEL of high-density non-volatile storage technology manufacturing and industrial standard MCS - 51 instruction set and lead. Through the combination of single chip in general CPL1 and flash memory, is a strong ATMEL AT89C2051 microcomputer, its application in many embedded control provides a highly flexibleand low cost solutions. The compatible with 8051 AT89C2051 is CHMOS micro controller, the Flash memory capacity for 2KB. And CHMOS 80C51 process, have two kinds of leisure and power saving operation mode. The performance is as follows:8 CUP, 2KB Flash memory,Working voltage range 2.7-6V, 128KB data storage,The static working way: 0-24MHz, 15 root input/output line,A programmable serial, 2 a 16-bit timing/counters,There is a slice of inside precision simulation comparator, 5 the interrupt sources, 2 priority.Programmable serial UART channel, Directly LED driver output,The internal structure of AT89C2051 is shown in figure 1.Figure 1 AT89C2051 interior structure2) AT89C2051 chip pin and functionIn order to adapt to the requirement of intelligent instrument, embedded in the chip foot AT89C2051 simplified configuration, as shown in figure b. The major changes to: (1) the lead foot from 20 to 40 wires, (2) increased a simulated comparator.AT89C2051 pin function:1 the Vcc: voltage.2 to GND.3 P1 mouth: P1 mouth is an 8-bit two-way I/O port. P1.2 ~ P1.7 mouth pin the internal resistance provides. P1.0 and P1.1 requirements on the external pull-up resistors. P1.0 and P1.1 also separately as piece inside precision simulationDiagram b AT89C2051 foot figurecomparator with input (AIN0) and reversed-phase input (AIN1). Output buffer can absorb the P1 mouth 20mA current and can directly LED display driver. When P1 mouth pin into a "1", can make its input. When the pin P1.2 ~ P1.7 as input and external down, they will be for the internal resistance and flow current (IIL). In flash P1 mouth during the procedure and program code data receiving calibration.4 P3: the P3.0 ~ P3.5 P3, P3.7 is the internal resistance with seven two-way I / 0 lead. P3.6 for fixed inputs piece inside the comparator output signal and it as a general I/O foot and inaccessible. P3 mouth buffer can absorb 20mA current. When P3 mouth pin into "1", they are the internal resistance can push and input. As input, and the low external P3 mouth pin pull-up resistors and will use current (IIL) outflow. P3 mouth still used to implement the various functions, such as AT89C2051 shown in table 1. P3 mouth still receive some for flash memory programming and calibration of program control signals.P3 mouth function as is shown in table 1.RST/VPP (RXD)P3.0 (TXD)P3.1 XTAL2 XTAL1 (INT0)P3.2 (INT1)P3.3 (T0)P3.4 (T1)P3.5GND VCC P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1(AIN1) P1.0(AIN0) P3.75 RST: reset input. RST once, all into high level I/O foot will reset to "1". When the oscillator is running, continuous gives RST pin two machine cycle of high level can finish reset. Each machine cycle to 12 oscillator or clock cycle.6 XTAL1: as the oscillator amplifier input and inverse internal clock generator input.7. XTAL2: as the oscillator reversed-phase the amplifier's output.3) the software and hardware constraints. AT89C2051Due to the foot of the chip AT89C2051, no set limits of external storage interface, so, for external memory read/write instructions as MOVX etc.Due to 2KB ROM, so, the space to jump instruction should pay attention to the destination address range (transfer 000H - 7FFH), beyond the range of addresses, will not meet wrong results. The scope of data storage is 00H (7FH -- when stack manipulation), also should be noticed.The input signal is simulated by the original P3.6 foot into the microcontroller, so the original P3.6 footUnable to external use. Simulation comparator can compare two simulation, if the size of the voltage external A D/A converter and its output as A comparator analog input, and by simulating the comparator another input voltage to be measured, through the introduction of the software method can realize the A/D conversion.4 the Flash memory AT89C2051)Provide a 2KB of single-chip AT89C2051 in Flash memory chips, which allows the online program to modify or use special programming programming.A). Flash memory encryptionAT89C2051 SCM has 2 encryption, can programming (P) or programming (U) to obtain different encryption functionality. Encryption functionality table as shown in table 1-1.Encrypt a content erased only through chips to erase operation.B). Flash memory programming and procedures(1) the piece inside chip AT89C2051 Flash memory programming model as shown in table 1-2.Table 1-2 AT89C2051 microcontroller programming model. Note: (1) the counters RESET at an EPROM inside the rising edge, and 000H RESET to XTAL1 by foot is executed, pulse count,(2) pieces of 10ms to erase PROG pulse,(3 )during the programming P3.1 pulled low RDY/BSY instructions.C).A T89C2051 SCM in Flash memory chips programming steps are as follows:1. in the sequence is the VCC GND pin, add working voltage, XTAL1 pin RESET, receiving GND pin, other than the above time, waiting for 10ms,2. In P3.2 pin RESET, heightening level,3. In P3.3, P3.4, P3.5, P3.7 pin; add model multilevel4. P1.0 P1.7 -- for the 000H unit add data bytes,5. RESET to increase the 12V activation programming,6. P3.2 jump to a one byte programming or encryption,7. calibration has been programming, data from 12V to RESET logic level "H" and set P3.3 P3.7 -- for the correct level, and can output data in P1 mouth,Figure c programming circuit Figure d calibration circuit8.For the next addresses) in the unit XTAL1 byte programming, a pulse, make address counter add 1, in mouth add programming data P1.Repeat step 1-8 complete the whole -- 2KB programming.Electricity is XTAL1 Settings: in order to "L" RESET, and float empty other I/O foot, close the VCC power.(3) programming and calibration circuit figure c, d.Explanation:(1) P3.1 during programming instructions to be low RDY/BSY,(2) single erasing the PROG 10ms need,(3) internal EEPROM address counter on the rising edge RESET, and 000H RESET to XTAL1 by foot pulses are executed.Along with the rapid development of science and technology, human society has undergone earth-shaking changes. Make our life more colorful. In these changes, the remote control technology has been widely permeates TV, aerospace, military, sports and other production, all aspects of life. From the broad sense, all equipped with electric locomotive facility or electrical switches, if feel some necessary, can consider to improve existing with remote control device, the operation fixed switch to realize the remote operation of the original equipment, stop, the variable, etc. Function. switch, for example, can be used to control the electric control switch the light switch, We design the infrared remote control system to realize the opponent switch quantity control. Infrared remote characteristic is not influence the surrounding environment and does not interfere with other electric equipment. Due to its cannot penetrate walls, so the room can use common household appliance of remote control without mutual interference, Circuit testing is simple, as long as given circuitconnection, generally does not need any commissioning can work, Decoding easily, can undertake multiple remote control.红外遥控及芯片介绍红外遥控及芯片介绍人的眼睛能看到的可见光按波长从长到短排列,依次为红、橙、黄、绿、青、蓝、紫。