Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Analysing IR Code Duration from Hex Code
This thread has 6 replies. Displaying all posts.
Post 1 made on Friday March 2, 2012 at 16:03
makitamark
Advanced Member
Joined:
Posts:
April 2004
984
I read recently on here how to extend the duration of an IR code by altering certain parts of the Hex.
This was the gist of it for those that didn't see it:
Example: Panasonic Viera Power ON code.

0000 0070 0000 0032 0081 0040 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 0AC3

The first four ‘words’ are what is known as the ‘Preamble’, The Fourth Hex ‘word’ is the one that dictates the ‘repeat’ or in other words the ‘burst pairs’, the words from the fifth onwards are the actual code and contain those 50 repeats, to extend this to 100 repeats adjust the fourth word to show Hex 64 (decimal 100) then copy and paste the fifth word onwards (the Red section) and add them onto the end of the existing code.

Hopefully this info is correct, So based on the above, is there a method to 'shorten' an IR code, again by altering it's Hex?
This is the code I'd like to shorten to the Shortest possible IR output.

0000 0073 0000 0015 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0020 0010 0010 0020 0B61

Sorry for the long post, but I just wanted to be clear in the first instance.
Post 2 made on Friday March 2, 2012 at 18:19
3FG
Select Member
Joined:
Posts:
August 2009
1,861
The 3rd quad of the preamble is the number of following burst pairs which are to be sent once, and the 4th quad is the number of burst pairs to be repeated. Both of your sample signals have zero "send once" burst pairs, but with different IR signals, you may need to take that into account.

Anyway, you can make the notation send fewer burst pairs, but presumably you'd like the IR signal to be correctly recognized.  Your second example decodes to RC-6-20, and has the minimum number of burst pairs possible with that IR protocol. The way I decided that was to use IRScope, import the Pronto Hex, look at the decode, and compare it to the IRP description of the signal.

However, you can use IRScope more easily to see if a given Pronto Hex can be shortened.  Take your first signal, modified to send 64h burst pairs.  If you import this into IRScope (specifying 1 repeat), it shows
Panasonic 128.0  62   + 1 copy

The "+ 1 copy"  tells you that this is a repeated signal.  If you now export this decoded signal using the "export using decoded signal" option, it will be shortened to the right length.

Conversely, the second example (the RC6-6-20 IR signal) has the notation 
"no repeat".  So it can't be shortened.  The only exceptions to this are IR signals that use different toggle values for variously the first, or repeated, or end signal of a group of the same IR signals.  These signals can frequently be shortened to just send the first signal of the group, and to skip the following ones.  XMP is usually like that.
OP | Post 3 made on Sunday March 4, 2012 at 11:05
makitamark
Advanced Member
Joined:
Posts:
April 2004
984
many thanks for the reply.
I was hoping the RC6 code be shortened because the issue I'm having is that my Source product is responding as if the command were an extended code.
I think it's Hardware related, I'm going back Tuesday to try some other fixes.
Post 4 made on Sunday March 4, 2012 at 13:06
3FG
Select Member
Joined:
Posts:
August 2009
1,861
Just so we're on the same page, the Pronto Hex you posted is not RC6.

RC6, when referred to in full,  would be RC6-0-16.  It has 16 bits of data, usually interpreted as 8 bits of Device and 8 bits of Function.

Your post had a signal which is RC6-6-20.  It has 20 bits of data, usually interpreted as 8 bits of Device and 8 bits of Function, and 4 bits of Subdevice.

So depending on what you mean by "extended", maybe that's what it is supposed to do.  Or maybe it is an incorrect learn.  Do you have any other signals from the same unit that we can decode to ee if the have the same IR protocol?.

BTW, RC6-6-20 is very uncommon.
OP | Post 5 made on Monday March 5, 2012 at 04:48
makitamark
Advanced Member
Joined:
Posts:
April 2004
984
Hi, thanks for the clarification, that particular code was generated using Makehex, the Original learnt code was this:

0000 0072 002A 0000 0061 0021 0010 0010 0010 0010 0010 0020 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0020 0010 0010 0020 1206 0061 0021 0010 0010 0010 0010 0010 0020 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0020 0010 0010 0020 1206

and another one of the same command

0000 0072 002A 0000 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0020 0010 0010 0020 119A 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0020 0010 0010 0020 0020

I used IRTool to decode this and then generated the 'clean' code, both codes work however.

Last edited by makitamark on March 5, 2012 05:02.
Post 6 made on Monday March 5, 2012 at 11:28
3FG
Select Member
Joined:
Posts:
August 2009
1,861
I think those look like very clean learns.  For my own curosity, what kind of equipment is using this RC6-6-20 IR protocol? 
OP | Post 7 made on Monday March 5, 2012 at 12:29
makitamark
Advanced Member
Joined:
Posts:
April 2004
984
They are UK SKY HD codes, It's a Satellite PVR, quite popular over here.
Some Remotes handle the codes really well, others not so much it seems.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse