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

Login:
Pass:
 
 

Topic:
need help setting up ir panel/make hex
This thread has 6 replies. Displaying all posts.
Post 1 made on Thursday October 20, 2005 at 14:37
Ian_S
Long Time Member
Joined:
Posts:
August 2003
41
Hi all,
I posted previously about converting codes I created in excel for a custom made ir-rs 232 box. I was looking for a shortcut to get these 60 commands into a ccf file. One of the experts here recommended trying ir panels and make hex. I am stuck and could use some help deciphering my codes to fit into the ir panels format.



Here is a complete code:
0000 006a 0000 000d 0080 0040 0008 0018 0008 0018 0008 0018 0008 0018
0018 00008 0018 0008 0008 0018 0018 0008 0018 0008 0018 0008 0008 0018
0008 05a0

I tried using irledit to analyze the code but its format is different.
It derived:
Carrier 39.1
Duration 152.8
Duty cycle 40

also I believe the device code, which is 0 for this unit, is created by taking the binary and starting with the LSB.

The function code is the same, starts at LSB, but the last digit is not a pair but a single value.
0=0008
1=0018

Can anyone interpert this code for irpanel. Or should I keep it simple and just make buttons in pronto edit and paste each code.

Ian
Post 2 made on Thursday October 20, 2005 at 15:18
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
If I recall correctly from that other thread you already have Excel code to generate all the signals in Pronto Hex.

So one option is to skip MakeHex and simply format the output of your Excel code to match the input of IrPanels.exe. Maybe I'm missing what you mean by "interpret ... for irpanel". IrPanels reads simple Pronto Hex with no interpretation (of bits ext.), just formated properly.

But if you wrote that Excel code, you must also have a better understanding of the code structure than you conveyed in the above post, so writing a new .irp file for MakeHex also shouldn't be hard.

Looking at your sample, I see what looks like two data bursts
0 = 0008 0018
1 = 0018 0008
But you said
0 = 0008
1 = 0018

Maybe it is just accidental that the bits landed that way in the single sample you posted, and you are correct about the true encoding. In that case MakeHex's built in assumptions about the relationship between bits and bursts make in non obvious how achieve the encoding you request. To do that you need to get tricky as in:
0 = 0008 0008
1 = 0018 0008
2 = 0008 0018
3 = 0018 0018
With those definitions, MakeHex would pair the data bits together and encode then in a four way system that works out to the same two way system you described.

BUT, until I see more samples I still think my first guess
0 = 0008 0018
1 = 0018 0008
is correct and no tricks are required to use MakeHex.
OP | Post 3 made on Thursday October 20, 2005 at 15:36
Ian_S
Long Time Member
Joined:
Posts:
August 2003
41
Thanks John unfortunately I know just enough to be dangerous. I am learning as I go. I thought the irpanel has other info


I am I correct that my IRpanel would look like:

Device=0
Function=1..60


Frequency=39100
Time Base=?

Zero=0008 0018
One=0018 0008

Here is another sample code for function 8
80000 006A 0000 000D 0080 0040 0008 0018 0008 0018 0008 0018 0008 0018 0018 0008 0018 0008 0018 0008 0008 0018 0008 0018 0008 0018 0008 0018 0008 05A0
Ian
Post 4 made on Thursday October 20, 2005 at 15:59
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On 10/20/05 15:36 ET, Ian_S said...
I am I correct that my IRpanel would look like:

Not very close. I may have time shortly to write the correct .IRP file for you.

Meanwhile, IRP does not stand for Irpanel.

I was suggesting using the program Irpanels.exe from
[Link: remotecentral.com]

THAT is the program which I said takes Pronto Hex in a form that is probably a minor reformat from what you have already and produces a CCF file from it.

If you choose to reformat your existing Pronto Hex for IrPanels.exe then you do not need a .IRP file and you don't need MakeHex.

Here is another sample code for function 8
80000 006A 0000 000D 0080 0040 0008 0018 0008
0018 0008 0018 0008 0018 0018 0008 0018 0008 0018
0008 0008 0018 0008 0018 0008 0018 0008 0018 0008
05A0

Are you trying to say 8 or 88 or what (what's the extra 8 before the 0000?) I don't see either interpretation.

I see bits: 0 0 0 0 1 1 1 0 0 0 0 0

Assuming the first 4 bits are the device number 0, and the rest is LSB, that must be function 7.
Post 5 made on Thursday October 20, 2005 at 16:09
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
This IRP file seems to cause MakeHex to generate the right output:

device=0
function=0..60
Frequency=39100
TimeBase=205
Zero=1,-3
One=3,-1
Form=;16,-8,D:4,F:8,-36200u
Post 6 made on Thursday October 20, 2005 at 16:16
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
If that issue of 8 vs. 7 means your command numbering is one off from the encoded value, you can make all the button numbers right by using this change to the .irp file:

device=0
function=0..60
Frequency=39100
TimeBase=205
Zero=1,-3
One=3,-1
Form=;16,-8,D:4,(F-1):8,-36200u

I used 0..60 instead of 1..60 because IrPanels.exe doesn't work without a function 0. Even though you don't seem to want a button 0 you need to give IrPanels.exe data to create one.
OP | Post 7 made on Thursday October 20, 2005 at 17:51
Ian_S
Long Time Member
Joined:
Posts:
August 2003
41
John,
Thank you for all your help. I will try all you suggestions and see what works. I appreciate your time.

Ian


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