Electrical – Comparator help (Lm2903N)

comparator

I am using a LM2903N to learn about comparators. I am powering the unit with a 9v battery and connecting to the (+) 5v and the (-) 2.5v. However, when I check the output the resulting voltage is 0v. Why is this happening. My wiring diagram looks similar to this picture I created in LTspice. Can anyone help me come up with ideas to try and get this working? Thanks for reading.

enter image description here

Best Answer

The LM2903 has an open collector output so it can not actively drive a positive voltage. You need to add a pull-up resistor of about 10k between the output pin and your positive supply rail.

Related Topic