AVS Forum banner
  • Get an exclusive sneak peek into our new project. >>> Click Here
  • Our native mobile app has a new name: Fora Communities. Learn more.

RS-232 commands for the Ruby?

2330 Views 18 Replies 14 Participants Last post by  dlmorgan
Now that people are starting to get the Ruby I'd like to ask this again. Does anyone know where the RS-232 commands for the Ruby can be found? For the lucky few who have one now is anything included with the projector?


I'm going to be integrating this in with my home control system and I'd like to begin working on the programming while I wait for mine to arrive. Any help would be appreciated.


-- Dave
Status
Not open for further replies.
1 - 19 of 19 Posts
It comes with a CD and three manuals an English one and two other ones you can use for toilet paper. :)


There is a link to the manual on one of the aptly named Ruby Manual threads, Id start there. Ill take a gander at the CD later and see if ther eis anything in there that you could use .. its all probably DLable from the Sony site.
I downloaded the manual the same day the thread was posted ;). There were no RS-232 commands in the manual though. I also checked on the Sony web site (although not for a while) and found nothing there either :(.


-- Dave
Basic format is


(start) (command string) (check string) (end)


start = "A9"

end = "9A"

check string = OR of all bytes in command string


example command strings:


Power on: "172E000000"

Power off: "172F000000"

Zoom wide: "1777000000"

Zoom tele: "1778000000"

Focus in: "1774000000"

Focus out: "1775000000"

Shift up: "1772000000"

Shift down: "1773000000"


That's a start, more later, gotta put the boy to bed...
See less See more
This is a favorite trick of idiot manufacturers. They love to put RS-232 ports on products but not publish the protocol in the manual. That way they get to cause the customers who want them to spend hours trying to reach the right person at the company who actually knows what they are. And that person gets to spend their time repeatedly fielding such calls. Cause it would be so damn hard to put them in the manual. End of rant :). I've just soent way too much time on the phone trying to get companies to send me a protocol.
Do these work over a telnet connection also?


I'm impressed Sony put in an IP interface, I'll be even more impressed if it can

be used as a control port also.


...alan
Quote:
Originally Posted by commike
Do these work over a telnet connection also?
No, not in that format.

Quote:
I'm impressed Sony put in an IP interface, I'll be even more impressed if it can be used as a control port also.
I've spent a fair amount of time working with the serial port and the specs/command packet formats (like in the previous message) as shown in the Qualia Protocol Manual. But no matter what I have not yet seen a response from the projector or any packets (even bytes) leaving the serial port in response. The Qualia runs at 38400bps, 8E1, and I tried speeds from 9600 to 115200bps at 8E1, 8O1, and 8N1 to no avail on the Ruby. So either that serial port is not intended for remote control use, or the start and stop packet characters (A9h and 9Ah) are different in the Ruby. So far no lead on a Ruby Protocol Manual.


However, using the SDCP 'PJ Talk' protocol over an IP connection works perfectly. The packets sent and received are in a completely different format that what is documented for the serial port, though. If anyone is interested, I can post a table of commands/responses for that method, which is described accurately in the Qualia Protocol Manual. I did this for use with my Crestron control system for both control of the projector, but also an accurate status of all the various Ruby settings on the touchpanel.


You can also control the Ruby with a web browser opened to its IP address, as per the limited documentation in the Ruby user manual.


--Bill
See less See more
bblue,

Please, by all means, post away! And Merry Christmas!
Quote:
Originally Posted by HiFiGuy1
bblue,

Please, by all means, post away! And Merry Christmas!
I second this begging! Thank you!
Last night I was doing some searching and stumbled across a PDF "Protocol Manual" for the VPL-VW10HT. That's exactly the manual I need for the VW100. I searched on the Sony support site and interestingly I couldn't even find the VW10HT Protocol manual (I found it on several other web sites but not on the Sony site even though it was a Sony-authored manual) let alone the VW100 manual. Maybe this manual is not yet out for the VW100? If anyone has this for the VW100 I sure would appreciate a copy.


