please dont rip this site

Open Collector

Q is the value in the internal register corresponding to the output pin. Usual CMOS output: When Q is high, P is off and N is on. When Q is low, P is on and N is off.
(TTL is the same except P is PNP and N is NPN)

      ---[ P channel FET
     |    |
Q ---|    +----------Out
     |    |
      ---[ N channel FET
Open drain output: When Q is high, N is on, output sinks current. When Q is low, N is off, output is high-impedance.
Vcc-------+ (a pullup resistor between Vcc and Out gives you a logic 1 when
N is off)
          +--------- Out
     Q ---[ N channel fet

This configuration is often used in what is called 'wired OR'. Any number of open-drain devices can sit on the same bus, with an external pull-up resistor. The un-asserted state is high (negative logic). Any one of the devices on the bus can pull the signal low to its asserted state, hence creating an OR function on the bus.

The open-collector is often used on interrupt lines. A number of devices sit on the one interrupt signal, and any one of the devices can assert the signal by driving it low. You can add and remove devices from the bus as necessary. This wouldn't be possible with normal logic outputs, because one device would be driving the bus high while another would be driving it low. But an open drain can't drive a signal high, hence the need for an external pull-up. It can only pull a signal low.

See also:

file: /Techref/logic/opencollector.htm, 1KB, , updated: 2005/7/27 09:34, local time: 2015/10/7 01:38, owner: JMN-EFP-786,


<A HREF=""> Open Collector</A>


Link? Put it here: 
if you want a response, please enter your email address: 
Did you find what you needed?

  PICList 2015 contributors:
o List host: MIT, Site host, Top posters @20151007 RussellMc, IVP, James Cameron, Bob Blick, embedded systems, Isaac Marino Bavaresco, alan.b.pearce, Neil, Dwayne Reid, Richard R. Pope,
* Contributors: Richard Seriani, Sr.

Welcome to!