I have a situation where a PC and a PIC need to be able to send data to a serial (RS232) device.
When the PC is being used I want to disable the PIC from sending data. I have a switch right now that is a PC/PIC selector. (Might looking into sensing DTR latter) Basically it disables TX on the PIC when the PC is being used.
What is the best way to protect the TX pins on the PC and the PIC? I was thinking of just using some diodes on both TX pins to keep it simple. (RX should be a none issue) Is that OK or should I go with a mechanical disconnect like a relay?
Thoughts?
Bookmarks