Difference between revisions of "Extending the repeat duration of raw Pronto IR codes"

From LinuxMCE
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 +
{{versioninfo}}
 
[[Category: Infrared]]
 
[[Category: Infrared]]
 
Sometimes, a device does not react to an IR command because the duration of the code is too short. For example, a standard Pronto code to turn my Panasonic plasma TV on does not work. When I push the button on the remote, it ''does'' work, but I need to keep the button pressed for a fairly long time.
 
Sometimes, a device does not react to an IR command because the duration of the code is too short. For example, a standard Pronto code to turn my Panasonic plasma TV on does not work. When I push the button on the remote, it ''does'' work, but I need to keep the button pressed for a fairly long time.

Latest revision as of 11:38, 2 May 2010

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

Sometimes, a device does not react to an IR command because the duration of the code is too short. For example, a standard Pronto code to turn my Panasonic plasma TV on does not work. When I push the button on the remote, it does work, but I need to keep the button pressed for a fairly long time. It would be nice to simulate that in the raw Pronto code.

Here's how it worked for me.


The first few words of the code (each consisting of 4 hexadecimal digits) say something about the following code. The first word, for example, should always be 0000 (pronto format: raw). The third word contains the number of word pairs that are sent only once, and the fourth word contains the number of word pairs that are repeated.

My ON command for the Panasonic was this: 0000 0071 0000 0048 0080 003F 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010 0010 0030 0010 0AAB

It did not work because it was too short. All that is needed is a change in the fourth word, just doubling it:

0000 0071 0000 0048 ---> 0000 0071 0000 0096

and then copy/paste the remaining words (each pair of those indicates an on/off timing). This eventually gives

0000 0071 0000 0096 0080 003F 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010 0010 0030 0010 0AAB 0080 003F 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010 0010 0030 0010 0AAB


And presto! The ON signal is transmitted twice as long now, and my TV turns on.