A learning and access method for infrared data based on communication devices
A technology of infrared data and communication equipment, applied in the field of application communication, can solve problems such as wasting space, and achieve the effect of improving flexibility, improving efficiency and saving space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] The present invention will be further elaborated below in conjunction with the accompanying drawings.
[0032] A method for learning and accessing infrared data based on a communication device, the main steps of which include:
[0033] 1. By sampling and detecting the frequency of infrared rays, the remote control can learn infrared data.
[0034] As shown in Figure 1, when the infrared signal is received, it is first sampled, and the time t1 and t2 of the pulse are calculated, and stored in the first and second bits of the data buffer. The specific calculation method of t1 and t2 is as follows: Timely count the high and low levels of the pulse through timer 0 and 1 respectively. When the level is high, start timer 0 and start timing of high level; when the level jumps When turning low, turn off timer 0, and save the calculated time, start timer 1 at the same time, time the low level; when the level jumps to high, turn off timer 1, and save the calculated time, and at ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 