Check patentability & draft patents in minutes with Patsnap Eureka AI!

Infrared communication signal modulating and receiving method

A technology of infrared communication and receiving method, which is applied in the field of data communication, and can solve the problems of occupying MCU non-communication ports and cumbersome software modulation methods

Inactive Publication Date: 2014-03-19
UNIV OF ELECTRONICS SCI & TECH OF CHINA +1
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Hardware modulation undoubtedly increases the hardware circuit, and the software modulation method mentioned above is relatively cumbersome and occupies the non-communication port of the MCU

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
  • Infrared communication signal modulating and receiving method
  • Infrared communication signal modulating and receiving method

Examples

Experimental program
Comparison scheme
Effect test

example

[0050] In this example, the sending end adopts the MCU of model 430F122, and its built-in serial peripheral interface SPI uses the SCI protocol format to send data 0x15. At the receiving end, the model is 430F149 MCU, and its SCI interface receives the decoded data of the infrared receiving tube. The infrared receiving tube model is tsop1238, and the working frequency is 38khz.

[0051] Use the serial peripheral interface SPI of 430F122 to modulate the data 0x15 to be sent, and the infrared communication signal obtained after modulation is as follows figure 2 As shown in D0, the data decoded by the infrared receiving tube is as follows figure 2 Shown in D1. Such as figure 2 As shown, when sending data 0x15, a 0 is added before, and a 1 is added at the end.

[0052] From this example, it can be seen that the data of the SCI protocol modulated by the serial peripheral interface SPI can decode the data in the standard SCI format through the infrared receiving tube, and the...

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 an infrared communication signal modulating and receiving method, which comprises the following steps of: firstly setting a Baud rate of a built-in serial peripheral interface (SPI) of a sending end MCU (Microprogrammed Control Unit) to be the working frequency f of an infrared communication signal, then modulating data needing to be sent: continuously sending a 0*55 data larger than or equal to 3 when the SPI sends one bit of data 0; continuously sending a 0*00 data larger than or equal to 3 by I when sending one bit of data 1; driving an infrared launching tube by the data sent by the SPI to output a modulated infrared communication signal; and finally, receiving the received modulated infrared communication signal by an infrared receiving tube at a receiving end: decoding into one low level when 4a regular infrared light pulses are received, and decoding into a high level when the infrared light pulses are not received. According to the method disclosed by the invention, the self-contained SPI of the MCU is fully utilized to modulate sent data, hardware circuits are not added, and MCU non-communication ports are not occupied, so that the method is simple and reliable, and the cost for software development can be reduced.

Description

technical field [0001] The invention belongs to the technical field of data communication between MCUs, and more specifically relates to a method for modulating and receiving infrared communication signals. Background technique [0002] In an embedded system, the data communication between MCU and MCU usually adopts the following methods: [0003] 1. Close distance [0004] Use bus, serial port, SPI (Serial Peripheral Interface, serial peripheral interface), I 2 C, etc. for short-distance data communication. The serial port is usually used because there are special hardware circuits inside the MCU. [0005] 2. Long distance [0006] Usually, the RS485 bus is used for long-distance communication, which also uses the serial port of the MCU, and the transmission distance is relatively long. [0007] The above two data communication methods meet the basic needs of developing in embedded systems. [0008] However, in some harsh environments, in order to ensure the safety of...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04B10/60H04B10/11
Inventor 程玉华顾永德白利兵陈凯余青青郑伟
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More