Problem with IR signal send

I have an IR receiver and an IR transmitter connected to my Arduino board, when I use my tv remote I get the decoded RC5 output in the Serial Monitor, which I then use with the sendRC5 method from the IRSend.h library and it works very well, however then when I try with my Air Conditioner controller the signal received is unknown. This is normal, I know, as not every encoding is present in the library, but shouldn't the raw singal I send work anyway, even if is unkown encoding?

I have tried to use the sendRaw method from the IRsend.h but it doesn't seem to work. The raw output I get with the remote is always the same, also I noticed the output I send is read by the receiver connected in the board and the output in the serial monitor is equivalent to what I just sent.

So basicly my questions are: Shouldn't the signal work, even if is unkown encoding? I mean, I'm sending the raw data as I received it, shouldn't it be acting just as the original ir signal? what steps could I take to find the problem? or how could I decode this signal? any suggestion?

Thanks!

No experience here, but I have read that air conditioner codes are a lot longer than TV codes.
Code/library needs to be changed to hold that longer string.
Use the search box on top of this page.
Leo..

It will work............

Google ----> Air Conditioners: Recording long Infrared Remote control signals with Arduino

OMR

Hi, thank you so much for your help!.

I used the code from AnalysIR found here: https://www.analysir.com/blog/wp-content/uploads/2014/03/Arduino_Record_Long_AirConditioner_Infrared_Signals_10.txt

I used the produced raw value and it worked fantastically!

Thanks for your help!