Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 2nd January 2004, 08:51 PM   (permalink)
Default The difference in open-drain and push-pull

I see these terms used in trying to program a microcontroller and haven't found a clear definition of what they are and how they differ. thanks.
elarson is offline   Reply With Quote
Old 2nd January 2004, 10:22 PM   (permalink)
Default

Open drain can only sink current. You have to provide a pullup resistor if you want to source current. Open drain is useful if you have a bus with several devices on it, any of which can pull down the output to logic "0". Logic "1" is provided by the pullup resistor.

Push-pull outputs can source and sink current.
Roff is offline   Reply With Quote
Old 3rd January 2004, 12:12 AM   (permalink)
Default

And in digital circuits, push-pull outputs tend to have a higher frequency capability (faster switching speed) than open drain outputs.

Dean
__________________
Dean Huster, Electronics Curmudgeon
Contributing Editor emeritus, "Q & A", of the former "Poptronics" magazine (formerly "Popular Electronics" and "Electronics Now" magazines).

R.I.P.
Dean Huster is offline   Reply With Quote
Old 3rd January 2004, 12:16 AM   (permalink)
Default reply to open-drain and push-pull

So, an open-drain would work the same as a push-pull if it has a pull-up resistor?
elarson is offline   Reply With Quote
Old 3rd January 2004, 09:38 AM   (permalink)
Default Re: reply to open-drain and push-pull

Quote:
Originally Posted by elarson
So, an open-drain would work the same as a push-pull if it has a pull-up resistor?
With some limitations! - you need to be aware that it's open-drain and design accordingly. It's effectively just an on/off switch - when switched on the pin is taken to ground, when switched off the pin is O/C (just as if you'd disconnected the wire from the pin). Using a pull-up resistor is limited by the amount of current the resistor can provide - this current has to be absorbed by the open-drain pin when it's taken low, so it can't provide more current than that will sink.
Nigel Goodwin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:08 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.