Hi all! In Finlands local heat pump forum we have been trying to find out how to control air-to-air heat pumps using PC with infrared transmitter. So far attempts have been made to record remote control codes and trying to solve what the codes contain. Overall it seems that the codes are very long and therefore cannot be learned to 'one-for-all' remote controls.
I've been looking into Panasonic controlling and now it seems that the code format is solved in general and I even got my E12 to reveice codes sent from PC!
First I used an own IR recorder to record raw codes from the Panasonic remote control. The code is stunning 216 bits (27 *
long and contains a lot of information. Here is an example of setting heat mode and 20 degrees:
0220E004000000060220E00400492880A40D000EE000000100069D
The temperature is directly set in 7 bits starting from bit 112.
Code has a checksum in the last byte (9D) calculated as follows: f4 + 02 + 20 + ... + 00 + 06 (= 9D in the case above). Summing all but the last byte to f4.
The code signalled using 40kHz carrier like this, all times in microseconds:
Header:
3535 carrier on
1705 off
First 8 bytes, LSB first:
For each 0 bit:
450 on
400 off
For each 1 bit:
450 on
1269 off
After 8 bytes, another header is sent:
474 on
9963 off
3538 on
1677 off
And then rest of the 19 bytes are sent as the 8 above.
Last a trailer is sent:
495 on
I have tested the sending with a very simple IR hardware where 2 IR leds are directly connected to PC audio output L and R channel outputs. The diodes are in opposite polarities, no connection to ground, but directly in L and R.
I thougt somebody might find this subject interesting and might want to give it a try. Please also find some custom software to record and playback IR codes and some logs from Panasonic remote. Feel free to use and modify the source, should compile with Visual C++. I couldn't attach the .zip files here, but you can found them from the original thread (ir.zip, pana.zip).
Link to the original thread:
http://lampopumput.info/foorumi/index.php/topic,1904.0.html