1. Introduction
At present, people's material and cultural living standards are improving day by day, and various household appliances have entered thousands of households. Among them, most household appliances have their own remote controls. People often look for the corresponding remote control everywhere to control a certain appliance, which brings a lot of inconvenience to people's lives. In order to solve this problem, this paper proposes a design scheme of a multi-functional remote control: the remote control can have the remote control function of multiple appliances through self-learning, which saves time and effort, so that people can avoid the trouble of facing many remote controls at the same time.
2. Function
1. Applicable to coded infrared remote control household appliances;
2. Can remotely control multiple household appliances;
3.
It has a learning
/
control multiplexing key,
5~10
device selection keys, and
10~20
function control keys. One device selection key and each function control key can be used together to control one device.
Figure 1 Structural diagram of a multifunctional infrared remote control
4. The common functions of multiple devices can be learned and controlled through a device selection key and various function control keys;
5. Low cost and strong anti-interference ability.
3. Principle
Figure 1 shows the block diagram of the multifunctional infrared remote control. The remote control consists of infrared receiving and transmitting circuits, signal conditioning circuits, central controller 8031 , program and data storage, keyboard and status indication circuits.
The remote control has two states: learning state and control state. When the remote control is in the learning state, every time the user presses a control key, the infrared receiving circuit starts to receive external infrared signals and converts them into electrical signals. After detection, shaping, and amplification, the CPU samples them regularly and stores the binary data of each sampling point in units of 8 bits into the designated storage unit for future use in controlling the device. When the remote control is in the control state, every time the user presses a control key, the CPU reads a series of binary data from the designated storage unit and outputs them serially (the time interval between bits is equal to the time interval during sampling) to the signal holding circuit. At the same time, the modulation circuit modulates the signal, amplifies the modulated signal, and transmits it by the infrared emitting diode, thereby realizing the control of the device function corresponding to the key. [page]
4. Design of some circuits
1. Infrared receiving circuit
As shown in Figure 2 , press the learning / control key to switch the CPU to the learning state. At this time, the learning state indicator D5 lights up (see Figure 4 ). When a device selection key is pressed, the program adjusts the data pointer (set by the program developer) to point to the starting unit of a data area of a specified length in the data memory . When a control key of the remote controller and a control key of the remote controller being learned are pressed at the same time, the 8031 will output a low level to the P3.1 pin (i.e., the JR end) under program control (the original initialization program sets it to a high level), see Figure 4. The level signal at the JR end is the control level of the NOR gate U1A . When P3.1=0 , U1A outputs the inverted signal of the input end. That is, the infrared receiving circuit composed of D1 and U4 is responsible for receiving the signal sent by the remote control to be learned. When D1 has an infrared signal input, the signal is demodulated, shaped, and amplified by U4 (the decoded pulse is in reverse phase with the original encoded pulse) and output from pin 7. It is reversed through the NOR gate U1A and input to the P1.4 pin of 8031 through the IN pin , as shown in Figure 2. The first high-level pulse of this signal quickly charges C4 (reasonably select the parameters of R3 and R4 to prevent repeated triggering), and at the same time sends a falling edge signal to the INT1 pin of 8031 through the IT pin of U2A . After the CPU responds to the interrupt, the IN infrared encoding signal of U1A is collected from P14 regularly to form a series of binary digits, and stored in the data area of the designated device and the designated key in units of 8 bits (error checking can be performed through continuous transmission of one code), thereby completing the learning of a key. If you want to learn the functions of other keys, the method is the same. If you want to learn the functions of each key of another device, press another device selection key of this remote control, and then press each function control key respectively to learn the functions of the remote control being learned. [page]
2. Infrared transmitting circuit
As shown in Figure 3 , press the learning / control key to switch the CPU to the control state, and the control state indicator D6 lights up (see Figure 4 ). At this time, press a device selection key, the system will be in the control state of a certain device. When a function control key is pressed again, the system uses the device number and function key number to address, find the data storage area address of the corresponding function key of the corresponding device (these data are collected point by point when learning the key function), read out these data in sequence, and control the CPU to output them to the OUT pin of the modulation circuit U2B in bit units through the P1.5 pin (the time interval is the same as the sampling time interval) . After modulation by the modulation circuit composed of U2B , U2C , C5 , R7 , and R8 (the modulation frequency is 38KHZ ), it is amplified by Q1 and drives D4 to output infrared remote control signals to achieve control of a function of the selected device.
3. Overview of other circuits
See Figure 4. This part of the circuit includes learning and control indication circuit, data and program storage circuit, keyboard circuit, etc. The learning and control indication circuit uses light-emitting diodes for indication, and the control signals are output by the P1.6 and P1.7 pins of 8031 , and then drive D5 and D6 for indication respectively through the amplifier circuit; the device number display circuit uses a single-digit digital tube static display; the keyboard circuit uses an inquiry scanning keyboard; the program memory uses common ROM or EEPROM , and the data memory can use a relatively low-cost random electrical erasable memory compatible with 6264 or 62128 .
V. Conclusion
This design is only applicable to code division infrared remote control devices, and does not involve frequency division infrared remote control devices and infrared remote control devices with FM signals other than 38kHz . If you want to expand these functions of the remote control, just add a frequency measurement circuit to the infrared receiving circuit and use a CNC signal generator as a modulation circuit in the infrared transmitting circuit.
References
[1] Ding Yuanjie . Principles and Applications of Single-Chip Microcomputers [M]. Machinery Industry Press, 1996.
[2] He Limin . Selected Microcontroller Application Technology ( 3 ) [M]. Beijing University of Aeronautics and Astronautics Press, 1996.
[3] Qiu Guanyuan . Circuits [M]. Higher Education Press, 1999.
[4] Kang Huaguang . Fundamentals of Electronic Technology [M]. Higher Education Press, 1988
Previous article:Discussion on MSP430 Program Upgrade Method
Next article:Design of a New Video Character Overlay Device
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Try it, can you access this website of ST?
- I found the fish's partner - [Electronic Components Artwork]
- ESD protection and elimination methods in switching power supply design and production
- 【TI mmWave Radar Review】+3D Profile Test
- I thought it was washing the phone, but it turned out to be washing the phone
- Medium and low pressure MODS pipes
- EEWORLD University Hall----Live Replay: Microchip Security Series 14 - GoodLock with SAM L11 and TrustFLEX ATECC608 Security Devices
- 【ST NUCLEO-G071RB Review】_02_LED Light Experiment
- Help, MPU6050 freezes and no data output after running for a while
- TC58CVG0S3HxAIx Engineering Data Sheet