Search code examples
c#hardware.net-micro-framework

Need to control a serial port via .NET. What HW/SW choices to I have that run CLR 2.0?


I need to control 128 different serial lines via .NET (simply because I know it). I hear there are various Basic Stamps available, and then some XP, CE, Micro, and Embedded options available to me.

/update:

My plan is to have a MUX of some type break down my serial line into a specific address. I'm not planning on having 128 individual serial controllers.

/endupdate

I simply want to have a C# application control a serial port (as directed by an input file of some type) continuously in a loop. If your interested, I'm ultimately controlling 128 solenoids that are either in an open or closed state.

What is the best HW//SW solution for this device? If I have a serial output, I'm planning on having a multiplexer break out the commands to the correct device.


Solution

  • Have a look here: http://www.moxa.com/product/nport_6650.htm

    Converts 32 serial ports to a TCP server with 32 TCP ports.
    Connect to each COM port, via TcpClient or other suitable TCP client.

    • Price works out to $51/COM port
    • Robust and tidy solution.