ds18s20
Full Member level 3

- Joined
- Jun 13, 2006
- Messages
- 171
- Helped
- 13
- Reputation
- 26
- Reaction score
- 11
- Trophy points
- 1,298
- Location
- San Francisco
- Activity points
- 2,511
Hi
I have been testing a little sensor project and just to get things straight I built a little test circuit and discovered some strange stuff. So if someone could explain what I am seeing, I will be very happy:
Basically in example #2 all works exactly as I expect - when the output is "positive" the LED is totally dead with about 0.12V across and when the output is "negative" (sinking) the LED is fully ON with about 2.5V across
However, in example #1 - the LED is fully ON when the output is positive (sourcing) but when the output goes nagative, the LED is not completely OFF. There is about 2.3V across and the LED is 50% ON and my question is why is that?
I suspect this has to do with the internal structure, and if yes, then my follow-up question is - why is it that the TTL world had adopted sinking as the predominant principle instead of sourcing? Why is it that most TTL ICs are built with sinking in mind?
Thanks
~B**broken link removed**
I have been testing a little sensor project and just to get things straight I built a little test circuit and discovered some strange stuff. So if someone could explain what I am seeing, I will be very happy:
Basically in example #2 all works exactly as I expect - when the output is "positive" the LED is totally dead with about 0.12V across and when the output is "negative" (sinking) the LED is fully ON with about 2.5V across
However, in example #1 - the LED is fully ON when the output is positive (sourcing) but when the output goes nagative, the LED is not completely OFF. There is about 2.3V across and the LED is 50% ON and my question is why is that?
I suspect this has to do with the internal structure, and if yes, then my follow-up question is - why is it that the TTL world had adopted sinking as the predominant principle instead of sourcing? Why is it that most TTL ICs are built with sinking in mind?
Thanks
~B**broken link removed**