AVS Forum banner

Status
Not open for further replies.
1 - 20 of 30 Posts

·
Registered
Joined
·
9 Posts
Discussion Starter #1
I have worked out how to control my Sanyo PLV-Z2 projector via its RS232 service port. I now have the projector connected to my home automation system and this allows me to control all equipment in my home theater via a Pronto. All the projector functions I need are available via simple RS232 commands.


Firstly the service port connector. The projector has a standard 8-pin miniDIN socket with the following pinout:


8 7 6

+ + +

5 4 3

+ + +

2 1

+ +


Pin 4 = signal ground

Pin 6 = TXD (output from projector)

Pin 8 = RXD (input to projector)

All other pins have no connection.


The baud rate is 19200 but can be changed to either 9600 or 38400 via service mode parameter 57.


The serial control functions are active when the projector is in either standby mode or powered on. This allows it to be powered on and off via RS232 commands. When not transmitting, the TXD pin is at approximately -10V.


I found the RS232 command codes for some older Sanyo projectors at sanyo. com and used this information as a starting point for my own experiments. Each command consists of 3 characters followed by Carriage Return.


Here is what I have found so far:


C00 power-on

C01 power-off (unconditional)

C02 power-off (Power Off ?)

C05 input = Input 2

C07 input = Input 1

C0D no-show

C0E return from no-show

C11 standard

C13 cinema

C14 image 1

C15 image 2

C16 image 3

C17 image 4

C18 game

C22 input 1 = auto

C23 input 1 = video

C24 input 1 = s-video

C25 input 1 = D4-video (component)

C1C menu on

C1D menu off


CR0 Status read. Responses: 80 = standby, 00 = on

CR1 Input mode. Responses: 1 = input 1, 3 = input 2

CR3 Lamp time. Response: 4 decimal digits

CR4 Setting. Response: 11 = normal, 10 = top/bottom reverse, 01 = left/right reverse, 00 = both reverse


All my experiments were done by simply connecting the service port to a computer and using Hyperterminal at 19200 bps, 8-bits, no parity.


I am sure that the projector supports many other commands which other people will discover. Hopefully sometime in the future, Sanyo will publish the full list.
 

·
Registered
Joined
·
37 Posts
I also wish Sanyo would provide us information on firmware upgrades and a utility to perform these upgrades using it's RS232C port.


It's not like the Z2 is a Xbox which we can modify to run Linux.
 

·
Registered
Joined
·
38 Posts
Maybe this can help. You can find it in the support/download section of Italian Sanyo distributer Adeogroup. They are general commands for Sanyo projectors, so not all models will support all comands (obviously):


Baud Rate 19,200

Data Bit: 8 bits

Stop Bit: 1 bit

Parity: None

Flow Control: None


COMAND : FUNCTION

C00 POWER ON

C01 FORCED POWER OFF

C02 POWER OFF

C05 SLOT 1 SELECT

C06 SLOT 2 SELECT

C07 SLOT 3 SELECT

C08 SLOT 4 SELECT

C09 VOLUME +

C0A VOLUME -

C0B SOUND MUTE ON

C0C SOUND MUTE OFF

C0D VIDEO MUTE ON

C0E VIDEO MUTE OFF

C0F AV REGULAR SIZE

C10 AV WIDE SIZE

C1C MENU ON

C1D MENU OFF

C1E DISPLAY CLEAR

C1F NORMAL

C30 DIGITAL ZOOM +

C31 DIGITAL ZOOM -

C3A POINTER RIGHT

C3B POINTER LEFT

C3C POINTER UP

C3D POINTER DOWN

C3F ENTER

C43 FREEZE ON

C44 FREEZE OFF

C46 ZOOM DOWN

C47 ZOOM UP

C4A FOCUS DOWN

C4B FOCUS UP

C4F CURSOR

C5D LENS SHIFT UP

C5E LENS SHIFT DOWN

C5F LENS SHIFT LEFT

C60 LENS SHIFT RIGHT

C70 4 LAMP MODE SET

C71 2 LAMP 1-4 SET

