Raw Pronto Hex for rAM 8x8 HD Matrix

If you're not a JP1 user, but would like help from the JP1 experts, post your question here.

Moderator: Moderators

johnf
Posts: 9
Joined: Tue Sep 11, 2012 12:29 pm
Location: United Kingdom

Raw Pronto Hex for rAM 8x8 HD Matrix

Post by johnf »

Hi,
Can anyone help. I am looking for raw Pronto Hex codes for this matrix in order to import into a BitWise project. I need to control it via IR. I have the small hex codes provided by the manufacturer e.g. 0xA1 - input 1 to output 1 but need to convert them to raw Pronto Hex codes in order to import them. I have looked at irMaster/MakeHex but do not know what protocol is used or the D or S numbers. Can anyone help?

Thanks
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Re: Raw Pronto Hex for rAM 8x8 HD Matrix

Post by vickyg2003 »

johnf wrote:Hi,
Can anyone help. I am looking for raw Pronto Hex codes for this matrix in order to import into a BitWise project. I need to control it via IR. I have the small hex codes provided by the manufacturer e.g. 0xA1 - input 1 to output 1 but need to convert them to raw Pronto Hex codes in order to import them. I have looked at irMaster/MakeHex but do not know what protocol is used or the D or S numbers. Can anyone help?

Thanks
Well there might not be a D or S. That all depends on the protocol. Do you have any more information with the function code? Timing numbers? Leadout times? We might be able to identify the protocol with the technical specs.

Is the manufactuorer Ram Electronics or Ram Components?
Is there a model number on the unit?

I did some searching and many of the manufacturers of the HD switches use NEC2 device 0.

Give this a try.

0000 006D 0000 0022 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0689
johnf
Posts: 9
Joined: Tue Sep 11, 2012 12:29 pm
Location: United Kingdom

Post by johnf »

Hi Vicky,
When we used to use the Pronto for control we had a project where we had one of the 4x4 matrix from rAM and we were controlling it via IR. Yesterday I opened Pronto Edit Pro for that project and there were the codes for the 4x4. I have copied the codes so you can see what I am talking about. I therefore have the codes for the first 4 i/ps and 4 o/ps (I have not tested them yet – I will today). I do not know where these codes came from – the guy who did the pronto programming for me does not work for me any more so no way of finding out.

I looked at MakeHex. Have you used this or something similar for the codes you sent me. rAM Advanced Technology Ltd are the “manufacturer” – I believe it is a badged product and what they have told me the ir side is based on an LG chip – that is all they know.

A1 =
0000 006E 0022 0002 0154 00AA 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 0015 0015 003F 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 05E4 0154 0055 0015 0E31

A2=
0000 006E 0022 0002 0154 00A9 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 05E4 0154 0055 0015 0E31

A3=
0000 006E 0022 0002 0154 00AA 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 0015 0015 0015 0015 003F 0015 003F 0015 0015 0015 003F 0015 0015 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 05E4 0154 0055 0015 0E31

A4=
0000 006E 0022 0002 0154 00AA 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 0015 0016 0015 0016 0015 0016 003F 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 003F 0016 003F 0016 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 05E5 0154 0055 0016 0E31

A1 OFF=
0000 006D 0022 0002 0157 00AB 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0040 0016 0040 0016 0040 0015 0040 0016 0040 0016 0040 0015 0040 0016 0040 0016 0040 0015 0015 0016 0040 0015 0015 0016 0040 0015 0015 0016 0015 0016 0015 0015 0015 0016 0040 0015 0015 0016 0040 0015 0015 0016 0040 0015 0040 0016 0040 0016 05F0 0157 0055 0016 0E4F

ETC FOR THE OTHER 3 INPUTS

thanks
The Robman
Site Owner
Posts: 22009
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The 5 codes that you posted are all NEC1 dev 0, here are the OBCs:

A1 - 23
A2 - 18
A3 - 89
A4 - 8
A1 off - 21
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
johnf
Posts: 9
Joined: Tue Sep 11, 2012 12:29 pm
Location: United Kingdom

Post by johnf »

Rob,
thanks for the reply. Excuse my ignorance - I don't usually deal with this side of things - what are OBC's. A1 - 23. What are decimal numbers?
I used irMaster with nec1, D=0, S left blank and F=0xA1. The code produced was

0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0699 015B 0057 0016 0EA3

This is different from the code below - taken from ProntoEditPro
A1 =
0000 006E 0022 0002 0154 00AA 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 0015 0015 003F 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 05E4 0154 0055 0015 0E31

Am I doing something wrong?


Thanks

John
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Re: Raw Pronto Hex for rAM 8x8 HD Matrix

Post by vickyg2003 »

johnf wrote:Hi,
I have the small hex codes provided by the manufacturer e.g. 0xA1 - input 1 to output 1 but need to convert them to raw Pronto Hex codes in order to import them. I have looked at irMaster/MakeHex but do not know what protocol is used or the D or S numbers. Can anyone help?

Thanks
Well I did something wrong in my calcuations.

Instead of trying to use make hex, see if this chart will help you.

Scroll down to page 25 of this manual.
http://www.intelix.com/media/manuals/In ... Manual.pdf
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
mdavej
Expert
Posts: 4641
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

John,

