Electronic – Wired-or open drain with open collector outputs

open-collectoropen-drain

I have a comparator with open collector output (LM311) and a gate with open drain output (SN74LVC1G06). I want join these two outputs to make a wired-or, with a pull-up resistor tied to +3.3V.

In a general way, is it appropriate to join an open-drain output with an open-collector output?

Best Answer

There really isn't an issue with that. Open drain and open-collector are essentially the same in this application.

Two things to watch out for:

  1. Make sure you get your polarities right and that you need an OR gate and not a NOR gate because the open-collector/open-drain style often invert your signal. If the output of either opamp is high, then the output of that IC will be pulled low, and vice versa.

  2. Just make sure each IC can sink (Vcc/R1)+(Vcc/R2). This will be the worst case current if one output is low, and the other is high.

Picture for reference.

enter image description here

Related Topic