Newbie - Problem with sending ir codes (irsendNEC)

Hi everyone,

So far,this forum was very useful to me and thank you so much!

I am making universal remote with arduino mega 256 and have success receiving and sending to my philips tv (using irsend.sendRC6) and genius speakers (irsend.sendNEC) I am using irrecivDUMP sketch to dump HEX codes and send them with success.
Problem is that my Air condition don't respond to commands ,for example i captured signal for powering on:

1090060A
Decoded NEC: 1090060A (32 bits)
Raw (74): 5596 8950 ........... 700

And tried to send using irsend :
if (Serial.read() != -1) {
for (int i = 0; i < 2; i++) {
irsend.sendNEC(0x1090060A, 32);
delay(50);
}
}

Below is a list of what I have done so far :

  • changed delay for sending signals,putting 50,100,400,1000ms - no success,I read somewhere in the forum this my be a solution
  • changed repeating code i < 2,i < 3,i < 5,i < 10,i < 900 - no luck,also changed nuber of bits from 32 to something else...
  • tried to change IR led,assuming there my be problem with wavelength but no success (I desoldering the ir led from original remote and use to send with arduino)
    -eventually,try on hard way by capturing the raw data and send them to AC (with modified library). There is some nice tutorial if anybody needs 1304 Arduino Chapter13 Sending Raw IR codes to comsumer products - YouTube

To make things worse,everything is working fine with my speakers using same procedure (same NEC protocol) ,it works like charm but no luck with AC!

I think I am stuck,anybody have this problem ?

PS - if anybody need help regarding this or similar project,feel free to contact me.

Thank you !

If anyone interested,I have done this with another tool called winlirc trough seral interface.Reason why this didn't work with arduino is that IR codes from A/C remotes are veeeery long and arduino just don't support such big variables.
Decodings I got with arduino were shortened and not correct.

Best regards!