RC5 protocol - help making upgrade

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
bone450
Posts: 12
Joined: Sun Mar 12, 2006 10:56 am

RC5 protocol - help making upgrade

Post by bone450 »

Ok I have a device I learned the signals from. As far as I can tell IR would say the buttons were either device 0 or device 3. And the obc's would span from 0-63 and 64-xxx for both. So I made a KM upgrade with:
device 1 = 0
device 2 = 100
device 3 = 103

And then I would set the byte2 column to 0,1,2 as appropriate. Now this leaves one button on device 3 in the 0-63 range which isn't mapped.

Can I use the RC-5/RC-5x combo protocol to get all 4 devices mapped in one upgrade?

If I do this what would I set the byte2 column too? I tried but got confused.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

When you use the combo protocol, for RC-5 signals you just enter the device code in the "byte2" column (as described in the "Protocol Help" tab). You can enter OBCs in the full 0-127 range.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

You haven't said what protocol your using. If it's RC-5 (as your subject line implies), then what Rob says above is true. You DO NOT enter the device data on the setup sheet. You do so on the Functions sheet and there is no limitation.

If, on the other hand, it's RC-5X, then what you have done is correct and you're SOL. You would have to make a separate upgrade for the one oddball function and keymove that function to the first (primary) upgrade in IR.
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

Capn Trips wrote:You haven't said what protocol your using.
He is using RC5, or what he said about the meaning of "device 2 = 100 device 3 = 103" wouldn't make any sense.
Capn Trips wrote:If it's RC-5 (as your subject line implies), then what Rob says above is true.
Right :wink:
bone450
Posts: 12
Joined: Sun Mar 12, 2006 10:56 am

Post by bone450 »

Ok yes, first try was using the RC-5 protocol. Then when I tried using the combo protocol I got confused about entering the device data on the first page, and then what to put in the byte2 column on the next page.

I think understand it now. I don't put anything in the device boxes on the first sheet. Then on the second sheet, just put in the device in the byte2 column, and don't worry about if the obc is above or below 63. I will try that.
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

I knew that YOU (John) knew and that HE (Rob) knew and I knew what I knew, but I didn't know what HE (bone) knew. Y'know? :D

But what do I know?
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Reading between the lines, it sounds like you haven't noticed the "Protocol Help" tab that's available in KM. Also, there's a little bit of helpful info on the "Setup" sheet also.

From the "Setup" sheet:
COMBO: MUST use OBC's.
Enter up to 4 RC-5x Device Codes (max value 63).
Set 'byte2' = 'dev' for RC-5;
'dev# <space> unit' for RC-5x
(see [Protocol Help] for details).
And from the "Protocol Help" tab:
The RC-5/5x Combo protocol allows you to combine functions that
use both RC-5 and RC-5x codes.

RC-5 codes use a device code and a command code (OBC), while RC-
5x codes use a device code, a unit code, and a command code (OBC).

To setup this combo, you MUST use OBC-style Button Codes (EFC's
are not supported). Enter the OBC's in the OBC column (B) on the
[Functions] sheet.

The byte2 information is entered as follows:

For an RC-5 command, simply enter the device code.

For an RC-5x command, you need to enter the device code in one of
the four cells on the [Setup] sheet, then in the byte2 column, you
enter a number to indicate which of the 4 RC-5x device codes you
want to use ('1'=1st, '2'=2nd, '3'=3rd, '4'=4th), followed by a
space, followed by the unit code. For example, to program a
function that uses RC-5x, device code 12, and unit code 6, you
would enter '12' in the "RC-5x Dev1" cell on the [Setup] sheet,
then in the byte2 column you would enter '1 6'.

By default, you will only be able to use OBCs < 63 for RC5x signals,
In order to access OBC's in the range 64-127, you will need to add
100 to the RC5x device code entered.
Bottom line: this executor lets you combine RC-5 and RC-5x codes. For RC-5 all you need to do is enter the device code in the 'byte2' column.

You can also only combine up to four RC-5x device codes, these need to be entered in the "Setup" sheet. Then when you enter the functions, in the byte2 column you need to first enter a number (1-4) to indicate which device code you wish to use, then you leave a space which is followed by the unit code (as RC-5x signals have a device code AND a unit code). You can combine as many unit codes as you like.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
bone450
Posts: 12
Joined: Sun Mar 12, 2006 10:56 am

Post by bone450 »

Yeh I saw the help pages and the help stuff on the setup page. It was my first time using the RC-5 and the RC-5x was the part that was confusing me. Since I have never used it RC-5x and didn't need to use it in this case, I was still getting confused by the RC-5x thinking I had to do something with it. Anyhow I figured it out and posted the file in the TV section: http://www.hifi-remote.com/forums/dload ... le_id=3483
Post Reply