Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional 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:
Convert a Rs232 command to IR
This thread has 15 replies. Displaying all posts.
Post 1 made on Friday June 19, 2009 at 09:25
Franin
Long Time Member
Joined:
Posts:
April 2008
195
Hi all is there a way to convert a Rs232 command to IR?

This is from the remote guide of the JVC HD 350:

"To send an Infrared command to the projector, the required format is 73, followed by the
ASCII value in hex of the command required. The ASCII values for all of the Remote Control
Emulation Commands are shown in right hand column of the Remote Control Emulation
Command tables on pages 4 and 5.
As an example, to send the Power On command, we would send: 73 05"


I was told the Pronto can convert them is that true? and how?

This is new to me this conversion,  ive never done this before.
Thanks

Frank
Post 2 made on Friday June 19, 2009 at 12:39
dvwebster
Long Time Member
Joined:
Posts:
August 2004
71
Hi!

The JVC manual is most probably describing how its RS232 protocol can be internally translated by the projector to execute commands as though they had been received by its IR receiver.

If you can program the Pronto to send the RS232 command as described via a Serial Extender then the JVC will respond as though you had sent an IR command.

This kind of IR emulation from RS232 is not uncommon in some other products.
Post 3 made on Friday June 19, 2009 at 12:57
TOOOLDAND TOOGRUMPY
Long Time Member
Joined:
Posts:
October 2007
351
What are you trying to do?
do you have a specific command which you want in IR?
OP | Post 4 made on Friday June 19, 2009 at 13:34
Franin
Long Time Member
Joined:
Posts:
April 2008
195
Hi Im trying to acheive a 4:3 independent code without having to go through the aspect mode. but im also trying to understand how this works.

"Power On command, we would send: 73 05"

How do I convert 73 05 to IR?
Thanks

Frank
OP | Post 5 made on Friday June 19, 2009 at 13:36
Franin
Long Time Member
Joined:
Posts:
April 2008
195
On June 19, 2009 at 12:39, dvwebster said...
Hi!

The JVC manual is most probably describing how its RS232 protocol can be internally translated by the projector to execute commands as though they had been received by its IR receiver.

If you can program the Pronto to send the RS232 command as described via a Serial Extender then the JVC will respond as though you had sent an IR command.

This kind of IR emulation from RS232 is not uncommon in some other products.

So let me understand this I can type the RS232 command for the IR and the JVC will be able still work in IR mode?
Thanks

Frank
Post 6 made on Friday June 19, 2009 at 14:17
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
On JVC projectors RS232 and IR have nothing to do with each other. They, JVC, have provided as part of the RS232 system a command called "emulate IR function". This command takes the code number that is sent by the IR system as a data byte and performs the same action that the IR control would have performed. Ergo is is possible to send anything that the IR remote can send but without using IR in any way, but rather using RS232.

The IR and RS232 systems operate independently and both can be used at the same time. The Emulate IR command on my system is 5243, as all RS232 commands are 2 bytes long. The data for the emulate IR command is also 2 bytes long and is always of the form 73XX. The XX is the equivalent IR command number (the function ID in IR speak). The Power on command is 7305 and the power off command is 7306 when using the emulate IR sequence.

When using RS232 there is a full message structure consisting of a start byte, a unit id, the command, the data bytes and an end byte. The full sequence to send "Emulate IR power on" is 2100005243373330350A as a hex string which is to be sent. There is also a direct power on command in RS232 that is 2100005057310A as hex bytes

In the above 21 is the RS232 "start of executable" start byte, 0000 is the Projectors ID number (may be something else), 5057 is the Power command, and 31 is On as opposed to 30 which would be off.

Hope that helps
Post 7 made on Friday June 19, 2009 at 21:59
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
Try These,

Power On
Device Code: 115 Function: 5
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0336

Aspect (4:3)
Device Code: 115 Function: 37
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (16:9)
Device Code: 115 Function: 38
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (Zoom)
Device Code: 115 Function: 39
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 02E6



