用软件控制 BenQ 投影仪 - Crestron 协议
我有一台 BENQ 投影仪,需要通过软件进行控制。它支持 Crestron 协议。我正在使用 C# 工作。
Crestron 协议已知吗?
有API或者SDK吗?
是否有用于控制投影仪的示例?
I have a BENQ projector that I need to control in software. It supports the Crestron protocol. I'm working in C#.
Is the Crestron protocol known?
Is there an API or SDK?
Are there samples anywhere for control a projector?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Crestron 不是一个协议,而是一个基于专有硬件和软件的控制系统。 Crestron 模块有点像编程库 - 它可以用 Crestron 专有的 SIMPL Windows 语言实现协议。他们的工具仅供经销商和经过认证的 Crestron 程序员使用,并且不会向在其网站上注册的任何人提供这些工具。
它似乎是一个串行控制设备 - 115200,N-8-1。在 Mini-Din 连接器上,引脚 7 是 Tx(到 DB9 引脚 2),引脚 1 是 Rx(到引脚 3),引脚 4 是接地(到引脚 5)。这是一张图片,但此页面上的引脚注释有所不同:http://business. virgin.net/tom.baldwin/pinout-8minidin.html
以下是一些命令(每个命令均以 \x0D 结尾):
*pow=on#
*pow=关闭#
*酸=RGB#
(YPbr、dvid、hdmi、vid、svid)
*asp=4:3#
(16:9、自动、真实)
*静音=开启#
*静音=关闭#
*音量=+#
*音量=-#
*菜单#
*向上#
*向下#
*左边#
*正确的#
*进入#
Crestron is not a protocol but a control system based on proprietary hardware and software. A Crestron module is a bit like a programming library - it can implement a protocol in Crestron's proprietary SIMPL Windows language. Their tools are only available to dealers and certified Crestron programmers and they don't give them out to anyone who registers on their website.
It appears to be a serial controlled device - 115200,N-8-1. On the Mini-Din connector, pin 7 is Tx (to a DB9 pin 2), pin 1 is Rx (to pin 3) and pin 4 is Ground (to pin 5). Here's an image, but the pinout notes on this page differ: http://business.virgin.net/tom.baldwin/pinout-8minidin.html
Here are some of the commands (each terminated with \x0D):
*pow=on#
*pow=off#
*sour=RGB#
(YPbr, dvid, hdmi, vid, svid)
*asp=4:3#
(16:9, AUTO, REAL)
*mute=on#
*mute=off#
*vol=+#
*vol=-#
*menu#
*up#
*down#
*left#
*right#
*enter#
BenQ 现在提供了一个名为 BenQ RS232 命令的文件可供下载。它列出了电缆引脚分配和一大堆 RS-232 命令。命令语法是我以前从未见过的,也许它与 Crestron 兼容。但如果您正在编写自己的软件,那么这个文件应该就是您所需要的。
BenQ now has a file titled BenQ RS232 Commands available for download. It lists cable pinout and a whole bunch of RS-232 commands. The command syntax is one I've not seen before, perhaps it is Crestron-compatible. But if you're writing your own software, this file should be all you need.
这不行吗?
Does this not work?
经过多天的挖掘和与 BENQ 技术支持的争论
唯一的结论是该协议是适当的,他们不会透露它。
该投影仪的新固件支持 PJLINK,因此我放弃了这条开发线。
After many days of digging and arguing with BENQ technical support
the only conclusion is that the protocol is propriety and they will not disclose it.
New firmware for this projector support PJLINK so I am dropping this line of development.