Skip to main content
Tweeted twitter.com/StackElectronix/status/1379630150489415688
Became Hot Network Question
added 9 characters in body
Source Link
JRE
  • 75.1k
  • 10
  • 115
  • 197

I have almost no knowledge in electronics and electricity. I've encountered with the concept of open-drain output recently and I think I got the idea. What What I have understood is that it is a transistor connected to an output pin, acting as a sink. Therefore, such pin will always output a zero value. 

Maybe I simplified it too much and I missed something. 

Anyway, I was wondering why are this kind of outputs are needed. 

As far as I know, if we were to output a one through such pin, we would have to connect an external pull-up resistor. Why not have that resistor already connected internally?

Thanks for any answer you can give. Also, apart from beign a noob in electronics, I'm new to this forum, so I'm sorry if this question is too theoretical. In case it is, I would apreciate some recommendations of forums where to ask these kind of questions.

I have almost no knowledge in electronics and electricity. I've encountered with the concept of open-drain output recently and I think I got the idea. What I have understood is that it is a transistor connected to an output pin, acting as a sink. Therefore, such pin will always output a zero value. Maybe I simplified it too much and I missed something. Anyway, I was wondering why are this kind of outputs needed. As far as I know, if we were to output a one through such pin, we would have to connect an external pull-up resistor. Why not have that resistor already connected internally?

Thanks for any answer you can give. Also, apart from beign a noob in electronics, I'm new to this forum, so I'm sorry if this question is too theoretical. In case it is, I would apreciate some recommendations of forums where to ask these kind of questions.

I have almost no knowledge in electronics and electricity. I've encountered the concept of open-drain output recently and I think I got the idea. What I have understood is that it is a transistor connected to an output pin, acting as a sink. Therefore, such pin will always output a zero value. 

Maybe I simplified it too much and I missed something. 

Anyway, I was wondering why this kind of outputs are needed. 

As far as I know, if we were to output a one through such pin, we would have to connect an external pull-up resistor. Why not have that resistor already connected internally?

Thanks for any answer you can give. Also, apart from beign a noob in electronics, I'm new to this forum, so I'm sorry if this question is too theoretical. In case it is, I would apreciate some recommendations of forums where to ask these kind of questions.

Source Link
anmomu92
  • 271
  • 1
  • 2
  • 7

Why are open-drain outputs needed?

I have almost no knowledge in electronics and electricity. I've encountered with the concept of open-drain output recently and I think I got the idea. What I have understood is that it is a transistor connected to an output pin, acting as a sink. Therefore, such pin will always output a zero value. Maybe I simplified it too much and I missed something. Anyway, I was wondering why are this kind of outputs needed. As far as I know, if we were to output a one through such pin, we would have to connect an external pull-up resistor. Why not have that resistor already connected internally?

Thanks for any answer you can give. Also, apart from beign a noob in electronics, I'm new to this forum, so I'm sorry if this question is too theoretical. In case it is, I would apreciate some recommendations of forums where to ask these kind of questions.