If they don`t work try these,

JVC Two Frames

Power On
Device Code: 115 Function: 5
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0155 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0336

Aspect (4:3)
Device Code: 115 Function: 37
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 012D 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (16:9)
Device Code: 115 Function: 38
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 012D 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (Zoom)
Device Code: 115 Function: 39
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0105 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 02E6
OP | Post 8 made on Saturday June 20, 2009 at 05:50
Franin
Long Time Member
Joined:
Posts:
April 2008
195
On June 19, 2009 at 21:59, Jasonvp said...
Try These,

Power On
Device Code: 115 Function: 5
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0336

Aspect (4:3)
Device Code: 115 Function: 37
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (16:9)
Device Code: 115 Function: 38
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (Zoom)
Device Code: 115 Function: 39
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 02E6

If they don`t work try these,

JVC Two Frames

Power On
Device Code: 115 Function: 5
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0155 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0336

Aspect (4:3)
Device Code: 115 Function: 37
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 012D 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (16:9)
Device Code: 115 Function: 38
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 012D 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 030E

Aspect (Zoom)
Device Code: 115 Function: 39
0000 006D 0012 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0105 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 02E6

Thank you for that. But I would also would love to learn how you did that. Im not an installer but I love playing around with these things.

What I like to know is what do you use (Program) to get those result?
Thanks

Frank
OP | Post 9 made on Saturday June 20, 2009 at 05:51
Franin
Long Time Member
Joined:
Posts:
April 2008
195
On June 19, 2009 at 14:17, Barry Gordon said...
On JVC projectors RS232 and IR have nothing to do with each other. They, JVC, have provided as part of the RS232 system a command called "emulate IR function". This command takes the code number that is sent by the IR system as a data byte and performs the same action that the IR control would have performed. Ergo is is possible to send anything that the IR remote can send but without using IR in any way, but rather using RS232.

The IR and RS232 systems operate independently and both can be used at the same time. The Emulate IR command on my system is 5243, as all RS232 commands are 2 bytes long. The data for the emulate IR command is also 2 bytes long and is always of the form 73XX. The XX is the equivalent IR command number (the function ID in IR speak). The Power on command is 7305 and the power off command is 7306 when using the emulate IR sequence.

When using RS232 there is a full message structure consisting of a start byte, a unit id, the command, the data bytes and an end byte. The full sequence to send "Emulate IR power on" is 2100005243373330350A as a hex string which is to be sent. There is also a direct power on command in RS232 that is 2100005057310A as hex bytes

In the above 21 is the RS232 "start of executable" start byte, 0000 is the Projectors ID number (may be something else), 5057 is the Power command, and 31 is On as opposed to 30 which would be off.

Hope that helps

Thank you Barry.
Thanks

Frank
Post 10 made on Saturday June 20, 2009 at 08:08
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
I used MakeHex and the info from this PDF from JVC.

The PDF has Remote Code 73 (Hex) which is 115 in Decimal. You can use the Calculator in Windows OS set to Scientific mode to convert Hex to Decimal.

115 is the Device Number you need for MakeHex.

Use the "JVC IRP File" in MakeHex and edit it in Notepad to,

Device=115 and save it.

Drag and Drop the "JVC IRP" File onto the MakeHex "Application" File and it will Create a "HEX" File that will have 0 to 255 possible Hex Codes for your Device.

Open the HEX File with Notepad to see results.

The Function Number in the HEX File corresponds the ASCll Code on the PDF, but those Codes are Hex Values which need to be converted to Decimal.

eg.
Contrast = 0A (Hex) which = 10 in Decimal.

In the HEX File this will be the Pronto Hex Code for Contrast,

Device Code: 115 Function: 10
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0336

If don`t want to convert the 0A to Decimal there is an option in MakeHex to display the Function Number as Hex as well as Decimal, see the readme File in MakeHex for more info.

Other Programs you might find useful are,

IR Tools
Decodes a learned infrared Hex codes (only codes that start with 0000) that you paste (Ctrl +V) into the Hex Code Window and press the Decode Hex Button and a box appears to give you information on the protocol, device number and function number. Requires the DecodeIR.DLL file.
[Link: hifi-remote.com]

DecodeIR.DLL
File required by DecodeCCF and IR Tools.
[Link: hifi-remote.com]

Documentation of protocols decoded by DecodeIr.dll is in that .zip file and also online
[Link: hifi-remote.com]

CCF Panels (IR Panels)
Generate a CCF file from the HEX file created with MakeHex.
After creating a HEX file, open it with a text editor such as NotePad.  Use "Edit" "Select All" (or Ctrl +A), then "Edit" "Copy" (or Ctrl +C) to copy all the text.  Then start IrPanels and use Ctrl +V to paste the text into its window and press Generate CCF File. A CCF file will be created in the IR Panels Folder called IRCodesCreate (Don`t use the file called IRCodes Master) that you can use for testing in a Pronto Remote and some others.
[Link: remotecentral.com]

