Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Anyone have a way to convert NEC IR codes to Pronto Hex?

Hi Everyone,

I'm using iRule to create a custom remote for a home theater. We've got a Infocus IN82 hooked up but iRule only has some basic IR commands in the database. The theater has an anamorphic lens setup so I need a discrete code for both the 16:9 format and the letterbox format for this projector. I was able to find a list of IR codes on Infocus' site, but it's in NEC format and iRule only takes Pronto Hex. I've been searching around for a converter, but haven't had much luck. Anyone able to help out here. I'd really appreciate it!

Infocus IR codes - http://www.infocus.com/resources/docu...

Thanks,
J
2 people have
this question
+1
Reply
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • Get the free software, "IR Scrutinizer", it will let you convert from / to any format. it's probably the best tool available for working with IR codes. it also supports direct IR learning from a network connected GC100, iTach or Flex unit.

    guide and download: http://www.hifi-remote.com/wiki/index...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I’m happy
    Hello friends, I found a solution to such a problem, I was trying for a personal project, and it took me a long time to find the answer.

    Using IrScrutinizer, the following steps were performed:

    1st - Obtain the NEC1 code from the control through Arduino Uno, using the IRRemote library, using the example "IRrecvDump".
    (I obtained the Code: B54AD02F).

    2nd - Using IrScrutinizer, I went to the "Tools" tab and then "Hex Calculator". I inserted the code, "B54AD02F", and then I got the generated LSB code: "F40B52AD".

    3rd - I have separated the relevant digits from the code:
    • digit 3 and 4 = 0B = this matches the "function" in the protocol nec (OBC);
    • digit 5 ​​and 6 = 52 = this corresponds to the "subdevice" of the protocol nec;
    • digit 7 and 8 = AD = This corresponds to the protocol "device" nec.

    4th - Using the hex calculator or the windows calculator, I made the above separated codes into decimal:
    • OBC (function) = 0B (HEX) = 11 (DECIMAL);
    • Subdevice = 52 (HEX) = 82 (DECIMAL);
    • Device = AD (HEX) = 173 (DECIMAL);

    5 - Finally we go to the "Generate" tab of IrScrutinizer and select "nec1" in protocol, enter "173" in "D", "82" in "S" and "11" in "F".
    So I clicked on "Generate" and got the Pronto Hex code below, that solved my problem:

    0000 006C 0022 0002 015B 00AD 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 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 0041 0016 05F7 015B 0057 0016 0E6C

    I hope this helps someone, because it was very useful to me!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • Hi Filnem,

    I need to convert the Apple TV Power Off into Pronto Hex Code but I am stucked in your step one (I found the IR sequence here : https://github.com/lprhodes/homebridg....

    Can you help me?
    Thanks,
    Cyril
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned