|
|
 |
|
The following page was printed from RemoteCentral.com:
|
Yamaha Extended IR Codes - Read More...
| |
|
| Topic: | Yamaha Extended IR Codes - Read More About Them This thread has 22 replies. Displaying posts 1 through 15. |
|
| Post 1 made on Thursday December 16, 2004 at 01:12 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,910 |
|
|
*** Attention!!! Edited December 18, 2004***The purpose of this thread, in my mind is to help explain Yamaha Extended IR Codes, how to use the documents provided by Yamaha to generate your own codes, etc. If you have a particular question about discrete codes for a model, please post in a separate thread as I'd like to keep this thread to the topic of understanding and generating Yamaha IR Codes. Happy Holidays!!! and now, on to the good stuff. -------------------------------------------------------------------------------------------------- See this document and download the Yamaha Extended Codes for the RXV-800 or the RXV-1000 in the Pronto Files Section. [Link: yamaha.com]This message was edited by Lyndel McGee on 12/18/04 20:07 ET.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 2 made on Thursday December 16, 2004 at 09:44 |
retiredjeff Long Time Member |
Joined: Posts: | December 2004 16 |
|
|
Lyndel -
That little pdf will probably take me a long way -- can't wait to get home and try it. Thanks.
Just one point of confusion (probably as a result of being new to the Pronto) - on page 10 of that document it talks about taking the learning remote (my Pronto, in this case) and transferring the just-learned extended IR code back to the source remote (my OEM remote, in this case). Why in the world would I need to, or want to, do this? Seems like all I need is step one on page 9 to shoot the extended IR codes to the Pronto.
And hopefully those extended IR codes that Yamaha provides on their website include the specific 2 or 3 DSP codes in back of a few of their OEM remote buttons that serve as toggles on the OEM remote - I'll check it when I get home.
|
Jeff |
|
| OP | Post 3 made on Thursday December 16, 2004 at 10:30 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,910 |
|
|
You don't need to learn between 2 Yamaha remotes, just the pronto.
You can forgo learning from the Yamaha remote if you have a way of generating all 256 function codes for the device you need.
The easiest way to do get other Yamaha codes is to figure out what the device code is (0x7E in this case) which is 254 decimal and generate function codes 0-255 using the MakeHex program and the Yamaha/NEC.irp file.
Once you have the .hex output from MakeHex, you can simply open with notepad and paste that into the IRPanels program. Hit Generate CCF and you have a config with all 256 function codes.
Both MakeHex and IRPanels are in the Pronto Files Section. Furthermore, John Fine (aka JohnsFine) wrote MakeHex and provides support for it in the Yahoo JP1 forum.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 4 made on Thursday December 16, 2004 at 10:38 |
augusty Long Time Member |
Joined: Posts: | July 2004 478 |
|
|
Just one point of confusion (probably as a result of being new to the Pronto) - on page 10 of that document it talks about taking the learning remote (my Pronto, in this case) and transferring the just-learned extended IR code back to the source remote (my OEM remote, in this case). Why in the world would I need to, or want to, do this? I just did this. The steps above are Yamaha's way of creating macros, so, if you did not own a pronto, you would wxtract the ir and put it back on their remote for ease of use. Seems like all I need is step one on page 9 to shoot the extended IR codes to the Pronto. Right! And hopefully those extended IR codes that Yamaha provides on their website include the specific 2 or 3 DSP codes in back of a few of their OEM remote buttons that serve as toggles on the OEM remote - I'll check it when I get home. DSP, OEM? (I cannot keep up with all these abbreviations) But becareful of the toggles. That remote has a power toggle and a standby toggle. Depending on how your pcf is laid out or used, you could be turning things off when things are supposed to be coming back on.
|
Friend of Bill and Dorothy |
|
| Post 5 made on Thursday December 16, 2004 at 12:10 |
retiredjeff Long Time Member |
Joined: Posts: | December 2004 16 |
|
|
DSP, OEM? (I cannot keep up with all these abbreviations)
But becareful of the toggles. That remote has a power toggle and a standby toggle. Depending on how your pcf is laid out or used, you could be turning things off when things are supposed to be coming back on. DSP - digital signal processing and OEM - original equipment mfgr. My concern is exactly what you've cautioned about -- toggles. The Yamaha remote, for example, offers two Hall soundstages on one button. Hit it once you get Hall #1 and hit the same button again you get Hall #2. My goal is to get the direct IR code for Hall #2 and attach it to a unique Pronto button (and do the same for Hall #1) so I ( and my wife :) ) can hit one different button for either and not have to deal with one button offering both halls but having to know that you must hit that same button twice ( which she'll never know, but I would :) ).
|
Jeff |
|
| OP | Post 6 made on Thursday December 16, 2004 at 12:45 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,910 |
|
|
August,
You can seek help on abbreviations usually through a site such as dictionary.com.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 7 made on Friday December 17, 2004 at 22:16 |
retiredjeff Long Time Member |
Joined: Posts: | December 2004 16 |
|
|
The easiest way to do get other Yamaha codes is to figure out what the device code is (0x7E in this case) which is 254 decimal and generate function codes 0-255 using the MakeHex program and the Yamaha/NEC.irp file. Lyndel - Pardon my ignorance here . . . but I was able to use MakeHex and IRPanels to create the ccf file with 255 entries (though MakeHex had four different NEC irps to choose from, I just used the first one and I'll hope that's the one for the RX-V2400). I imported that ccf with PENG just fine. Now, how do I determine the device code for the many, various discrete functions I'm looking for (like all the DSP modes)? Then, what's the trick to go from device code to decimal so that I know which of the 255 items is the target IR I'm looking for to put into my own configuration file? Thanks in advance for your patience in training another newbie.
|
Jeff |
|
| OP | Post 8 made on Friday December 17, 2004 at 22:50 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,910 |
|
|
First off, the codes used by Yamaha are posted on their site as 7 E C 0. the device code is the first 2 digits. 7E in hexadecimal. The Function code is C0.
All extended codes use Device 7E so you should use Device 7*16 + 14 = 126 for Makehex. You then pick and choose the function codes you need by converting the decimal numbers generated by MakeHex and IRPanels into the corresponding Hex values from the Yamaha site.
Hex to decimal conversion:
As you now know, Makehex generates function codes from 0-255. Why? because these are the decimal numbers that will fit into 8 bits (1 byte on the Intel Platform).
Now, 0-255 in decimal is equal to 0-FF in hexadecimal. Confusing, yes, but to folks who understand binary, with 4 bits, there are 16 possible combinations allowed: 0-15 or 0-F (hex). Hence, you can treat 7E as 2 groups of 4 bits (that's why Yamaha breaks em apart). &=0111 in binary. E=1110 in binary. Together, these are 01111110 (which is 126 in decimal).
But wait, there's got to be a better way. There is.
1. On a Windows Box, Start->Run->Calc.exe 2. Choose View->Scientific. 3. Ensure that the 'Hex' radio button is selected. 4. Type in FE on the keyboard or press the 'F' 'E' buttons. 5. Click the 'Dec' radio button.
Magically, you see the 'FE' code you just typed converted to Decimal 254.
You can also do reverse conversions.
For example, the Yamaha site says that Jazz Club Surround Setting is 7 E E 8. The function code you want is E8 in hexadecimal. Use calc to determine that E8 is 232. Hence, in the MakeHex-generated IR Code CCF, function 232 will set surround for Jazz Club. Some functions may work, some may not. However, now, you have a way to convert between Hexadecimal and Decimal such that you can cross reference your CCF with Function Codes posted on the Yamaha Site.
You may have also noticed that Yamaha has posted Standard IR codes under Device 7C or 7A, I can't recall. 7C=124 7A=122. These are the Device Codes you plug into Makehex. Use Function codes 0-255 to generate the CCF.
Keep in mind, that if you have more than one device ID, you run Makehex N-Times, 1 time for each device, and merge configuration files together.
If you look at the RXV-900 CCF file with Yamaha codes, you will see that Jazz follows Function 231 on the Surround #1 page.
Now, you have been officially empowered with everything you need to know using the IR Code generation tools with pre-defined .IRP files for Makehex.
The big key is having the Device ID and you can generate any function code you like.
Happy Holidays, Lyndel McGee
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 9 made on Saturday December 18, 2004 at 00:35 |
augusty Long Time Member |
Joined: Posts: | July 2004 478 |
|
|
Wow Lyndel, that is an awful lot to go through for somthing to almost work. It really is a lot easier to print the document at: [Link: yamaha.com]and then print the document about the extended discreet codes. Then you scroll throught the list of ir codes on the remote to extract them out. have the pronto ready to learn the ones you want. Or I believe I saw pcf device codes for the RX-V2400 here: [Link: remotecentral.com]Retired Jeff, did you try out one of the three/four device setups here? My system was the RX-v2300 so I had to use the extract / learn feature to get the remote to work. But, the geek that I am, I am sure to try Lyndel's way just for fun!
|
Friend of Bill and Dorothy |
|
| Post 10 made on Saturday December 18, 2004 at 07:42 |
retiredjeff Long Time Member |
Joined: Posts: | December 2004 16 |
|
|
Lyndel -
Wow. That was outstanding, just a terrific explanation and one that I could understand from start to finish. Though this is obviously the most detailed way to do this, I'm a glutton for punishment and would like to try just to know another path.
My only hitch now is running makehex in a windows environment. The readme file says to just drag one of the IRP files onto the makehex icon and it then creates the hex file. But, it does say you can edit the irp file (and save it as a new irp file, I suppose), which I will - based on your calculation of the device number for my Yamaha's extended IR codes. So, earlier I understood you to say that the Yamaha and NEC were the "same" for this irp purpose in makehex. OK, if Yamaha uses the same "stuff" as NEC, how do I know which of the four NEC files provided in the makehex zip file to edit? For example, nec1.irp looks like:
Device=4 Function=0..255
Protocol=NEC Frequency=38000 Time Base=564 One=1,-3 Zero=1,-1 Prefix=16,-8 Suffix=1,-78 R-Prefix=16,-4 R-Suffix=1,-174 Default S=~D Form=*,D:8,S:8,F:8,~F:8,_;*,_
Each of the other four nec irp files in the makehex zip look ever so slightly different on one or more of the lines below the "function" line. Is that of concern to me? I gotta think so. Especially the "form" line which seems to be different for each irp file. Is it as simple as typing in device 126 (for the 7E extended IR codes) in the above irp, saving it as a new irp and then running that irp into makehex . . . or do I have to change other lines in this irp file before it'll work right?
I'm sure I'll have another question :) but I really appreciate your patience and help!
|
Jeff |
|
| Post 11 made on Saturday December 18, 2004 at 07:49 |
retiredjeff Long Time Member |
Joined: Posts: | December 2004 16 |
|
|
I believe I saw pcf device codes for the RX-V2400 here: [Link: remotecentral.com]Retired Jeff, did you try out one of the three/four device setups here? Yes, I saw those pcfs earlier, but unfortunately, I'm using the TSU3000 so I can't open the color pcf's. The one B&W pcf had an ok layout, but didn't do more than duplicate the remote. In other words, the button for "Hall" was just a toggle that cycled through the 3 options for Hall. I'm trying to configure my Pronto for direct access to the discrete's for each of the 3 Halls (as well as for each of the other OEM remote buttons that have multiple distinct items beneath them).
|
Jeff |
|
| Post 12 made on Saturday December 18, 2004 at 10:45 |
treehouse Lurking Member |
Joined: Posts: | December 2003 9 |
|
|
On 12/18/04 07:49 ET, retiredjeff said...
Yes, I saw those pcfs earlier, but unfortunately, I'm using the TSU3000 so I can't open the color pcf's. Why not download whatever version of prontoedit you need and use it to view the pcf? I have an old tsu1000, a new color 7000 and an Ipronto. I routinely open various versions of ccfs, pcfs, icfs, etc in their relevant software so i can borrow codes and whatnot from the various config files. Then simply cut and paste the IR codes between them. Its not uncommon for me to have three versions of the pronto edit software open at one time. As to the current topic... I'd love to see a complete uploaded file of all yamaha discreet receiver codes. I own the 2300 but Im assuming most of these codes are universal. I would love to find the discreet codes for 6 channel stereo, 2 ch stereo, and EX processing etc.
|
|
| Post 13 made on Saturday December 18, 2004 at 11:05 |
augusty Long Time Member |
Joined: Posts: | July 2004 478 |
|
|
On 12/18/04 10:45 ET, treehouse said...
As to the current topic... I'd love to see a complete uploaded file of all yamaha discreet receiver codes. I own the 2300 but Im assuming most of these codes are universal. I would love to find the discreet codes for 6 channel stereo, 2 ch stereo, and EX processing etc. Its all here in this topic, Yamaha gives the instructions to extract the discreets from thier remote by learning it into the pronto. I captured the codes for the 2300 if you want to check out my pcf: [Link: mywebpages.comcast.net]For my listen section I used the wood grain panels - its really different.
|
Friend of Bill and Dorothy |
|
| OP | Post 14 made on Saturday December 18, 2004 at 13:45 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,910 |
|
|
August, Some Yamaha remotes, like mine on the HTR-5280 do not support sending the extended IR codes. Maybe models after 2001 do but mine does not. Hence, for those without remotes, it makes sense to use MakeHex. ================= Technical Mumbo-Jumbo: ================= If you read Barry Gordon's IR document in the Pronto forum, you will see that NEC/Yamaha codes contain 4 8-bit patterns. D, ~D, F, ~F with lead-ins and lead-outs. Note that the '~' above represents one's complement in binary. This is used by the IR receiver to make sure that the code received is correct. If you examine the NEC.irp file closely, you will see D, S, F, ~F. The 'S' above is set in the Default line to be ~D so you are in business. The timebase is 38000 (38KHz) which is exactly what you need for these codes. ================= Modifying and Using an IRP file. ================= Now, on to the good stuff. You can do the following. 1. Edit NEC.IRP using Notepad.exe or Wordpad (Write.exe). Change the first line containing the 'Device' number to 124. 2. Edit the line containing function count to say 0..255 3. From there, you can drag NEC.IRP onto Makehex.exe and it will generate the file NEC.hex. I do it a bit differently using an OS command prompt. 1. Open up a command prompt: Start->Run->cmd (COMMAND on Win98) 2. Change to the directory where MakeHex.exe is installed. Example: c: [Enter] cd c:\lrm\MakeHex40 [Enter] 3. makehex nec.irp [Enter] 4. notepad nec.hex 5. Ctrl-A to Select All Text, Ctrl-C to copy to clipboard 6. Run IRPanels and Ctrl-V to paste copied text into window. 7. Press 'GenerateCCF' button 8. Import generated CCF into PPENG or PENG.
If you've followed this thread so far, you should have enough information to be very dangerous and VERY self-sufficient.
I posted this is a sibling thread in the Pronto Forum....
For the faint at heart,
If you screw something up and get your receiver settings out of whack, you can always reset to Factory Defaults for your your unit by looking at the first drop-down link on this page.
[Link: yamaha.com]
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 15 made on Saturday December 18, 2004 at 14:16 |
treehouse Lurking Member |
Joined: Posts: | December 2003 9 |
|
|
On 12/18/04 11:05 ET, augusty said...
Its all here in this topic, Yamaha gives the instructions to extract the discreets from thier remote by learning it into the pronto. I captured the codes for the 2300 if you want to check out my pcf: [Link: mywebpages.comcast.net]For my listen section I used the wood grain panels - its really different. Thanks! I'll go check that out.
|
|
 |
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.
|
|