Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Up level
What's New
11/18/09 - A major update brings our collection to over 1,350 manuals for 115 brands.
11/04/09 - New features, hundreds of 2-way and RS-232 modules, plus a web browser for the MX-6000.
9/04/09 - Latest activity-based model features a color screen at an economical price.
9/03/09 - * OK, one string – you may have to learn something!
8/22/09 - As it turns out, those who do not learn from history... still won't repeat it.

Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
How to make Pronto codes from hex?
This thread has 10 replies. Displaying all posts.
Post 1 made on Monday October 19, 2009 at 19:44
ckleiman
Junior Member
Joined:
Posts:
July 2007
31
I was looking for Pronto codes for an LG42LH50 HDTV. In the user manual they list all the IR codes each with a two digit "hexa" reference. For example:

Volume + =02
Volume - =03
Number 0-9=10-19
Chan + =00
Chan - =01

How can you convert these to Pronto code format? Hello Jasonvp? Or anyone else who knows?

BTW, I found the discrete Pronto codes for Power ON and Power OFF in the discrete codes section of this site so ok there.
Claude Kleiman
www.asianproav.com
Post 2 made on Monday October 19, 2009 at 20:27
Jasonvp
Senior Member
Joined:
Posts:
July 2008
1,008
Hi ckleiman,

Try these,

Chan + =00
Device Code: 4 (0x04) Function: 0 (0x00)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 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 0689 0157 0056 0015 0E94

Chan - =01
Device Code: 4 (0x04) Function: 1 (0x01)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 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 0689 0157 0056 0015 0E94

Volume + =02
Device Code: 4 (0x04) Function: 2 (0x02)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Volume - =03
Device Code: 4 (0x04) Function: 3 (0x03)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 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 0689 0157 0056 0015 0E94

Number 0-9=10-19

0
Device Code: 4 (0x04) Function: 16 (0x10)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

1
Device Code: 4 (0x04) Function: 17 (0x11)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

2
Device Code: 4 (0x04) Function: 18 (0x12)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

3
Device Code: 4 (0x04) Function: 19 (0x13)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

4
Device Code: 4 (0x04) Function: 20 (0x14)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 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 0689 0157 0056 0015 0E94

5
Device Code: 4 (0x04) Function: 21 (0x15)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

6
Device Code: 4 (0x04) Function: 22 (0x16)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

7
Device Code: 4 (0x04) Function: 23 (0x17)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

8
Device Code: 4 (0x04) Function: 24 (0x18)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

9
Device Code: 4 (0x04) Function: 25 (0x19)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94


Cheers
Jason

PS. You can find information here on how I converted them. The Device Number I used for LG is 4.

Last edited by Jasonvp on October 19, 2009 21:04.
Post 3 made on Tuesday October 20, 2009 at 00:17
ckleiman
Junior Member
Joined:
Posts:
July 2007
31
Jason,

I'd already looked at this thread and downloaded MakeHex. The only problem there wasn't an IRP file for LG and I had no clue how to make one. So I followed your instructions and made one using the NEC1 IRP file and dragging into the app just to see how it works. Wow, I couldn't believe how quickly the result with 255 hex codes kicked out!

Many, many, thanks for making the files for me! Saved me countless hours and headache! Its people like you that make this forum the best in our industry! Kudos to you and many thanks, again!
Claude Kleiman
www.asianproav.com
Post 4 made on Tuesday October 20, 2009 at 02:57
Jasonvp
Senior Member
Joined:
Posts:
July 2008
1,008
Your welcome Claude,

Sorry, I forgot to tell you to use the NEC1 .IRP File.

If you Download IR TOOLS and DecodeIR from the Link in Post 2 and follow the instructions, it will give the IR Protocol (which .IRP to use for MakeHex) for most Devices from Learnt Hex Codes starting with 0000.

Also have a read of the Readme File for MakeHex.


Cheers
Jason
Post 5 made on Tuesday October 20, 2009 at 10:35
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,120
I'm curious about your process in identifying protocol and device in these cases (very common) where the OP just provides function numbers.

On October 20, 2009 at 02:57, Jasonvp said...
If you Download IR TOOLS and DecodeIR from the Link in Post 2 and follow the instructions, it will give the IR Protocol (which .IRP to use for MakeHex) for most Devices from Learnt Hex Codes starting with 0000.

So I or the OP could have looked at the Pronto Hex you posted and easily found the protocol and device.

But where did you get protocol and device starting with the initial post that lacked them and lacked learned signals?

When I had time to answer these myself, I used:

1) My memory: I recall LG usually uses NECx1 or NECx2 for most models of most devices, but (for reasons obvious in hindsight) I don't recall what NECx1 or NECx2 device numbers they use for TV's. So that doesn't help.

2) Run a search program against my large library of downloaded IR data for LG devices. So I see most of the devices use NECx1 or NECx2, but (at least in my library) none of the TVs do. The LG TV's I have data on mostly use RC5 device 0. The rest use NEC1 device 4. The function numbers in the original post are very unlikely for RC5, so I would have looked at the NEC1:4 examples first and found the function numbers do match the original post.

But I assume you don't have as extensive a library of downloaded data.

3) In hard cases, I do a search directly on the function number / function name pairs of the original post against my library of all brands, to see if some good match identifies some code set in use by multiple brands. I expect that would have worked this time if I didn't happen to have LG examples on hand.

