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)
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
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.
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.
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).