LG AC RAW code

Everything related to protocols and IR codes
Post Reply
volvodidi
Posts: 6
Joined: Sat Jan 14, 2017 3:37 pm

LG AC RAW code

Post by volvodidi » Fri Nov 01, 2019 8:14 am

Hi,
I have a LG AC that i would like to turn on and off with an arduino mega.
My original remote is in Sweden, here i have only a universal Remote that woks with my LG AC (tested).
I received these RAW Codes from my arduino with your sketch.

ON
Raw: (59) 8368, -4156, 552, -1528, 552, -476, 548, -484, 548, -516, 524, -1528, 552, -476, 548, -484, 552, -492, 552, -484, 552, -484, 552, -476, 548, -484, 552, -484, 548, -1528, 556, -472, 552, -492, 552, -484, 548, -480, 548, -1520, 548, -1528, 552, -484, 552, -476, 552, -1524, 552, -480, 548, -1524, 552, -484, 548, -508, 524, -1516, 552,

and for OFF
Raw: (59) 8340, -4192, 552, -1524, 556, -472, 556, -480, 520, -544, 492, -1560, 548, -480, 548, -484, 552, -484, 548, -1520, 528, -1552, 528, -508, 528, -508, 524, -504, 524, -512, 520, -524, 520, -516, 524, -512, 520, -504, 524, -512, 492, -552, 520, -508, 520, -1544, 524, -520, 516, -1556, 524, -508, 520, -516, 516, -516, 520, -1560, 516,

Now I would like to adjust my RAW codes to LG28AC Rules in analysir.
Marks and spaces ar the same 533 in the rules, but I found values with 472, should I set these values to 533?

Dieter
Bonn, germany

User avatar
AnalysIR
Site Admin
Posts: 568
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: LG AC RAW code

Post by AnalysIR » Fri Nov 01, 2019 12:40 pm

It looks like the header for these signals is 8350 followed by a 4175 space.

The other mark spaces should be
517
1551

This is based on a quick review. It is also important to note that the timings in Universal remotes may not be 100% accurate.

Post back if these timings work

volvodidi
Posts: 6
Joined: Sat Jan 14, 2017 3:37 pm

Re: LG AC RAW code

Post by volvodidi » Tue Nov 05, 2019 5:52 am

Hi,
the original timings will sometimes in Analysir decod as LG28AC, your timings are the same (sometimes).
If i use timings of lg28AC rules, the code will be longer and not decode as LG28AC.
If it works, its ok for me. I check it christmas with the original remote.
Dieter

User avatar
AnalysIR
Site Admin
Posts: 568
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: LG AC RAW code

Post by AnalysIR » Tue Nov 05, 2019 2:44 pm

Yes, we now have about 3 slightly different LG28AC timings defined.

When you are recording the signals, it is a good idea to keep the remote about 1->2m away from the receiver. Also, check the batteries are good.

It will be interesting to see how the original remote compares @ Christmas.

Post Reply