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

Login:
Pass:
 
 

Topic:
Sony STRDA5300ES - RS232 - i have pdf, cant figure it out
This thread has 8 replies. Displaying all posts.
Post 1 made on Thursday September 25, 2008 at 22:01
motech
Super Member
Joined:
Posts:
August 2008
3,374
sony sent me their pdf for the rs232 codes for this system
but i cant figure it out . .

(new to rs232, this will be my second rs232 device)
can someone help me decode it?

all the files can be found here:


[Link: idisk.mac.com]
Post 2 made on Thursday October 9, 2008 at 12:57
OmnitechNV
Lurking Member
Joined:
Posts:
October 2008
1
Baud Rate : 9600bps
Data Bits : 8bit
Parity : No
Stop Bits : 1

These are the port settings for your PC (or Controller) to transmit.

Amp Power on command would send the following string:

02 02 A0 21 3D

02 = start bit (EVERY STRING starts with 02 - that is what the amp listens for)
02 = Bit count (2 - A0 and 21)
A0 = Product code
00 = Code (42-input select) (00 value so skipped in string)
00 = zone (00 value so skipped in string)
21 = function (Power On)
3D = checksum (value of the 3 bits - 02 A0 21)


- OR -

02 04 A0 00 00 21 3B

02 = start bit
04 = Bit count (A0 00 00 21)
A0 = Product code
00 = Code (42-input select)
00 = zone
21 = function
3B = checksum

(This is the identical command but includes the 00 bytes)

Verified from page 8 of rs232protocolreceivers.pdf
and
receiver Checksum Spreadsheet with samples.xls

(use the spread sheet to calculate your checksum)

function is the command sent to do something.... use the pdf to see which code does what and responses are what.

you can try different strings and see the responses from the receiver

When testing RS 232, I RECOMMEND a program called 232Analyzer by CommFront

This is by far the best program I have used for testing and writing my own protocols

I hope this info helps you understand 232 protocol and comand structure.

PS some devices require a carriage return or 0D at the end of the string to send
OP | Post 3 made on Monday October 13, 2008 at 00:36
motech
Super Member
Joined:
Posts:
August 2008
3,374
interesting,
will give it a try . .

thanks !!
Post 4 made on Sunday March 13, 2011 at 08:47
jpcolin
Long Time Member
Joined:
Posts:
August 2010
47
Ok I tried verything but it does not work!
I have a STRA-DA 6400 ES with a global caché and Iviewer from command fusion

My first question is do i need a crossed cable or straight?

Secondly I tried al these codes for power on:

02 02 A0 00 00 21 3D 0D
02 02 A0 21 3D 0D
02 04 A0 00 00 21 3B
02 02 A0 21 3D
\x02\x04\xa0\x60\x00\x010\xfb
\x02\x04\xa0\x60\x00\x010\xfb\x03
0x02 0x04 0xa0 0x60 0x00 0x010xfb x03

non of those worked, I don't know what else to try!
Any help is welcome!
Post 5 made on Tuesday March 15, 2011 at 13:11
jpcolin
Long Time Member
Joined:
Posts:
August 2010
47
nobody?
Post 6 made on Friday March 18, 2011 at 07:26
jpcolin
Long Time Member
Joined:
Posts:
August 2010
47
I tried again and no luck, I think this command should be right:

\x02\x04\xa0\x60\x00\x01\xfb

tried again crossed and straight.

any advice?

BTW rs232 is enable in the menu of the STRA-DA
Post 7 made on Friday March 18, 2011 at 09:49
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
Have you tried using HyperTerminal?
Post 8 made on Saturday March 19, 2011 at 08:14
jpcolin
Long Time Member
Joined:
Posts:
August 2010
47
ok it works, i had to add a carriage return \x03 and use a crossed cable.
Post 9 made on Monday March 21, 2011 at 16:52
cdulaney600
Lurking Member
Joined:
Posts:
May 2010
9
I had to read on, but you would need a null modem and CR, but you got it...


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