using LM324 as comparator

Status
Not open for further replies.

Wida Lidia

Newbie level 3
Joined
Sep 25, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
23
I am using LM324 as comparator. I wanted to make output voltage 5V when I receive signal greater than 4V but in fact I just got 3,7 V. My Vcc is 5 V. Whats the problem?
 

There's no problem with the part, the behaviour is according to LM324 specification. (You may want to review the datasheet).

You can try a pull-up resistor.
 
A LM339 comparator is a better choice usually. You
might add a pullup resistor to give you higher VOH
from the op amp (same as you'd need for the '339).
 
why pull-up resistor can give me better output?
 

The answer is in the circuit. If you don't see it, just try. When pulling the output voltage above regular Vcc-1.1V saturation level, you are working against a 50 µA current source.

 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…