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

Login:
Pass:
 
 

Topic:
convert RC5 to hex
This thread has 7 replies. Displaying all posts.
Post 1 made on Wednesday October 6, 2021 at 10:19
charlieL
Founding Member
Joined:
Posts:
January 2002
5
I have a list of RC5 codes for a Trinnov AVR that I am trying to convert to a hex string to use in my MX-990. Samples are below. I have looked at the Pronto-era programs on Remote Central such as IRScrutinizer, MakeHex, and RC5 to Hex, but don't have enough knowledge to make them work. Guidance would be greatly appreciated!

Address: 13h (group 19: Pre-Amp2)
button: code (standard RC5)
-------------------------------
Format left : 4Eh (linear function down) (new button)
Format right : 4Dh (linear function up) (new button)
1: 01h (1) => 1
2: 02h (2) => 2
3: 03h (3) => 3
4: 04h (4) => 4
5: 05h (5) => 5
6: 06h (6) => 6
7: 07h (7) => 7
8: 08h (8) => 8
9: 09h (9) => 9
10: 68h (10) => 104

--Charlie
Post 2 made on Thursday October 7, 2021 at 11:49
Barf
Long Time Member
Joined:
Posts:
August 2013
299

Last edited by Barf on October 7, 2021 12:02.
OP | Post 3 made on Thursday October 7, 2021 at 14:38
charlieL
Founding Member
Joined:
Posts:
January 2002
5
Thank you for the lead to IRScrutinizer and the Render function. If I can impose further, I still need to know how to take the info I have - address, group, RC5 code, etc., and give IRScrutinizer what it is looking for as inputs - D and F (and others?). Could you show me how to do that, or point me to some documentation that would let me figure it out?

Thanks, again.

--Charlie
Post 4 made on Friday October 8, 2021 at 05:26
Barf
Long Time Member
Joined:
Posts:
August 2013
299
In IrScrutinizer: for the "Protocol", select "RC5" from the pull-down menu. In IrScrutinizer, that protocol has two parameters: D (device), and F (function). From the context, we conclude that

Address: 13h (group 19: Pre-Amp2)

means that D=19 (or 13 in hexadecimal). It is the parameter that is constant for all commands. You can enter either form; using the prefix "0x" to indicate hecadecimal (as in the sceendump).

In the same way, the command number is the "F", enter as decimal or hexadecimal as you like. After entering protocol and parameter values, just press "Render". (Earlier versons said "Generate" instead of "Render".)

(Strictly speaking, there is a toggle parameter ("T") too, but for most purposes, you can just ignore it.)

The full manual is available here: [Link: harctoolbox.org]
OP | Post 5 made on Friday October 8, 2021 at 15:49
charlieL
Founding Member
Joined:
Posts:
January 2002
5
Thanks again for the explanation, but I cannot get the results you show in your screenshot, even though I am using what appears to be the same version of IRScrutinizer.  My screenshot is attached.  Can you tell me where I might be going wrong?

OP | Post 6 made on Friday October 8, 2021 at 15:50
charlieL
Founding Member
Joined:
Posts:
January 2002
5
Sorry, my screenshot did not come out very clear. The result shown is:

Freq=36000Hz[][+1778,-889,+889,-1778,+1778,-889,+889,-1778,+889,-889,+889,-889,+1778,-1778,+1778,-889,+889,-889,+889,-90886][]
Post 7 made on Saturday October 9, 2021 at 02:17
Barf
Long Time Member
Joined:
Posts:
August 2013
299
Select Options (in the top row)-> Output text format and make sure "Pronto Hex" is selected.
OP | Post 8 made on Sunday October 10, 2021 at 13:10
charlieL
Founding Member
Joined:
Posts:
January 2002
5
Thank you - it works perfectly! (I never would have gotten there without your assistance.) As a reference for Trinnov users wanting to try this, I have posted two of the hex codes rendered by IRScrutinizer, which I can confirm work on the Trinnov when pasted into the URC Universal Browser.

Preset 1: 0000 0073 0000 000C 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA8

Preset 2: 0000 0073 0000 000A 0020 0020 0040 0040 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0CC8


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