IR Remote Decoding for AC

Guys i downloaded the Irremote library from github

and as i read decoding AC remotes is difficult and the Irrecvdump code was giving random outputs and there was no pattern to it

please can you suggest me what values do i have to change to decode the full AC codes

i have read in other threads that i had to change is this the correct way if so please help me what i have to change when the encoding is UNKNOWN so what value i have to change in place of PANASONIC_BIt for UNKNOWN encoding

n IRremote.h change RAWBUF to a value as large as you need (I changed RAWBUFF to 240)
in IRremoteInt.h change PANASONIC_BITS to a number large enough
and in IRremoteInt.h again change uint8_t rawlen; to uint16_t rawlen; (changed this also)

thanks in advance

Any help would be greatly appreciated

please help me out, i cant proceed :disappointed_relieved:

What are AC remotes?

"AC"
I think it's "Air Conditioner" remotes.

In my car, it's "A/C".

yep sorry my bad

AC= air conditioner and this remote is with LCD display

my tv remote gets decoded easily, but this remote is giving me random code each time i press the same button and there is no pattern to it even for the ON/OFF cycle

I am doing something very similar and trust me it is a BIG PAIN in the behind. A/V remotes are relatively easy to decode, because they only send 1 value most of the time. and A/C however sends several different parameters at the same time.
every AC has a different protocol, so the timings will be different.

before you even attempt this, you should ask yourself, are you able to understand/write code to at least some degree ? if not, this is going to be an uphill battle for you.
then is it really worth the time you will have to invest ?

if both your answers are yes, then read on :wink:

what ac is it ? daikin, carrier, lg, samsung ? etc

also there is no clear answer to what you want.
you will have to do a lot of testing.

first try to use an oscilloscope to watch what signals are you receiving and what signals the ir remote is sending out.
if you don't have an oscilloscope, use your sound card with audacity to record both the signals and try to match.

then test to see if you are able to record and repeat the signal accurately, on the ac.
if it switches on and switches off from the recorded commands, decoding is near, however not easy.
else you have to modify the signal so that the ac is able to accept the commands.

now you have to look at the dump you get from ir recieve. and try to get the bits.
then get alot of different readings.
and then if you are lucky you will be able to decode the data.

like i said, a BIG PAIN in the behind.

i know its a big pain, but i have read people were successful...

my ac is a local company, VESTAR

i want to decode other AC remotes not just this one as i have different AC's

as for the CRO, i dont have one but i have read audio card method works and sometimes it doesnot

i guess there is a method to change the IRremote.h

so i am thinking its possible that way...

changing the irremote.h not going to solve your problem right now.
in order to change the file, you first need to understand how the remote is sending the signal, what protocol is being used.
u need to decode the entire protocol only then can you think of changing irremote.h

btw , till now, the sound card method has always worked for me.

kiriti:
i know its a big pain, but i have read people were successful...

Do they say how much they worked at it?

Msquare:

kiriti:
i know its a big pain, but i have read people were successful...

Do they say how much they worked at it?

i dint get you... it must have been very hard for them...

What I meant is that because some peole say "i managed to do it" on the Great Internet, it does not imply that it was easy, and they may not have supplied the whole solution (intentionally or not).

God luck with your project.

Carrier Air Conditioners On/Off :

Switch On :

9368D502
Unknown encoding: 9368D502 (32 bits)
Raw (100): 7048 4450 -4300 600 -1550 600 -500 600 -1550 650 -1550 600 -500 600 -500 600 -1550 600 -500 600 -500 600 -1550 600 -500 600 -500 600 -1550 600 -1600 600 -450 650 -1550 600 -500 600 -450 650 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 600 -500 600 -500 600 -500 600 -450 650 -450 650 -450 600 -500 600 -500 600 -450 650 -450 650 -450 600 -500 600 -500 600 -500 600 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 600

Switch Off :

FA36E9A0
Unknown encoding: FA36E9A0 (32 bits)
Raw (100): 7206 4450 -4300 650 -1550 600 -500 600 -1550 600 -1550 650 -450 650 -450 600 -1600 600 -450 650 -450 600 -1600 600 -450 650 -450 650 -1550 600 -1550 600 -500 600 -1550 650 -450 600 -1600 600 -1550 600 -1600 600 -1550 600 -500 600 -1550 650 -1550 600 -1550 600 -500 600 -500 600 -500 600 -450 650 -1550 600 -500 600 -450 650 -1550 600 -1550 650 -1550 600 -500 600 -450 650 -450 650 -450 600 -500 600 -500 600 -450 650 -450 650 -1550 600 -1550 600 -1600 600 -1550 600 -1550 600

The Hex codes , which i receive is the same everytime. smiley but the raw data varies ..

Now How should I will write the irsend to send this code for the air conditioner?