Raw infrared data from AC remote control is different

Hello, everyone.
I have a problem when receiving raw infrared data, i received different data.
For example :

the ON button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
302, 582, 306, 578, 306, 1414, 302, 582, 302, 606, 278, 582, 306, 578, 306, 602,
282, 1426, 290, 1434, 282, 602, 282, 1434, 282, 1438, 282, 602, 282, 602, 282, 602,
282, 602, 282, 602, 282, 1438, 282, 1434, 282, 1434, 282, 1434, 282, 602, 282, 1438,
278, 1438, 282, 1434, 282, 602, 282, 602, 282, 1434, 282, 602, 282, 602, 282, 602,
282, 606, 278, 606, 278, 606, 278, 606, 282, 602, 282, 602, 282, 606, 278, 606,
278, 606, 278, 606, 278, 606, 278, 606, 278, 606, 282, 606, 278, 606, 278, 606,
278, 606, 258, 1000};

the OFF button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
3390, 1778, 342, 1378, 342, 1374, 366, 518, 342, 538, 370, 518, 346, 1374, 338, 546,
366, 494, 366, 1374, 342, 1374, 342, 542, 342, 1374, 342, 542, 342, 542, 342, 1378,
338, 1374, 342, 542, 342, 1374, 358, 1358, 342, 542, 342, 546, 342, 1370, 342, 546,
338, 546, 338, 1378, 338, 546, 338, 546, 342, 542, 342, 546, 334, 546, 342, 542,
342, 542, 342, 546, 338, 542, 342, 546, 338, 542, 366, 522, 342, 542, 366, 518,
342, 542, 366, 518, 338, 546, 338, 546, 338, 546, 338, 546, 342, 542, 342, 546,
338, 546, 338, 1000};

the ON button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
3390, 1782, 338, 1374, 346, 1374, 338, 542, 342, 542, 346, 538, 342, 1374, 346, 542,
366, 506, 382, 1346, 370, 1346, 366, 518, 342, 1374, 366, 506, 354, 542, 342, 1374,
370, 1350, 338, 546, 338, 1374, 342, 1374, 338, 546, 342, 542, 342, 1378, 338, 542,
342, 542, 342, 1378, 338, 542, 342, 546, 338, 546, 342, 542, 366, 518, 342, 542,
338, 546, 366, 518, 338, 546, 338, 546, 342, 542, 342, 542, 338, 550, 338, 546,
338, 546, 338, 546, 338, 546, 338, 546, 342, 542, 338, 546, 338, 1378, 338, 546,
338, 546, 338, 1000};

the OFF button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
3390, 1782, 342, 1374, 342, 1374, 342, 542, 366, 518, 342, 542, 346, 1374, 342, 542,
342, 542, 366, 1350, 342, 1374, 346, 538, 366, 1350, 370, 502, 354, 546, 362, 1354,
338, 1378, 342, 542, 366, 1350, 342, 1374, 342, 542, 342, 542, 342, 1378, 338, 546,
338, 546, 338, 1378, 342, 542, 338, 546, 342, 546, 338, 542, 342, 546, 342, 542,
362, 522, 362, 522, 362, 522, 342, 542, 338, 546, 338, 546, 342, 542, 342, 546,
358, 526, 338, 546, 338, 546, 338, 546, 338, 546, 338, 546, 338, 546, 338, 550,
338, 546, 338, 1000};

What is the reason? How can I solve this problem?
Could anyone help me, please?
Thank you very much.

Post your code using "< code >" .

1 Like

You probably have something else changed in your A/C settings. Air conditioner remote codes have nothing to do with TV remote codes, for example, and are much more complicated because each code contains ALL current information about the air conditioner - hot/cold mode, fan, air flow, etc. The on and off commands and any other command are just part of the whole code.

1 Like

I only experimented with turning the air conditioner on and off. So, What should I do?

Easiest might be to get a copy of the remote control and use one of several well known techniques to hijack its buttons and place them under control of the Arduino board.

All depends on what kind of fun you want to have. And maybe how many buttons you need to look like you are pressing.

a7

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.