C72 2 LAMP 2-3 SET

C80 ZOOM MODE SET

C87 FOCUS MODE SET

C88 LENS SHIFT MODE

C89 AUTO IMAGE

C8A PRESENTATION TIMER

C8E KEYSTONE +

C8F KEYSTONE -
 

·
Registered
Joined
·
432 Posts
Excellent first post! Good job Tony.
 

·
Registered
Joined
·
37 Posts
phaze_italy can you please post a link to the support/download section that you are talking about? Is this a password protected location? If it is a password protected (dealer/support only site) can you please let us know if there are any firmware upgrades (for any Sanyo projector, the Z2 in particular) posted there.


There are RS232 codes available for a whole bunch of Sanyo projectors at their US Sanyo site in a publicly accessible place (link below)

http://www.sanyo.com/lcd/index.cfm?FA=resources%2Ehome
 

·
Registered
Joined
·
38 Posts
peddagunnu: it's a public site (adeogroup), and it's italian, so it ends with .it, not .com. links are not allowed here, so i guess you can figure out the rest.


not much else there: the code list and the service port pin-out, that Blacwood already described.


I'll try calling them on Monday to see if they can give me any info on firmware updates, etc..
 

·
Registered
Joined
·
4,273 Posts
What's the purpose of Lens Shift and Zoom on the listing above? That isn't saying this can be controlled electronically is it? Has to be some kind of oversight...
 

·
Registered
Joined
·
38 Posts
HorrorScope: Sorry, the oversight is yours. Like I said in my post: "They are general commands for Sanyo projectors, so not all models will support all comands (obviously):"...


Maybe Sanyo makes/has made/will make some Pro projector that does/had/will have motorized lens shift. Regarding motorized Zoom, almost all of their business/pro models have it.
 

·
Registered
Joined
·
125 Posts
See the attached zip-file.

 

rs232_z2.zip 6.734375k . file
 

Attachments

·
Registered
Joined
·
9 Posts
Discussion Starter #16
Gabbe,


Your spreadsheet fills in many gaps in the list of commands I discovered by experimentation. It is very helpful information for me.


Many thanks
 

·
Registered
Joined
·
125 Posts
Blackwood,

Nice to hear!


Some questions:

1/ Do You only send 3 chars for every command or do You send CR also?


2/ Your pinout "drawing", is that seen from "outside of Z2" (should the cables be soldered as shown to the back of the cable connector)?


3/ Have You tested the following commands? Have You analyzed what You get in return from Z2?


CR0 Status Read

CR1 Input Mode Read

CR3 Lamp Time Read

CR4 Setting Read

CR6 Temp Read


I havn't tested anything by my self yet, but I will...

regards /Gabbe
 

·
Registered
Joined
·
9 Posts
Discussion Starter #18
Gabbe,


Answers to your questions:


1. Every 3-character command must end with CR (not CR LF). The projector responds to each command with Ack (hex 06) followed by CR LF. If the projector can't interpret the command, e.g. incorrectly formatted command, it responds with ? CR LF.


2. You are correct.


3. I have tested all these commands. Responses are multiple ACSII digits followed by CR LF:


CR0: 80 = standby, 00 = power-on, 40 = power-on countdown, 20 = power-off cooling down.

CR1: 1 = input 2, 3 = input 1

CR3: 4 decimal digits, I assumes these are hours.

CR4: 11 = normal, 10 = top/bottom reverse, 01 = left/right reverse, 00 = both reverse.

CR5: My projector responds with M4KC. I have no idea what this means.

CR6: space **.* space space **.* (where **.* are two temperature values e.g. 24.7 42.5)
 

·
Registered
Joined
·
489 Posts
Hi


Great post guys !


Which cable do I need to connect the Z2 to my HTPC?


I don't have to make it myself, right? I sure hope not!
 

·
Registered
Joined
·
489 Posts
Oh, and another thing:


How do you control it with your remote?

Do you use girder or... How is your setup?
 
1 - 20 of 30 Posts
Status
Not open for further replies.
Top