DecodeCCF.exe
Decodes all learned infrared codes in a CCF file and gives you information on the protocol, device number and function number. Requires the DecodeIR.DLL file.
[Link: hifi-remote.com]

Hex2CCF
Generate a CCF file from files created with MakeHex.
[Link: remotecentral.com]


Cheers
Jason
Post 11 made on Saturday June 20, 2009 at 11:27
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Jason,

Very nice and descriptive post.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 12 made on Saturday June 20, 2009 at 11:32
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
On June 20, 2009 at 11:27, Lyndel McGee said...
Jason,

Very nice and descriptive post.

Thanks!
OP | Post 13 made on Saturday June 20, 2009 at 13:44
Franin
Long Time Member
Joined:
Posts:
April 2008
195
On June 20, 2009 at 08:08, Jasonvp said...
I used MakeHex and the info from this PDF from JVC.

The PDF has Remote Code 73 (Hex) which is 115 in Decimal. You can use the Calculator in Windows OS set to Scientific mode to convert Hex to Decimal.

115 is the Device Number you need for MakeHex.

Use the "JVC IRP File" in MakeHex and edit it in Notepad to,

Device=115 and save it.

Drag and Drop the "JVC IRP" File onto the MakeHex "Application" File and it will Create a "HEX" File that will have 0 to 255 possible Hex Codes for your Device.

Open the HEX File with Notepad to see results.

The Function Number in the HEX File corresponds the ASCll Code on the PDF, but those Codes are Hex Values which need to be converted to Decimal.

eg.
Contrast = 0A (Hex) which = 10 in Decimal.

In the HEX File this will be the Pronto Hex Code for Contrast,

Device Code: 115 Function: 10
0000 006D 0001 0011 0141 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0336

If don`t want to convert the 0A to Decimal there is an option in MakeHex to display the Function Number as Hex as well as Decimal, see the readme File in MakeHex for more info.

Other Programs you might find useful are,

IR Tools
Decodes a learned infrared Hex codes (only codes that start with 0000) that you paste (Ctrl +V) into the Hex Code Window and press the Decode Hex Button and a box appears to give you information on the protocol, device number and function number. Requires the DecodeIR.DLL file.
[Link: hifi-remote.com]

DecodeIR.DLL
File required by DecodeCCF and IR Tools.
[Link: hifi-remote.com]

Documentation of protocols decoded by DecodeIr.dll is in that .zip file and also online
[Link: hifi-remote.com]

CCF Panels (IR Panels)
Generate a CCF file from the HEX file created with MakeHex.
After creating a HEX file, open it with a text editor such as NotePad.  Use "Edit" "Select All" (or Ctrl +A), then "Edit" "Copy" (or Ctrl +C) to copy all the text.  Then start IrPanels and use Ctrl +V to paste the text into its window and press Generate CCF File. A CCF file will be created in the IR Panels Folder called IRCodesCreate (Don`t use the file called IRCodes Master) that you can use for testing in a Pronto Remote and some others.
[Link: remotecentral.com]

DecodeCCF.exe
Decodes all learned infrared codes in a CCF file and gives you information on the protocol, device number and function number. Requires the DecodeIR.DLL file.
[Link: hifi-remote.com]

Hex2CCF
Generate a CCF file from files created with MakeHex.
[Link: remotecentral.com]

Cheers
Jason

Thank you so much for that Jason. Thats make alot of sense. BTW your 4:3 worked extremely well.
Thanks

Frank
OP | Post 14 made on Saturday June 20, 2009 at 13:45
Franin
Long Time Member
Joined:
Posts:
April 2008
195
I will be printing this out and keeping it for future reference.
Thanks

Frank
Post 15 made on Saturday February 5, 2011 at 05:53
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Just add this thread to your favorites list. I am not referring to a browser bookmark, but rather the +Favorite link at the end of this thread. :-)
Lyndel McGee
Philips Pronto Addict/Beta Tester
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