For the A1 signal, you need to use F=23, not A1. "A1" is the name of function, not an actual numeric value. So use the numbers Rob posted, not the letters. The resulting code won't exactly match ProntoEdit, but the resulting signal is the same for all practical purposes.

Hopefully the pdf vicky linked has the codes you need anyway.
johnf
Posts: 9
Joined: Tue Sep 11, 2012 12:29 pm
Location: United Kingdom

Post by johnf »

Thanks,
How do you calculate the F=23 from A1 - I have 64 combinations to program A1-8, B1-8, C1-8 etc

John
The Robman
Site Owner
Posts: 22009
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

If you are using IRMaster, you could cut & paste the pronto hex code into the main panel, then click the Decode button. I just did that using your Pronto hex for the "A1" button and got this result:

protocol = NEC1, device = 0, obc = 23

(btw, OBC stands for "Original Button Code" aka "Function Code")
johnf wrote:I used irMaster with nec1, D=0, S left blank and F=0xA1. The code produced was

0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0699 015B 0057 0016 0EA3
I just dropped that string into IRMaster and got the following result:
protocol = NEC1, device = 0, obc = 161

You entered "A1" as the function code and IRMaster interpreted it as hex (A1 is the hex for decimal 161) so the result that you got was as expected. Had you used 23 you would have got a string that is logically identical to the string that you posted.

Please note that when you look at Pronto hex yourself, you can treat 0015 and 0016 as being equal, likewise you can treat 003F, 0040 and 0041 as also being equal.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
mdavej
Expert
Posts: 4641
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

I think we're all not on the same page. Correct me if I'm wrong John, but you want to know how the string "A1" yeilds a 23. As Rob explained, "A1" is just a description, not a number. The 23 comes from the pronto hex. Since your goal is to go from the string "C8" ultimately to pronto hex, that's impossible. Because we don't know the association between "C8" and any sort of number.

So the best you can do at this point is trial and error, assuming you can't find a document like Vicky found that has any sort of codes. I think there are 255 possible codes with that protocol. So you can use makehex (or irmaster I suppose) to generate all of them and try each one until you find a pattern. From what you've posted so far, I don't see a pattern.

Can you go ahead and post all the information you have related to what you're calling "small hex codes"? As far as I can tell A1, 2, 3, 4, and A1 Off aren't hex codes of any sort, but just descriptions.
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Typically we need to reverse the "small hex" bits, and then convert them to decimal to get the. But that document I linked to was a direct hex representation of the OBC, no need to reverse the digits. Unusual in that I've never seen "official" hex for nec posted that way.

And as Rob said A1 = is a label. Its not 0xA1 hex.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
johnf
Posts: 9
Joined: Tue Sep 11, 2012 12:29 pm
Location: United Kingdom

Post by johnf »

Hi,
I have put the manual in my dropbox. Page 18 shows the discrete IR codes. I hope this makes sense

thanks for everyone's help

John


https://dl.dropbox.com/u/14043572/rAM8x ... K17512.pdf
mdavej
Expert
Posts: 4641
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

So, I don't see any discrete codes for a specific source and output using the default code set. But if you connect a serial cable and change your device to use IR3 by typing "IR3", then you can use the hex codes in the IR3 table to make your pronto hex. In that case, source 1 - output 1 is literally 0xA1 = 161 in the F field. The other important part is the 0x12. That means the D field changes to 18 (the decimal value of 0x12).

The commands in the first table don't match the pronto hex you posted earlier. As you can see, your "A1" is actually the Function button on the remote (0x17 = 23 decimal).
The Robman
Site Owner
Posts: 22009
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

johnf wrote:Hi, I have put the manual in my dropbox. Page 18 shows the discrete IR codes. I hope this makes sense
I have copied the manual to our file section, for safe keeping:
https://www.hifi-remote.com/forums/dload ... e_id=11341

OK, here's what I got from the manual. The protocol is NEC1 and there are 3 codesets (called IR2, IR3 and IR4)

IR2 Code: dev 0
IR3 Code: dev 18 sub 33
IR4 Code: dev 19 sub 49

There are 3 tables of hex data on pages 18 and 19. You would need to convert the hex data to decimal in order to get the Function Code (OBC) which you can then input into IRMaster.

For example, the POWER button (under IR2) has hex code 0x02. Converted to decimal that is 2. So, in IRMaster I selected NEC1 with D=0, S=(blank) and F=2 and I got the following Pronto hex:

0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0699 015B 0057 0016 0EA3

The Source 1/Output 1 code (under IR3) has hex code 0xA1. Converted to decimal that is 161. So, in IRMaster I selected NEC1 with D=18, S=33 and F=161 and I got the following Pronto hex:

0000 006C 0022 0002 015B 00AD 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0699 015B 0057 0016 0EA3

The Source 1/Output 1 code (under IR4) has hex code 0xAE. Converted to decimal that is 174. So, in IRMaster I selected NEC1 with D=19, S=49 and F=174 and I got the following Pronto hex:

0000 006C 0022 0002 015B 00AD 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0699 015B 0057 0016 0EA3

I am curious where you got the original Pronto hex that you posted, because I'm not sure that it's a good match.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
johnf
Posts: 9
Joined: Tue Sep 11, 2012 12:29 pm
Location: United Kingdom

Post by johnf »

Hi,
Yes it is the IR3 table that is to be used according to rAM. I will generate some codes tomorrow and try them

Thanks
Post Reply