通过以太网在 RS232 连接模块上进行 LCD 输出 - 请求一般信息
目前我正在尝试使用 Perle 的 TruePort Redirector 写入 20x4 LCD 点阵模块。我将 GMS-DS LCD 模块连接到 Perle 串行到以太网设备服务器。到目前为止,我认为我需要写入本地 TruePort 接口,然后该接口转换数据并通过 TCP/IP 将其发送到设备服务器。然后服务器将数据通过串口转发给液晶模块,液晶模块显示字符。
我处于非常早期的阶段,无法描述具体问题。我宁愿询问周围是否有任何了解此特定设置或一般 LCD 显示输出的人有一个教程、库或类似资源的有用链接,可以帮助我入门。
不确定这个问题是否应该在服务器故障上提出。
谢谢!
currently I am trying to write to an 20x4 LCD Dot-Matrix Module using Perle's TruePort Redirector. I have the GMS-DS LCD Module connected to a Perle Serial to Ethernet Device Server. As of now, I think that I need to write to a local TruePort interface, which then converts the data and sends it to the Device Server via TCP/IP. Then the server forwards the data over the serial port to the LCD Module, which displays the characters.
I am at a very early stage and not able to describe a specific problem. I would rather ask around if anyone knowledgable about this particular setup or general LCD display output has a useful link to a tutorial, library or similar sources that could help getting me started.
Not sure about, whether this question should be asked on serverfault.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经开发了这种设置。我没有任何链接,但我会给你一些提示。
您在这里有两个单独的任务。如果可能(取决于您可用的硬件),请单独解决它们,然后组合解决方案。
在设备服务器的串行端口上设置环回连接器。如有必要,运行网络实用程序以确保它出现在您设置的 IP 地址处,或确定它获得的 DHCP 地址。安装重定向器并将其指向该 IP 地址。检查其虚拟 com 端口是否显示在设备管理器中。打开虚拟端口的终端程序。输入一些内容,然后查看是否收到返回的内容。
获取您的程序来控制设备。如果你先让它在本地工作,这会更容易。通过将串行设备直接连接到计算机的串行端口(如果您的计算机没有串行端口,则可以通过 USB 转串行端口转换器)。
您有任何具体问题吗?
I've developed this kind of setup. I don't have any links but I'll give you some tips.
You have two separate tasks here. If possible (depending on what hardware you have available), solve them separately then combine the solutions.
Set up the device server with a loopback connector on its serial port. If necessary, run a networking utility to make sure it appears at the IP address you set it to, or to determine what DHCP address it got. Install the Redirector and point it to that IP address. Check that its virtual com port shows up in Device Manager. Open a terminal program to the virtual comport. Type something, and see if you receive it back.
Get your program to control the device. This will be easier if you get it working locally first. by connecting the serial device directly to a computer's serial port, (possibly via a USB-to-serial-port converter if your computer doesn't have a serial port).
Do you have any specific questions?