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 Sunday January 5, 2003 at 10:23
jarmstrong
Founding Member
Joined:
Posts:
March 2002
1,780
Guy,

I can summarize what I found. I have repeated the first four, 2-hex byte words known as the "preamble" adjacent to what the command is. As you know 0000 is learned, the next is frequency/wave length, then # of burst pairs in non repeating and repeating segments respectively all in hex. Above those four words I put calculations for frequency, wavelength (the first two words and the decimal equavelent above the 3rd and 4th words.

Then below the preamble, I put the decimal equivalent of the 48 data bits 8-bits at a time (the bits are transmitted backwards. For all Panasonic newer protocol commands the first two numbers are always 2 and 32 respectively. VCR's are Device=144 and Sub-device=0 or 144 and 1 for VCR2. Then the command --61 is always the power toggle and in all the Panasonic discrete codes that I have seen 62=On and 63=Off. Finally the last 8-bits is a check byte and is the XOR of device, sub-device, and command.

In your toggle command (and your corrected command), what you actually have is the first 48 data bits followed by 42 data bits. There is a Lead-In burst and lead-Out burst so 1+48+1 (for segment 1)+1+42=93.

The correct number is really decimal 50, but that repeats. So in leaned commands we usually see fragments of successive commands. The Ocelot just learns the On and Off sequences until it runs out of memory allocation. I would probably ignore your "found command" except for the fact that its XOR is calculatd correctly.

It seems like to me if your toggle works, then your "corrected" command 253 should work. I have never seen this command before and I usually translate all found discrete commands into decimal device, sub-device and command.

So my suggestion that I generate a four command lir file from Barry Gordon's GenIRDB for Power toggle (to make sure that it works), VCR On and Off (commands 62 and 63) and command 253 to see if they work for you

Finally I added the discrete commands for VCR1 from Remote Central for comparison.


38.4 Hz, 26.1uS, 93 Burst Pairs, 0 Burst Pairs
toggle 0000 006C 005d 0000
2, 32, 144, 0, 61, 173

36.7, 27.3, 0, 50
"on" 0000 0071 0000 0032
2, 32, 144, 0, 253, 109

38.4, 26.1, 93, 0
Adj "On"0000 006c 005d 0000
2, 32, 144, 0, 253, 109

37.0, 27.0, 0, 50
off 0000 0070 0000 0032
2, 32, 144, 0, 63, 175

37.0, 27.0, 0, 50
on 0000 0070 0000 0032
2, 32, 144, 0, 62, 174

-Jon

This message was edited by jarmstrong on 01/05/03 10:34.


Hosting Services by ipHouse