Recently, I too needed to connect a couple of nodes to a common controller. I wanted a bus on which I could go on adding slaves "in parallel".

Also, half duplex was acceptable in my application. This is the outcome: works like a charm along a 20 meter cable run at 9600 baud. I'm sure will run much longer at slower speeds..

And, comms happen over a single line, so you also save a pin on the pic.

Hope somebody finds it useful!

Name:  TxRx multiplex.jpg
Views: 5460
Size:  106.9 KB