Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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. Conventional software decoding occupies the external interrupt resources and internal timer resources of the system, especially The probability of error is higher when other interrupt tasks in the system are heavy

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

Embodiment Construction

[0025] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0026] Infrared remote control is currently the most widely used remote control means. 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 the data into corresponding remote control codes, thereby realizing the decoding of the received remote control codes. For the hardware connection method, see Figure 1. The OUT pin of the infrared remote control receiver is connected to the RXD pin of the serial port. If level conversion is required, after the infrared remote control signal is output from the OUT pin of the infrared remote control receiver, it undergoes a level conversion. The unit converts the l...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products