I assume you don't have such an extensive library of IR data. So you do more of the search online. Maybe you know more about the meanings of LG model numbers, so you wouldn't look at all the ones that are RC5 device 0. Maybe those are obsolete or not HD or something so someone who understands LG model numbers would know not to even look at them. Or maybe you did look at some of them and see they are RC5 and also know the usual patterns of RC5 function numbering make RC5 unlikely for the function numbers in the original post.

Or maybe I'm just overlooking the simple way to get protocol and device in this case. (I did also want to describe the advanced ways above, that I used often when I had more time).
Post 6 made on Tuesday October 20, 2009 at 11:30
Jasonvp
Senior Member
Joined:
Posts:
July 2008
1,008
On October 20, 2009 at 10:35, johnsfine said...
But where did you get protocol and device starting with the initial post that lacked them and lacked learned signals?

From the OP.

On October 19, 2009 at 19:44, ckleiman said...
BTW, I found the discrete Pronto codes for Power ON and Power OFF in the discrete codes section of this site so ok there.

Then I just went to, [Link: remotecentral.com] and used IR Tools.

I also had a fair idea of the Protocol and Device Number from memory.

I do have fairly large IR Database of my own plus I have the Mega List v18 for RTI Remotes which has a lot of different Devices with Learnt Hex Codes and is very easy to find them. You need the RTI Infrared Library Manager to open the Mega List File. The RTI Infrared Library Manager is only available to Dealers/Custom Installers ( you might still have it from a Thread about Tara Lights ).

[Link: remotecentral.com]

[Link: remotecentral.com]


Cheers
Jason
Post 7 made on Tuesday October 20, 2009 at 11:35
3FG
Regular Member
Joined:
Posts:
August 2009
54
John,
The OP says he successfully used the discrete codes for on/off from the discrete codes section of this website. The only LG codes (said to be for 2008)listed are for NEC1 device 4. The original poster's "by the way" comment is useful in this case.

Actually, I'm surprised to read that LG typically (based on your sample) uses RC5. The upgrade files at hifi-remote.com are all for NEC1, device 4. That seems to span from 2004 through recent times.
Post 8 made on Tuesday October 20, 2009 at 13:22
ckleiman
Junior Member
Joined:
Posts:
July 2007
31
The OP says he successfully used the discrete codes for on/off from the discrete codes section of this website. The only LG codes (said to be for 2008)listed are for NEC1 device 4. The original poster's "by the way" comment is useful in this case.

To be sure, I used the discrete codes for on/off and put them into my control system program. Have yet to test them with the LG Plasma on site, however, am hopeful they'll work.

Am busy trying to finish programming today for install on site tomorrow. When I have more time will spend more time studying MakeHex and this thread.
Claude Kleiman
www.asianproav.com
Post 9 made on Friday October 23, 2009 at 16:15
ckleiman
Junior Member
Joined:
Posts:
July 2007
31
Hello Jason,

Thank you for sharing how you make the Pronto codes in MakeHex! I followed your instructions and made a hex file by changing the device code to 4 and dragging the nec1.irp into the MakeHex app and then compared the results with your codes and they matched perfectly.

I will download the link in post 2 to find out which IRP files to use for which devices. My only remaining question, and please forgive me if its buried somewhere in this thread and I've overlooked, is how do you know what device number to use? Does each mfr have their own device number? Does that number vary between different product models?
Claude Kleiman
www.asianproav.com
Post 10 made on Friday October 23, 2009 at 23:13
Jasonvp
Senior Member
Joined:
Posts:
July 2008
1,008
On October 23, 2009 at 16:15, ckleiman said...
how do you know what device number to use?

That is what you use IR Tools for. [Link: remotecentral.com]

Does each mfr have their own device number?

Yes, in most cases. You may find a Device from different Manufacturers that uses the same IR Protocol and Device Number, but this is rare.

Does that number vary between different product models?

Most times the Manufacturer will use the same Device Number and Function Numbers (OBC Number in IR Tools) for each Model of the same Device type, e.g. all DVD Players will be the same and their CD Players will be different. It is not a given, but mostly holds true. Sometimes they use multiple Device Numbers for their Functions e.g. Receivers in most brands and even Plasmas/LCD.

Many Manufactures have been using the same Codes for years and just add to them as new Models come out. So previous Model Codes usually work for new Models.


Cheers
Jason

Last edited by Jasonvp on October 23, 2009 23:21.
Post 11 made on Sunday October 25, 2009 at 12:05
ckleiman
Junior Member
Joined:
Posts:
July 2007
31
On October 20, 2009 at 11:35, 3FG said...
John,
The OP says he successfully used the discrete codes for on/off from the discrete codes section of this website. The only LG codes (said to be for 2008)listed are for NEC1 device 4. The original poster's "by the way" comment is useful in this case.

The irp file used to generate the LG codes is nec1.irp. You just need to change the device=4 before you drag onto MakeHex so that's probably why its listed that way.

BTW, I compared the Discrete on/off codes to the ones generated by MakeHex and they're identical. That said, OFF worked. ON only worked if the Plasma went into standby mode.

I wound up learning the Power on/off command and using it turn the LG on and the discrete to turn it off. All the other commands created by MakeHex worked.

Last edited by ckleiman on October 25, 2009 12:12.
Claude Kleiman
www.asianproav.com


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