Connect with us

OPAMP as voltage comparator issue

Discussion in 'General Electronics Discussion' started by iPanos, Apr 19, 2016.

Scroll to continue with content
  1. iPanos

    iPanos

    10
    0
    Apr 10, 2016
    Hey guys...

    I needed to check a variable voltage DC output (1-95V) and give a high voltage visual warning when voltage goes above 40 to 50V. With my little experience (I am a hobbyist) I thought it was within my skill level to design the circuit with the LM358, so I went like the this:

    DSC01005.JPG

    I used as reference voltage a 4.3V Zener and a 1:10 voltage divider on the variable voltage in order to make the alarm go at 43V. The blue led is supposed to be on when the voltage is under 43V and the red one will be on when the voltage is over 43V.

    All works fine, except that when the red led lights up, the blue only dims (instead of turning completely off). I measured the opamp output and it gives 1.3V when it was supposed to go low.

    Any clues as to how to fix that?
     
  2. Arouse1973

    Arouse1973 Adam

    5,165
    1,087
    Dec 18, 2013
    Put a pull down resistor at the base of the BC548 down to 0 Volts. If you have another 68K try that, if that doesn't work you will have to lower the value of the pull down until the LED is off. It's always better to use a dedicated comparator to do this sort of thing. Although OPAMP will work, it's not really the right component to use.
    Adam
     
  3. iPanos

    iPanos

    10
    0
    Apr 10, 2016
    Thanks a lot Adam, and appreciate the advice too.
    68K was too big, it worked great with 20K.
    Thanks again!
     
  4. cjdelphi

    cjdelphi

    1,096
    104
    Oct 26, 2011
    Screenshot_2016-04-20-18-19-12.png

    Says 35v so are you powering this from the 1k/zener ?
     
  5. Arouse1973

    Arouse1973 Adam

    5,165
    1,087
    Dec 18, 2013
    Ok no probs.
    Adam
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-