I have various devices in the lab that I connect to over serial. Some are rs232, and some are rs485 and most of the rs485 have their own special pinout. This makes it a pita to debug anything as i need a different adapter for every device.
To fix this I want to make one adapter that connects a db9 to both an rs485 transceiver and a rs 232 line level converter through a switch matrix that is controlled by a micro. By adding a second com port to the usb side, I could connect to the micro and load a profile that will map the pins on the db9 to the proper rx/tx/gnd pins on the proper converter ic.
I believe an analog multiplex could do this, but I believe that would only be one channel, meaning I would need multiple chips. Are there any single ic packages that can pull this off?
To fix this I want to make one adapter that connects a db9 to both an rs485 transceiver and a rs 232 line level converter through a switch matrix that is controlled by a micro. By adding a second com port to the usb side, I could connect to the micro and load a profile that will map the pins on the db9 to the proper rx/tx/gnd pins on the proper converter ic.
I believe an analog multiplex could do this, but I believe that would only be one channel, meaning I would need multiple chips. Are there any single ic packages that can pull this off?