Is LM339 open collector?

Is LM339 open collector?

The LM324 has a complementary output while the LM339 is open collector. In the complementary output, current can flow in either direction as required (either source or sink) while the open collector output can only sink current. How does LM339 comparator work?

What can a Redstone comparator be used for?

A redstone comparator is a block used in redstone circuits to maintain, compare, or subtract signal strength, or to measure certain block states (primarily the fullness of containers).

What does pull up to 5V mean in LM339?

The output is an open collector, and there is a pull-up to 5V, meaning that when the non-inverting input is higher than the inverting input the output transistor is OFF, and the output will go to whatever voltage the pull-up (Rp) is connected to. There is actually a contradiction in the LM339 datasheet:

How is the LM339 connected to the ground?

I’m guessing it’s tied to the ground of your circuit since that’s how the LM339 is typically used. Since LM339 has an open-collector output the HIGH output voltage does not depend on its own supply. You could for example set the LM339 positive supply to just 5V and the HIGH output will still be ~12V when Vin is above 9V.

What should supply voltage be for LM339 amplifier?

For LM339, you need to set the supply voltage so that just one of the input pins doesn’t exceed the common mode range. So for a 9V reference, if you set the LM339 supply to at least 10.5V, then the other input can range all the way from 0V to 36V without causing problems.

Why does the LM339 series of comparators oscillate?

The LM339 series are high gain, wide bandwidth devices which, like most comparators, can easily oscillate if the output lead is inadvertently allowed to capacitively couple to the inputs via stray capacitance. This shows up only during the output voltage transition intervals as the comparator changes states.