I am working a project, trying to automate my AC remote using an Arduino.
I have successfully gathered the raw signal and I am in the process to try and decode it.
I have managed to decode most of the signal but I am stuck at the last 2 bytes that I think are some sort of checksum. I could really use some help on this.
It seems to be a 13 byte signal
1 byte header
2 byte swing + temperature
3 byte swing horizontal
4 byte unknown (always 0)
5 byte fan speed
6 byte ac mode
7 byte different modes (e.g. iFeel)
8 byte unknown (always 0)
9 byte on/off
10 byte unknown (always 0)
11 byte unknown (always 0)
12 byte part of checksum?
13 byte checksum
Because the data are too long I have attached some of them in a file.
Here is a link Ir Data
If anyone can figure out what the checksum algorithm is and if the 12byte is part of it , I would greatly appreciate it.
Bits are needed in the final end but, as a beginning, hexadecimal would be easier to scan. When boggling the checksum decimal might be interesting.
How old is the design? Thinking about the eventual checksum..
Okey. Depending on the level of security the CRC can be "anything". I coded a 15-CRC, a cyclic one working like a shift register with a few bits fed back, for space communication more than 30 years ago. Not easy to find out by reverse engineering. Try HEX representation. I'll see if I can undust the old memory for other kinds of CRC.
In case of an integer, I agree. LSB comes first. But..... There are 11 byte to checksum. There are obviously byte data present. Don't remember but check summing byte wise is still possible. Then I would guess that checksum is one byte.
Yes that is what I mean: each byte interpreted as LSB first (i.e. the first bit is least significant bit of first byte; 9th bit is LSB of second byte etc.), sum bytes 1 - 12, you will get byte 13.