Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 4 made on Tuesday October 28, 2014 at 23:11
3FG
Select Member
Joined:
Posts:
August 2009
1,861
Sorry, I should have included a little more info.  Yamaha uses the NEC1 IR protocol, which has 32 bits of information.  The first 8 bits are the device number.  In the original implementation of the NEC protocol, the second 8 bits was the binary complement of the device number which provided some level of error detection.  Later, the protocol definition was changed so that the second 8 bits specify a subdevice.  However, some NEC protocols are still listed with a single device number, e.g. Vizio uses device 4, which is really the same as 4.251.   Yamaha continues to employ IR codes in which the second byte is the complement of the first.

The function number of NEC protocols usually follow the same pattern:  the 3rd byte is the function number, and the 4th is the complement of the function number.   For years Yamaha used this convention, and we still see IR signals described as e.g. 0x7A-0x1A (Vol+)  You should enter this type of code into IrScrutinizer with 0x7A in the D box and 0x1A in the F box.  Leave the S box empty and the program will compute the complements.

In the last few years, Yamaha has begun to alter the structure of the 4th byte, probably to expand the space of available function numbers.  They write these codes in a form like 0x7A-0x4738 (HDMI-1).  In this case, select NEC1-f16 as the IR protocol, enter 0x7A in the F box, leave S blank, and put 0x4738 in the F box.  As a side note, 0x47 and 0x38 add up to 0x7F so only the most significant bit strays from the standard NEC complement rule.  Actually Yamaha codes of this form don't complement one or both of the MSB and the LSB.  They still get some level of error detection,


Hosting Services by ipHouse