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

Login:
Pass:
 
 

Topic:
RS232 coding for a pronto TSU 9400 and RFX 9600
This thread has 5 replies. Displaying all posts.
Post 1 made on Saturday February 28, 2009 at 14:06
Arjan Hulst
Lurking Member
Joined:
Posts:
January 2009
4
Hi,

I'am new to programming remotes but succeeded wonder well in the IR part of the Pronto TSU 9400.(I'am loving the simplcity and the complexity of control that are possible with it) All devices except an old Yamada 6600 DVD player are working fine. I'am using PEP2.

The challenge i'am currently working on is how to control my Sharp LC-42XL2E via the RS232 connection. This because my Telly is on a flexible arm and if i use the IR sensor it will be in sight. The RS232 connector is at the back and can be connect partialy hidden.

In the manual is mentioned that a cross cable is needed. This i bought and connected to the RFX9600 RS232 port1. And it discribes thecommand format of teh ACII codes.

Comand 4 digits parameter 4 digits and return code (It says the return code is 0DH) Serveral codes are given for instance the power OFF is POWR0   (This includes at then end three spaces. Or input selection B this is INP10   (again three spaces) for ext1.
I read through the forum but could not find a solution how to get the RS232 codes put in correctly.

I tried several ways of putting in the RS232 codes (ASCII mode) into the device database.
Versions i used was:
POWR0   0DH
POWR0   ,0DH
'POWR0   ',0DH
'POWR0   ',$DH

Is tried the IR code i have from the Sharp which is working fine put into the HEX mode of the RS232.
0000 006D 0000 0020 000A 0046 000A 001E 000A 001E 000A 001E 000A 0046 000A 0046 000A 0046 000A 001E 000A 0046 000A 001E 000A 001E 000A 0046 000A 001E 000A 0046 000A 001E 000A 0679 000A 0046 000A 001E 000A 001E 000A 001E 000A 0046 000A 001E 000A 001E 000A 0046 000A 001E 000A 0046 000A 0046 000A 001E 000A 0046 000A 001E 000A 0046 000A 0679

But also no succes.

The RFX9600 seems to work fine because it light up when is send the code on the first RS channel.

Should i use the ASCII coding or HEX coding. An what are the syntaxes used in both. And if Hex is use how do i get from ASCII to HEX?

I'am probably barking up a wrong tree with the coding but hopfully some one can help me barking up the correct one.
Arjan Hulst the Netherlands
Post 2 made on Saturday February 28, 2009 at 14:33
Don O'Brien
Long Time Member
Joined:
Posts:
August 2002
237
Does it require a carriage return after each command? " /r "
Post 3 made on Saturday February 28, 2009 at 15:51
dave964
Long Time Member
Joined:
Posts:
January 2008
172
Return code of 0DH means hex 0D (i.e. 13 decimal). So you cannot enter ODH as ascii, or the remote will send characters '0', 'D' and 'H'.

Replace "0DH" in your example above with either :

\x0D

or

\r
Dave
OP | Post 4 made on Saturday February 28, 2009 at 15:52
Arjan Hulst
Lurking Member
Joined:
Posts:
January 2009
4
It does but in the manual this was indicated as 0DH. I will try the \r.
Arjan Hulst the Netherlands
Post 5 made on Saturday February 28, 2009 at 16:35
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
IR code data (ProntoHex) as RS232 input does NOT typically work.

Barry Gordon, on his site has a data communications document that might help you understand more about said topic.  www.the-gordons.net.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 6 made on Saturday February 28, 2009 at 16:42
Arjan Hulst
Lurking Member
Joined:
Posts:
January 2009
4
I've tried different options and the one that seems to work is

POWR0 \x0D

thanks for your quick respons and help. Going to try the other codes to see if they all work the same way.
Arjan Hulst the Netherlands


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