-- Dave
Bump


Anybody find the RS-232 codes yet? Are they on the CD?
I heard RS232 is non-responsive for most people. Use ethernet instead.
I'm sorry, guys. I completely forgot to post some commands and info here.


Here is a pdf of the TCP/IP commands I'm using with my Ruby. These are by no means all possible commands but those I found useful in my own application.

http://www.avsforum.com/avs-vb/attac...id=50337&stc=1


Here is the Qualia Protocol Manual. It describes everything you'd want to know about both RS232 and TCP/IP control, and has only a couple of commands that may be specific to the Qualia.


If you can, use TCP/IP instead of RS232. There are no checksum calculations to deal with in TCP/IP. The format for the two are completely different in both send and receive. The manual describes commands and structure for both formats but you have to fit the pieces together that they describe.

http://www.avsforum.com/avs-vb/attac...id=50338&stc=1


I hope you find these useful. I will try to answer questions if needed.


--Bill

 

Ruby_tcpip_cmds.pdf 26.076171875k . file

 

Sony_Q004_R1_protocol.pdf 299.322265625k . file

Attachments

See less See more
The Qualia, Ruby, and at least one other VWxxx model use the same RS-232 codes. Here's a table of the few that I have. With these and info in the Protocol Manual you can make the others up if you have a hex/binary calculator of some sort that can perform the OR checksum.


--Bill

 

ruby-qualia-rs232.pdf 22.25k . file

Attachments

The Codes look ok I will be trying them soon, Thanks, Dave
I am able, as of today, to access my Ruby via a web browser on another computer.


What I am stuck on is how to send the tcpip commands listed in the pdf above. I use a program called 'main lobby' for theater control and its server program has a tcpip send plugin.


Either way how does one send tcpip commands?


For example the projector on command is \\x02\\x0aSONY\\x00\\x17\\x2E\\x00


What do I do with that?


Thanks
See less See more
Quote:
Originally Posted by fnkpet
I am able, as of today, to access my Ruby via a web browser on another computer.


What I am stuck on is how to send the tcpip commands listed in the pdf above. I use a program called 'main lobby' for theater control and its server program has a tcpip send plugin.


Either way how does one send tcpip commands?


For example the projector on command is \\x02\\x0aSONY\\x00\\x17\\x2E\\x00


What do I do with that?


Thanks


Last night I was able to successfully get my VPL-VW100 to respond to power on and power off (all I need for right now) via my Crestron processor over TCP/IP... So we know these codes work.


In Crestron I created a TCP/IP client connection to the Ruby using port 53484 (the port the Ruby listens on) and using a Serial Send symbol.


If I were to do this from a C# app I would open a socket on the Ruby's IP address at port 53484 and send the string "\\x02\\x0aSONY\\x00\\x17\\x2E\\x00".


The "\\x" syntax is an escape sequence that tells the system that the numbers after the \\x represent a hexidecimal number. If it were possible to enter these values directly from a keyboard you could use "telnet 192.168.0.28 53484" to connect to your Ruby (assuming it's at IP address 192.168.0.28) and type in tghe sequence \\x02\\x0aSONY\\x00\\x17\\x2E\\x00. But keyboards don't really let you do that. So you have to have a program to do it.


Hope this helps.
See less See more
The RS-232 protocol/manual for the SONY VPL-VW100 "Ruby" can be found here:
http://esupport.sony.com/US/perl/mod...l?mdl=VPLVW100


But so far, I didn't have any luck with the serial connection. The Ruby simply does not seem to respond.


Anyone tried RS-232 succesfully?


Thanks!
See less See more
I've gotten it to work quite well. I have it nicely integrated into my HouseBot configuration. Just make sure that you are set to 38400 bps with*even* parity. Also make sure you are using a null-modem cable (not a straight through). If either of those are wrong you will not be successful.


-- Dave
1 - 19 of 19 Posts
Status
Not open for further replies.
Top