Forwarding of a RS232 signal?

Hello!

I have a question. I was thinking about a thing that would make my day easier. I have a engine that is electronically controlled, and which I can download the alarm history from. It's a normal 9 pins serial port, and since I don't have a serial port on my computer, I need to use a USB to serial port cable to connet to the engine.

The thing I was thinking about, was if I could connect to the engine remotely. Like forwarding the signal?

I've thought of two ways to do it.

  1. Use something like this (http://www.moderndevice.com/products/p4) to read the signal with an Arduino. Then I could use a ethernet shield to send the signals out on a network (there is internet connection where the engine is located). And the in the other end, I could use a ethernet shield to get the signals to the Arduino, and then use another P4 to convert the signal back. Then I could use my ordinary USB to serial cable and connect my computer to that.

Is this even possible? The baud is only 9600, so I guess it won't be too fast for a standard dsl internet connetion.

  1. The other thing I thought about is similiar at the start. With the P4, the Arduino and the ethernet shield. But at the other end it's just software. Then I would have to get a program made that will read the signals from the arduino that gets sent over the internet, and send it to my enginecontrol program. So the program I need to get made, simulates a com port for my enginecontrol program to connet to. On the enginecontrol program, I can only select COM 1 - 4.

I would like to hear your thoughts about this. Both the positive and the negative sides of the two options. This is just an idea I had, I haven't really thought it through that much.

Grinder

You can also buy such equipment for around $30 off the shelf :slight_smile:

Oh, really? That would be alot easier. Do you know where, or what it is called?

But it won't be as challenging. And I guess I won't learn much from it.

There are many devices like this...
http://go.iomega.com/en-us/products/network-storage-desktop/wireless-data-station/network-hard-drive-iconnect/
W/ or w/o cables, USB or RS232...