Posted: May 06 2004 at 22:48 | IP Logged
|
|
|
Pete,
The link below will take you directly to the discrete codes area of remote central.
http://www.remotecentral.com/cgi-bin/files/rcfiles.cgi?area=pronto&db=discrete
From there try to locate your equipment. If they have a discrete code, try copying and pasting into PowerHome to see if they work.
The first several tries, I could not get the discrete codes to work even though I knew they should...so I had to tweak them a little bit. Trouble was, is that they were a little to short for the RedRat so I had to make them repeat a couple more times.
If you find yourself having to do this, here is a quick little primer. If you look a the Pronto codes, you'll start to see some patterns. First, they all consist of blocks of 4 hex digits separated by a space. These first 4 blocks are of signficance. You'll see that the first block is always 0000. Not sure why, just know thats the way it is. The second block will typically be around 0067 and is the carrier frequency for the IR. The third block is the number of on/off pairs for the main IR sequence. The fourth block is the number of on/off pairs for the IR repeat sequence. After that, the remaining blocks are basically on/off pairs signalling how long the IR should be on and how long the IR should be off. Dont be overwhelmed, an example is coming .
Below you will find the discrete "ON" code for a Sony Minidisc deck as taken from Remote Central:
0000 0067 0000 000d 0060 0019 0018 0019 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0019 0030 0018 0030 0018 0030 0018 0030 0018 0018 03ac
If you look at the first 4 blocks, you'll see the first block is indeed 0000, the second is 0067 (the frequency), the third is 0000 (number of on/off pairs for main signal), and the third is 000d (number of on/off pairs for repeat signal). You'll see that this code does not have a main signal. This is typical of a fair number of remotes and the same IR code is just repeated multiple times if the button is held continuously. Now the fourth block is 000d which is equivalent to 13 in decimal. That means that we should have 13 on/off pairs for the remaining blocks or 26 total blocks. If you count them, that is indeed what we have.
Now, to make the IR signal repeat twice, we can do 1 of two things. We can double the 4th byte which would be 001a and copy and paste everything from the fifth byte on, essentially doubling our IR code. Or we could copy and paste everything from the fifth byte on (same as the first example) and instead of doubling the fourth byte, just placing 000d in the third byte. The main thing to remember is that the number of on/off pairs must exactly match what is in the 3rd and 4th bytes. Since I was in a hurry and didn't want to break out the calculator to double the 4th byte, I just did the latter method of increasing the IR. My final result is below:
0000 0067 000d 000d 0060 0019 0018 0019 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0019 0030 0018 0030 0018 0030 0018 0030 0018 0018 03ac 0060 0019 0018 0019 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0019 0030 0018 0030 0018 0030 0018 0030 0018 0018 03ac
This was enough to get the signal to work in my case. The codes on remote central are in Pronto format and designed to be used with a Pronto remote. When you press a button on an actual IR remote and hold it, it will repeat. We don't have that luxury using computer controlled IR controllers and therefore must usually diddle the code a little bit so that we have some repeat built in for us.
Let me know how it goes and if you need help working with the codes, just paste them here and we'll work through it.
Dave.
|