Author Topic: [ window voltage comparator ]  (Read 7588 times)

0 Members and 1 Guest are viewing this topic.

Offline texane

  • Regular Contributor
  • *
  • Posts: 60
[ window voltage comparator ]
« on: October 17, 2009, 10:25:42 am »

As a beginner, I am reading the following book: practical electronics
for inventor, from Paul Scherz.

For a light sensor project, I need a window voltage comparator. I use
one from the above book. I attached the schema.

What should happen:
Vout is +5v when 2.3v<Vin<2.7v
Vout is 0v otherwise.

However, I get the opposite...:
Vout is 0v when 2.3v<Vin<2.7v
Vout is 5v otherwise.

I use a lm339 quad comparator, so that I actually has only one
comparator. I tested the comparator inputs/outputs independently
to see if it works, and I get right measures. Maybe there is something
I didnot understand regarding the above schema...

Any idea?

Thanks for helping,



Offline texane

  • Regular Contributor
  • *
  • Posts: 60
Re: [ window voltage comparator ]
« Reply #1 on: October 17, 2009, 10:40:03 am »
I think I misunderstood something... the schema
actually works as expected, sorry for posting :)

Online Simon

  • Global Moderator
  • *****
  • Posts: 13532
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: [ window voltage comparator ]
« Reply #2 on: October 18, 2009, 08:41:46 pm »
if you get a similar situation again (thats if it really happens) reverse the inputs on the comparators
Varied stock of test instruments and components including EEVblog gear and Wurth Elektronik Books.
Also, if you want to get ripped off:

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo