Method for receiving infrared remote control signal through serial port

An infrared remote control and serial port technology, applied in the field of infrared remote control, can solve the problems of high error probability, increased system burden, occupation, etc., and achieve the effect of simple software decoding method, simple hardware connection method, and reduced error probability

Inactive Publication Date: 2008-01-23
ZTE CORP
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For hardware decoding, the burden on the system is small, and the error probability is small, but the cost is relatively high; the cost of software decoding is low, but it increases the system burden. Conven

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for receiving infrared remote control signal through serial port
  • Method for receiving infrared remote control signal through serial port
  • Method for receiving infrared remote control signal through serial port

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] Hereinafter, the present invention will be further described in detail with reference to the accompanying drawings.

[0026] Infrared remote control is currently the most widely used remote control method. Infrared remote control devices are widely used because of their small size, low power consumption, strong functions, and low cost. The idea of ​​the method of the present invention is to use a serial port to connect an infrared remote control receiver, read data from the serial port, analyze the data, and convert it into a corresponding remote control code, thereby realizing the decoding of the received remote control code. Refer to Figure 1 for the hardware connection method. The OUT pin of the infrared remote control receiver is connected to the RXD pin of the serial port. If level conversion is required, the infrared remote control signal is output from the OUT pin of the infrared remote control receiver and undergoes a level conversion. The unit converts the level an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for realizing software decoding remote control of signal pulse by receiving infrared remote control signal via a serial port, which is intended to reduce the additional external intermission resource of system occupied by software decoding. The invention is mainly characterized in that: connect an OUT pin of an infrared remote control receiver to a RXD pin of the serial port; calculate the serial port baud rate according to the pulse width of the remote controller currently in use; configure tribute of the serial port, comprising the serial port baud rate; acquire the serial port data that complies the lead code of the remote controller currently in use and a user identification code; save the value of the serial port data and a corresponding serial port status register; convert the serial port data into remote control key press value according to a remote controller key press map for the corresponding relation between the value of the remote control key press, the serial port and the serial port status register. Therefore, the invention does not occupy the additional external intermission resource of system and lowers down the possibility of mistake under great load of other intermission.

Description

technical field [0001] The invention relates to infrared remote control technology, in particular to a method for receiving infrared remote control signals with a serial port. Background technique [0002] Infrared remote control technology is relatively mature at present, and has the advantages of convenient use, low power consumption, strong anti-interference ability and low cost. It has been widely used in home appliances and has also been valued in intelligent instrument systems. A general infrared remote control system is composed of three parts: an infrared remote control signal transmitter, an infrared remote control signal receiver, a microcontroller and its peripheral circuits. The remote coded pulse is generated by the remote coder, and the infrared transmitting tube is driven to output the infrared remote control signal. The remote control receiving head completes the amplification, detection and shaping of the remote signal, and demodulates the remote coded pulse...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G08C23/04
Inventor 李华于京涛朱晓斌丁元欣苗军谭笑
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products