Connect 4 TTL communication devices to a single atmega 2560 RX pin

ttl

I need to read 4 devices with one Rx pin on atmega2560. Devices are DS457 Motorola bar code readers. They communicate in inverted TTL at 9600 baud rate. I have already made signal inverter with 2 transistors and resistors.

enter image description here

My question is:

  • Can I connect all 4 Tx of DS457 to single Rx pin without problems or do i need any diode for each reader?

The readers will not work at the same time. Only one at a time.

Best Answer

If you are set on using that inverter circuit you could simply repeat the left hand transistor for each input (B C in parallel and emitters to each input).

Or just buy a 4-input NAND gate instead of trying to make one.