|
|
 |
|
The following page was printed from RemoteCentral.com:
| Topic: | using slinke IR codes w/ pronto 7000 This thread has 32 replies. Displaying posts 16 through 30. |
|
| Post 16 made on Sunday January 2, 2005 at 23:24 |
jarmstrong Founding Member |
Joined: Posts: | March 2002 1,780 |
|
|
|
| Post 17 made on Monday January 3, 2005 at 01:58 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,910 |
|
|
Thanks JArmstrong. Too much eggnog over the holidays has mushied my brain!!!
Makehex is a command-line program and requires a DOS or XP command window to run (that is, unless you follow the instructions in the readme.txt supplied with the program to associate .irp files with makehex40.exe)
1. Download and unzip makehex to a zip file. 2. Edit NEC1.irp (in the Makehex folder) with notepad.exe and change the device code to that mentioned above. 3. Open a command prompt (cmd.exe or command.com - Win98) using Start->Run 4. c: or d: [Enter](drive where makehex was installed) 5. cd \[makehexfolder] [Enter] 6. type makehex.exe nec1.irp or makehex40.exe nec1.irp depending on the version you have followed by [Enter]. 7. Edit nec1.hex in notepad and copy the hex data for the function codes you need from notepad into PPENG or PENG.
Lyndel
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 18 made on Monday January 3, 2005 at 08:53 |
jarmstrong Founding Member |
Joined: Posts: | March 2002 1,780 |
|
|
One other interesting feature of MakeHex, is that you can create a shortcut to MakeHex.exe from wherever it is located onto the desktop. You can then edit (in this case) the NEC1.irp file, save it, and just drag the NEC1.irp notepad icon onto the desktop, drop it on the MakeHex.exe shortcut, and the NEC1.hex file will be created in the same directory where the NEC1.irp came from.
|
|
| OP | Post 19 made on Tuesday January 4, 2005 at 09:49 |
bdee1 Long Time Member |
Joined: Posts: | January 2004 48 |
|
|
ok i just made my hex file and i will try it with the pronto when i get home tonight.
my only question is how did you know to put 130.180 for the device code
and how do youknow which function codes match up with wich actual remote buttons?
|
|
| Post 20 made on Tuesday January 4, 2005 at 10:54 |
johnsfine IR Expert |
Joined: Posts: | September 2002 5,159 |
|
|
On 01/04/05 09:49 ET, bdee1 said...
my only question is how did you know to put 130.180 for the device code
and how do youknow which function codes match up with wich actual remote buttons? He knew how to read the lines you have such as 010000010000101001010011101011001:power (I saw this thread before Jon answered, and failed to answer because I thought there were 32 bits there and I looked at the last 16 and saw they were wrong, so it didn't fit the expected pattern). Actually there are 33 bits there (as you can see if you count more carefully than I did the first time) and the first 32 give meaningful information and the last one is trash. The 32 bits are four sets of eight 01000001 00001010 01010011 10101100 The last eight must be the inverse of the third set of eight (1 for 0 and 0 for 1) or it isn't the sort of signal we assumed it was. Once you've checked that, discard the last set of eight. reverse the bit sequence within each of the other sets 10000010 01010000 11001010 Finaly convert those three numbers from binary to decimal to get the device, subdevice and function 130.80:202 Jon usually has some set of Excel functions that do most of the work for him, so he doesn't make the mistakes that I make doing these in my head.
|
|
| OP | Post 21 made on Tuesday January 4, 2005 at 19:11 |
bdee1 Long Time Member |
Joined: Posts: | January 2004 48 |
|
|
ok well i am not going to pretend i understand what you are saying johnsfine, i think that is a little over my head.
but i did follow the directions above to create the .hex file and i took the hex for the 5 command (function code 196) and pasted it into the ir code field and whats weird is if i click ok and then double click on my IR command to view the code again, it keeps defaulting back to 900A 006D 0000 0001 82B4 C43B
i cant the get the new hex code to stick.
whats up with that?
am i doing something wrong?
also another thing i noticed, 2 of the commands i was able to learn from the IR blaster. 1 and 2. and when i compare the learned codes for 1 and 2 to the codes in the hex file for 1 and 2, they dont match.
here are the codes the learned 1 command from the pronto: 0000 0067 0000 000D 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 040B
the 1 command from the hex file: 0000 006D 0022 0002 0157 00AC 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 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 0015 0015 0689 0157 0056 0015 0E94
the learned 2 command from the pronto: 0000 00BD 0047 0000 00C6 0062 000C 000A 000C 0024 000C 000A 000C 000A 000C 000A 000C 000A 000C 000A 000C 0024 000C 000A 000C 000A 000C 000A 000C 000A 000C 0024 000C 000A 000C 0024 000C 000A 000C 0024 000C 000A 000C 000A 000C 000A 000C 000A 000C 000A 000C 0024 000C 0024 000C 000A 000C 0024 000C 0024 000C 0024 000C 0024 000C 0024 000C 000A 000C 000A 000C 0024 04A0 002F 000C 08AD 00C6 0062 000C 000A 000C 0024 000C 000A 000C 000A 000C 000A 000C 000A 000C 000A 000C 0024 000C 000A 000C 000A 000C 000A 000C 000A 000C 0024 0001 0015 0001 002F 000C 000A 000C 0024 000C 000A 000E 000A 000C 000A 0001 0015 0001 0015 000C 0024 0008 0024 0001 0015 0001 002F 0001 002F 0001 002F 0001 002F 0001 002F 0001 0015 0001 0015 0001 002F 0001 0062
the 2 command from the hex file: 0000 006D 0022 0002 0157 00AC 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0689 0157 0056 0015 0E94
any thoughts?
This message was edited by bdee1 on 01/04/05 19:20 ET.
|
|
| Post 22 made on Tuesday January 4, 2005 at 20:19 |
jarmstrong Founding Member |
Joined: Posts: | March 2002 1,780 |
|
|
900A 006D 0000 0001 82B4 C43B is just the NG's shorthand notation for that command. It's NEC1 protocol 130.180 function 196, Did you try it?
|
|
| OP | Post 23 made on Tuesday January 4, 2005 at 21:28 |
bdee1 Long Time Member |
Joined: Posts: | January 2004 48 |
|
|
yeah i did download it to the pronto and when i tried it on the avswitcher it did not work.
|
|
| Post 24 made on Wednesday January 5, 2005 at 00:01 |
jarmstrong Founding Member |
Joined: Posts: | March 2002 1,780 |
|
|
Ok, your learned commands provided a clue and there are two things wrong with using the standard NEC1 protocol, (1) these commands are at 42.5KHz and (2) it looks like the entire command sequence repeats once (which is stipulated in the cde file), where in NEC1 only a non data repeat frame is sent. Try these for the numeral commands and see if they work:
Device Code: 130.80 Function: 192 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 193 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 194 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 195 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 196 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 197 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 198 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 199 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 200 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0047 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 Device Code: 130.80 Function: 201 0000 0062 0046 0002 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037 017E 00BF 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0018 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0018 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0047 0018 0047 0018 0018 0018 0018 0018 0745 017E 005F 0018 1037
|
|
| Post 25 made on Wednesday January 5, 2005 at 09:10 |
johnsfine IR Expert |
Joined: Posts: | September 2002 5,159 |
|
|
On 01/04/05 19:11 ET, bdee1 said...
but i did follow the directions above to create the .hex file and i took the hex for the 5 command (function code 196) and pasted it into the ir code field and whats weird is if i click ok and then double click on my IR command to view the code again, it keeps defaulting back to 900A 006D 0000 0001 82B4 C43B Earlier I ignored what I thought was a typo, where you said 180 when the correct number was 80. I guess I should have commented on it then. Your code 900A 006D 0000 0001 82B4 C43B is the Pronto condensed form for 130.180:196, so it seems you really did use 180, when Jon and I were saying 80. Anyway, Jon is probably right about the differences between this code and typical NEC1, so the signals he generated for you are probably all you need.
|
|
| Post 26 made on Wednesday January 5, 2005 at 09:14 |
johnsfine IR Expert |
Joined: Posts: | September 2002 5,159 |
|
|
On 01/04/05 19:11 ET, bdee1 said...
the learned 1 command from the pronto: 0000 0067 0000 000D 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 040B That command is from another device entirely (it's the '1' digit for a Sony mini disk system). Jon seems to have ignored it, which is probably the right thing to do with it.
|
|
| OP | Post 27 made on Wednesday January 5, 2005 at 10:13 |
bdee1 Long Time Member |
Joined: Posts: | January 2004 48 |
|
|
OK so it looks like i have some experimentation to do tonight. i will have to try to recreate the hex file with 80 instead of 180.
and i will have to see whats up with the Sony mini disc code. before i got my pronto, the last remote i was using was a Sony RMAV2000 and i was using the MD device to learn all the codes into for the avswitcher. so somehow i must have incorporated one of the original MD codes from the device.
anyway i will have to mess around some more tonight and see what i can get.
i appreciate everyone help. i never would get through this on my own.
|
|
| Post 28 made on Wednesday January 5, 2005 at 12:40 |
jarmstrong Founding Member |
Joined: Posts: | March 2002 1,780 |
|
|
On 01/05/05 09:14 ET, johnsfine said...
That command is from another device entirely (it's the '1' digit for a Sony mini disk system). Jon seems to have ignored it, which is probably the right thing to do with it. I actually went after the second learned command even though the the second word is way off, if you calculate the bit lengths they are pretty accurate and both segnments actually decode as 130.80:193 (although the second has very short on times). It confirmed that two entire sequences were being sent. I was so surprised that it had meaningful information, that I forgot to go back and look at the first one. If I had, then I would probably be more confused than I already am :-) Good catch on the sub-device number.
|
|
| Post 29 made on Wednesday January 5, 2005 at 12:49 |
jarmstrong Founding Member |
Joined: Posts: | March 2002 1,780 |
|
|
On 01/05/05 10:13 ET, bdee1 said...
OK so it looks like i have some experimentation to do tonight. i will have to try to recreate the hex file with 80 instead of 180. Here is the modified irp file I created to get the entire command to repeat twice. If you need more than the last commands that I posted (and they work) then you can create the rest copy and save as |all files something like NEC12_mod.irp so you don't overwrite the NEC1.irp template: Device=130.80 Function=0..255 Protocol=NEC12_mod Frequency=42500 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,1,-78;16,-4,1,-174,*,D:8,S:8,F:8,~F:8,1,-78,16,-4,1,-174
|
|
| Post 30 made on Wednesday January 5, 2005 at 13:15 |
johnsfine IR Expert |
Joined: Posts: | September 2002 5,159 |
|
|
When I first read the following from Jon, I assumed he saw things I missed (still might be true), and didn't have time to reread the whole thread to find where I missed them. Now I reread the whole thread and still don't see it. On 01/05/05 00:01 ET, jarmstrong said...
(1) these commands are at 42.5KHz Where did you get that from? (2) it looks like the entire command sequence repeats once (which is stipulated in the cde file), where in NEC1 only a non data repeat frame is sent. I see only one learn that you based that on. The structure is so unlikely, I would have guessed that learn was crap rather than use it to sped the right structure. We have seen lots of cases of two data frames then a switch to non data frames. But what that bad learn seems to be, and what you recreated is data frame then non data frame, then another data frame, then the repeat part. Do you really think that's right?
|
|
 |
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.
|
|