![]() | ![]() | ![]() |
| | |||||||
| Notices |
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink (permalink)) |
| Hi, Can anybody help me out with the Open collector/drain concept in micro-controllers.. I know that these can sink more current. I know that they must be oulled up in-order to use thenm as bi-directional ports. But i need to know the basics of this concept. Please help me out. Venki | |
| | |
| | (permalink (permalink)) | |
| Quote:
They DON'T sink more current (unless the transistor is a higher spec than the normal ones). They also DON'T need to be pulled up to act as a bidirectional port, ONLY if it needs to source current rather than sink it when set as an output. There are basically two advantages to it, firstly it's useful for a common line (like I2C), where setting it HIGH means the line is free to be controlled elsewhere. Secondly, it allows you to switch higher voltage rails, as the pin can be pulled higher by a pullup resistor. | ||
| | |