Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Classic Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 1 of 2
Topic:
Codes Deciphering
This thread has 23 replies. Displaying posts 1 through 15.
Post 1 made on Tuesday June 20, 2000 at 15:54
John McClymont
Historic Forum Post
Hi,
Having picked up paper by Daniel on how to identify device codes and function codes. Need some help on understanding Panasonic Code.

It is made up of 104 words. I understand the lead in and lead out carrier codes etc.
The bit I'm struggling with is the remaining 96 words.
I think it split into 32 and 16 bits.
the first 64 words after the lead in being the device code. Do these words contain the device number. In Daniels paper it looks like there would 16 bits for the device code and 16 complimentary bits. But am unable to find complimentary pairs.
So is the 32 bits one number or device number and its compliment. (maybe I have poorly copied code)
The same goes for the remaing 16 bits is this a Function number and its compliment or one 16 bit number.

Many thanks
Regards John
Spelling mistake are all my own
OP | Post 2 made on Tuesday June 20, 2000 at 17:22
Daniel Tonks
Historic Forum Post
Actually that's Barry Gordon's paper. :-)
OP | Post 3 made on Tuesday June 20, 2000 at 19:20
Peter Dewildt
Historic Forum Post
Grab a copy of IRTool and drop the hex code into it. It will decode it fully for you (and also help you clean it up).
OP | Post 4 made on Wednesday June 21, 2000 at 07:14
John McClymont
Historic Forum Post
My apologies on wrongly naming the author. Anyway was good reading.

John
OP | Post 5 made on Wednesday June 21, 2000 at 07:41
John McClymont
Historic Forum Post
Peter,
Picked up copy of IR tools, but doesn't have a selection for Panasonic. Tried the raw otion but did not return a Device or Function code, or rather both came back as 0.
So still confused as to device number etc.

Any help appreciated
OP | Post 6 made on Wednesday June 21, 2000 at 22:18
Eric W.
Historic Forum Post
John,

Why don't you post the code in this thread? Looking at it will help us to help you.

-Eric W.
OP | Post 7 made on Thursday June 22, 2000 at 03:31
John McClymont
Historic Forum Post
Eric,
Here is the code, would good if I could find out how it is structured. Does the 32 16 bits consist of 2 16 bit device codes ie code and complimentary. If it does, I take that if deciperred correctly they add up to 65535 and function codes total would be 255.

0000 0070 0000 0032 0080 0041 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0ac9
OP | Post 8 made on Thursday June 22, 2000 at 09:59
John Fine
Historic Forum Post
There are six bytes of information. Based on an LSB first interpretation, the first seems to always be 2. The second is 32 (which I think is the count of following bits). The third is the device number. The fourth might be a subdevice or command group or something like that; I'm not sure. The fifth byte is the function number. The sixth byte is an xor of the third, forth and fifth bytes.
OP | Post 9 made on Thursday June 22, 2000 at 10:14
John Fine
Historic Forum Post
I forgot to mention the obvious part. Each pair 10,10 or 10,30 is one bit. The 10,10 is a "0". The 10,30 is a "1".

Your example decodes 2,32,128,0,5,133 which is the TV/Video button on my Panasonic TV.

Here are the codes for the other buttons on that TV. In each case replace the (5) and adjust the (133).

16 1
17 2
18 3
19 4
20 5
21 6
22 7
23 8
24 9
25 0
32 Volume up
33 Volume down
50 Mute
52 Channel up
53 Channel down
55 R-Tune
57 Recall
61 Power
82 Action
OP | Post 10 made on Thursday June 22, 2000 at 15:51
John McClymont
Historic Forum Post
John,
Thanks for the info, could I just clarify.
After the Lead in Burst pair 0080 0041
and the Lead out Burst pair 0010 0ac9

There are 96 fields with 2 fields per bit
ie 0010 0010 represent binary zero
0010 0030 represents 1
Threfore first 16 pairs represent 1 byte and so on.

Thanks hopefully now I can figure out some codes.
How did you decode them. My intail attempts when I thought it was a 32 bit and 16 bit number, was using Excel.
Saved them as *.csf file
The opened with Excel
Find replace 0010 with 0 etc.
Then reverse the Bit order.

John
OP | Post 11 made on Thursday June 22, 2000 at 16:40
John Fine
Historic Forum Post
"How did you decode them." I don't know what you are asking. How did I figure out the system (I looked at signals from a few remotes that use the same protocol. I'm good at guessing patterns). How did I decode the one you posted, already knowing the system (I just looked at it and translated to binary and then binary to decimal in my head and wrote the answer down). How do I normally translate Pronto codes (I don't yet. I am planning to write that program soon. I don't own a Pronto. I have my own kludged IR receiving equipment and my own programs for decoding. I try them out on any remote I come across).
OP | Post 12 made on Friday June 23, 2000 at 07:42
John McClymont
Historic Forum Post
John,
Was wondering did you have a program that you pasted the raw code into. If you did have such a program, would have asked for a copy.
Anyway thanks for the explanation as to how the raw code is structured. Hopefully now I can search for a discrete code to select AV1 or AV2.
OP | Post 13 made on Friday June 23, 2000 at 08:52
John Fine
Historic Forum Post
I don't have anything you can paste raw code into.
I do have C++ source code that does the decoding.
I downloaded the LISTCCF source code from here and inserted some of my decoding routine (including the 48 bit Panasonic). That now decodes from CCF files.

I don't know if the uploader of LISTCCF is the author. I asked him that and whether I can generally release the combination of his code and mine. I don't have an answer yet; I also haven't finished my part. But I will email you a copy. If you want, you can cut my decoder source code from there and use it in your own program.

For your search, how will you generate the Pronto hex?
I haven't written a generator yet. The one (I forget the name) that uses .IRB files doesn't generally support this encoding, because it doesn't have XOR and it doesn't support second numbers for devices. For this one Panasonic TV I think you can kludge an IRB with plus instead of XOR, because the device numbers happen to be 128 and 0.
OP | Post 14 made on Friday June 23, 2000 at 17:01
John McClymont
Historic Forum Post
John,
Since I'm attempting to create an Excel spreadsheet to return the device/function values.
Creating Hex number is relatively easy.

Excel has commands Dec2Hex(xx)where xx is the cell reference containing the Hex value.

This function is an Addin
Select Tools
Addin
and check Analysis Toolpak
Analysis Toolpak VBA

Also give commands Hex2Bin() Bin2Hex() etc

Unfortunately I'm not a programmer so writing my own code is not option :(
Look forward to recieving a copy of your program.
john :)
OP | Post 15 made on Friday June 23, 2000 at 18:14
John Fine
Historic Forum Post
I sent it to you many hours before your response was visible here. If you didn't get it, email me and I'll try again.

Sorry about assuming everyone can program. It's a combination of who I see every day and my guesses about who would want a device as complicated at a Pronto.

In Excel, are you talking about generating the 256 different signals your device might respond to, or are you trying to decode the signals you know it responds to? Either would be a chalenging task in Excel.

I could send you a text file with the 256 text strings for the Pronto hex for that device. Is there anything that isn't super tedious that could be done with such a file?

I think I'll start a new thread on that question.
Page 1 of 2


Jump to


Protected Feature 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.

Hosting Services by ipHouse