I have a proprietary device with a RS232 port controlled by a Windows application that opens a standard COM port.Two devices would remove the need for any kind of special software on
Now I need to move the device in a remote position with Internet
connection. The user (and the Windows PC) will be in a different position.
I want to develop an embedded Linux box with RS232 port connected to the device and Internet.
I know there are many commercial solutions, but before I'd search for an open-source solution, if any. Here the big issue is the virtual COM
driver for Windows.
It's not a one-piece scenario, so it makes sense to develop my embedded--
box that solves this problem. Moreover, I would stay generic regarding
RS232 baudrates, parity and so on.
I have a proprietary device with a RS232 port controlled by a Windows application that opens a standard COM port.
Now I need to move the device in a remote position with Internet
connection. The user (and the Windows PC) will be in a different position.
I want to develop an embedded Linux box with RS232 port connected to the device and Internet.
I know there are many commercial solutions, but before I'd search for an open-source solution, if any. Here the big issue is the virtual COM
driver for Windows.
It's not a one-piece scenario, so it makes sense to develop my embedded
box that solves this problem. Moreover, I would stay generic regarding
RS232 baudrates, parity and so on.
It's not a one-piece scenario, so it makes sense to develop my
embedded box that solves this problem. Moreover, I would stay generic regarding RS232 baudrates, parity and so on.
I know there are many commercial solutions, but before I'd search for an open-source solution, if any. Here the big issue is the virtual COM
driver for Windows.
It's not a one-piece scenario, so it makes sense to develop my embedded
box that solves this problem. Moreover, I would stay generic regarding
RS232 baudrates, parity and so on.
pozz <pozzugno@gmail.com> wrote:
I have a proprietary device with a RS232 port controlled by a Windows
application that opens a standard COM port.
Now I need to move the device in a remote position with Internet
connection. The user (and the Windows PC) will be in a different position.
I want to develop an embedded Linux box with RS232 port connected to the
device and Internet.
I know there are many commercial solutions, but before I'd search for anTwo devices would remove the need for any kind of special software on windows. For the sake of the argument, make it two raspberry pis with
open-source solution, if any. Here the big issue is the virtual COM
driver for Windows.
USB to RS232 adapters.
<windows pc.com1> <--> <raspberrypi1.ttyUSB0> <--> internet via your interface of choice <raspberrypi2.ttyUSB0> <--> <proprietary equipment>
The software you want on the linux systems is socat or netcat and
should be part of any modern distribution, though not installed by
default. For this to work, your windows software shouldn't do
anything fancy with the status lines of RS232.
Any raspberry pi is grossly oversized for the task, so feel free to
search for something smaller and cheaper.
This https://stackoverflow.com/questions/484740/converting-serial-port-data-to-tcp-ip-in-a-linux-environment
might give some hints concerning how to use the software.
It's not a one-piece scenario, so it makes sense to develop my embedded
box that solves this problem. Moreover, I would stay generic regarding
RS232 baudrates, parity and so on.
pozz <pozzugno@gmail.com> writes:
It's not a one-piece scenario, so it makes sense to develop my
embedded box that solves this problem. Moreover, I would stay generic
regarding RS232 baudrates, parity and so on.
Do you have a question? Why is a box needed? I've used PySerial in
Python programs on Linux for stuff like that. It communicates ok with
some pretty weird RS232 hardware. The details escape me but I remember
I did have to patch the library for some reason. The patch was pretty
simple and I believe the author merged it.
Il 27/11/2023 09:37, Arthur Erhardt ha scritto:Very well observed. To overcome these drawbacks, you will need two
pozz <pozzugno@gmail.com> wrote:
I have a proprietary device with a RS232 port controlled by a Windows
application that opens a standard COM port.
Now I need to move the device in a remote position with Internet
connection. The user (and the Windows PC) will be in a different position.
I want to develop an embedded Linux box with RS232 port connected to the >> device and Internet.
I know there are many commercial solutions, but before I'd search for an >> open-source solution, if any. Here the big issue is the virtual COMTwo devices would remove the need for any kind of special software on windows. For the sake of the argument, make it two raspberry pis with
driver for Windows.
USB to RS232 adapters.
<windows pc.com1> <--> <raspberrypi1.ttyUSB0> <--> internet via your interface of choice <raspberrypi2.ttyUSB0> <--> <proprietary equipment>
The software you want on the linux systems is socat or netcat and
should be part of any modern distribution, though not installed by
default. For this to work, your windows software shouldn't do
anything fancy with the status lines of RS232.
Any raspberry pi is grossly oversized for the task, so feel free to
search for something smaller and cheaper.
This https://stackoverflow.com/questions/484740/converting-serial-port-data-to-tcp-ip-in-a-linux-environment
might give some hints concerning how to use the software.
I was thinking about this solution, I see two drawbacks:
* The user PC, that is already connected to Internet, must be equipped
with an additional box that must be connected to Internet
* Linux doesn't know anything about the serial port settings (baudrate, parity, and so on). The user should know the settings used by the third-party application and set them in the Linux box.
I have a proprietary device with a RS232 port controlled by a Windows application that opens a standard COM port.
Now I need to move the device in a remote position with Internet
connection. The user (and the Windows PC) will be in a different position.
I want to develop an embedded Linux box with RS232 port connected to the device and Internet.
I know there are many commercial solutions, but before I'd search for an open-source solution, if any. Here the big issue is the virtual COM
driver for Windows.
It's not a one-piece scenario, so it makes sense to develop my embedded
box that solves this problem. Moreover, I would stay generic regarding
RS232 baudrates, parity and so on.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 918 |
Nodes: | 10 (1 / 9) |
Uptime: | 24:18:57 |
Calls: | 12,178 |
Calls today: | 1 |
Files: | 186,523 |
Messages: | 2,235,422 |