![how multiplexer can be used as parallel to serial converter how multiplexer can be used as parallel to serial converter](https://www.ak-nord.de/images/product_images/original_images/LPT2USB_A.jpg)
- #How multiplexer can be used as parallel to serial converter software#
- #How multiplexer can be used as parallel to serial converter code#
- #How multiplexer can be used as parallel to serial converter series#
![how multiplexer can be used as parallel to serial converter how multiplexer can be used as parallel to serial converter](https://rioentrancement.weebly.com/uploads/1/2/4/0/124018144/691668897.jpg)
Try this search: rs232 port input multiplexer on Google Maybe you can use some kind of IC that do the job for you, I'm not sure, but maybe that some IC that multiplex multiple RS232 input on a single RS232 output already exist.
#How multiplexer can be used as parallel to serial converter code#
but you should add some code in the data flow to differentiate the data coming from the 3 inverters. You have 3 RS232 outputs, so you need 3 RS232 input, then you can manage these 3 input the way you like: maybe you can buffer the data from each input, and reoutput the data on a single RS232 output, to be connected to your monitoring device. If you do that you are probably going to broke the RS232 output circuitry of your inverters. No, you should NOT connect 3 serial output port in parallel. In can be a simple solution to the problem of not enough serial input ports but only in a very limited set of environments.
![how multiplexer can be used as parallel to serial converter how multiplexer can be used as parallel to serial converter](https://www.petervis.com/dictionary-of-digital-terms/serial-to-parallel-converter/serial-to-parallel-converter-circuit.gif)
#How multiplexer can be used as parallel to serial converter software#
In any case, I would recommend not using this technique except in very specific, limited, and non-mission critical cases and would not use it in the case where you have multiple devices sending information at a programmed interval as in the case of the OP or where there is a software handshake. However, if I had to do this again I would likely add a simple pull-down resister and capacitor to ground with a diode between RXD and the cap in a sort of charge pump configuration or a pull-down to negative going handshake signal to ensure the "OR'd" input signal goes truly negative since the RS-232 spec defines +3 to -3v as invalid.
#How multiplexer can be used as parallel to serial converter series#
Amazingly enough there are no problems with voltage levels with most RS-232A receivers I tested at the time and they tolerated the signal characteristics (no negative voltage) that result from the simple use of the diodes in series with the TXD signals. In one particular application I used this technique there were two input terminals where a user could key in simple commands to control the system (a specialized security system) and it was very unlikely that two people would be trying to control it at the same time from the two different terminals. I'm sort of chuckling at doomsday and wacky answers that so often pop up on stackoverflow.īut anyway, in years gone buy I have used paralleled RS-232 transmit lines using diodes and it can work fine for situations where collisions are unlikely.