AC Sharp - How to get started

Everything related to protocols and IR codes
Post Reply
simbo
Posts: 2
Joined: Fri Sep 30, 2016 4:53 am

AC Sharp - How to get started

Post by simbo »

Hi,

After watching the YouTube videos, I'm still struggling to understand how I might go about reverse engineering the Sharp AC protocol.

I thought I would get stated with turning the AC on and off. The following is an export of the on and off sequence:

Code: Select all

Raw (197): 424,-1680,388,-1672,400,-1668,396,-1708,364,-3764,448,-3828,360,-3816,400,-3792,396,-3820,396,-3792,420,-3828,364,-3816,400,-3788,400,-3816,396,-3796,420,-3792,396,-3792,420,-3792,400,-3816,396,-3792,396,-3816,400,-3792,424,-3792,396,-3852,360,-3796,396,-3816,396,-3792,424,-3796,392,-3792,424,-3792,396,-1668,400,-3820,396,-20028,388,-1648,424,-1668,396,-1672,400,-3788,424,-1680,388,-1672,396,-1708,360,-1676,392,-1672,396,-1672,396,-1672,396,-1672,424,-1680,388,-1672,396,-1672,396,-1676,392,-1704,364,-1672,396,-1676,416,-1648,420,-1648,424,-1672,396,-1704,364,-1668,400,-1704,364,-1704,364,-1672,420,-1648,420,-1616,452,-1672,396,-3796,392,-1680,416,-19996,396,-1708,360,-1672,424,-1644,424,-1648,420,-3792,396,-3816,400,-3788,424,-3796,392,-3796,420,-3828,360,-3852,364,-3792,396,-3852,364,-3788,424,-3828,360,-3832,384,-3796,392,-3816,400,-3796,392,-3852,364,-3792,420,-3796,396,-3820,392,-3796,392,-3820,396,-3796,420,-3828,360,-3796,420,-3792,396,-3820,392,-1676,392,-3792,424

Raw (197): 392,-1672,460,-1608,396,-1676,396,-1668,400,-3816,396,-3828,388,-3792,396,-3792,424,-3792,396,-3820,392,-3792,396,-3820,456,-3732,424,-3792,396,-3792,424,-3788,460,-3760,392,-
The in the Graph the capture, it's really clear to see how the difference between the on and off sequences.

The Power Tools -> Reverse Engineering Tool looks fantastic for being able to work on the protocol. However, the above capture is RAW and can't be used with the Reverse Engineering Tool.

How do I get my my captures from RAW into a format suitable for the Reverse Engineering Tool?

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

Re: AC Sharp - How to get started

Post by AnalysIR »

It looks like you are using the IRremote firmware on your Arduino.

You need to install the AnalysIR firmware provided for Arduino, which is contained in the Installation package.

There is also an infographic explaining how to do this alond with several other docs including the User guide.

(If you have the AnalysIR firmware installed then you can send a full set of signals via Menu->File->Save Session and I will look at them for you.)


You can also import the RAW format you posted via Menu->FIle->import (Check the user guide/tooltips for more details)

To make the best use of the reverse enginerring tool, you should capture a lot of signals, like temperature going from 16degC to 30degC - in order. Then you will see the bit patterns changing corresponding to the temperature changes and the checksum changes. Once you have done that you can then move on to other fields by only changing one parameter at a time.

Usually 90%+ of the time, setting the bit order to LSB8 in after capturing signal is required for AC signals. Menu->Power Tools->LSB8
User avatar
AnalysIR
Site Admin
Posts: 793
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: AC Sharp - How to get started

Post by AnalysIR »

OK

I imported you RAW signals and it looks like they are not complete signals - so using the AnalysIR firmware on the Arduino should resolve this.
Post Reply