need help, possibly a comparitor?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scampo77
    Badcaps Veteran
    • Dec 2010
    • 233

    #1

    need help, possibly a comparitor?

    I need an ultra low tech way of getting an LED to come on between the voltages of 11-14vdc and a seperate LED to come on for everything out of that range.

    I also need this same circuit for the range 2.9v-3.1v

    I have a box of opamps here of every different size,shape and purpose but im not sure which one to use or if I should buy a new one, or possibly I wouldnt even use a opamp.

    Any help would sure go a long way
    Last edited by scampo77; 02-03-2013, 05:03 PM.
  • ben7
    Capaholic
    • Jan 2011
    • 4059
    • USA

    #2
    Re: need help, possibly a comparitor?

    What you need to make is a window comparator. A window comparator has two set points, the low point, and the high point. When the input voltage is in between the high point and the low point, the output will be OFF. This is the 'window,' hence the name 'window comparator'. The circuit uses just two op-amps, and two diodes. (also 4 resistors for the high/low point settings, if you aren't using the voltages from some other circuit)

    Here is an example:


    The schematic shows both of the op-amps in an LM1458 chip being used. You can use mostly any other op-amp chip though. BTW, Op-amps can be used as comparators too!

    Just wire the LED - with a current limiting resistor - from the positive supply rail to the output of the window comparator (after the diodes). Be aware that, for this use, you will need to flip the diodes around! Then the LED should come on when the output gets pulled low, which is when the input is in the 'window' voltage range.

    The purpose of the diodes are to keep the op-amp outputs from shorting each other.

    Now to let that soak into your brain

    P.S. Going to give us [some of] the chip numbers from the lot of op-amps you have?

    -Ben
    Muh-soggy-knee

    Comment

    Related Topics

    Collapse

    • gobby009
      ambiano eletric window cleaner
      by gobby009
      hi guys bought a ambiano eletric window cleaner from a charity shop had a full charge when i bought it ran fine went to charge it and it wont charge the chargers fine so had a look at the motherboard.in the picture i have continuity from the charging port negative pin to the 2 negative points matked in black on the board.but on the posotive side i only have continuity to the first red point marked in the picture not at the second marked point.any ideas....
      11-06-2024, 10:37 AM
    • zklgfs
      Anker SoundCore 2 Bluetooth Speaker Turns Off After a Few Seconds (Possibly Firmware Issue?)
      by zklgfs
      Hi,

      I have an Anker SoundCore 2 (A3105) that I saved from the trash (well, I guess there's a reason why it was supposed to go into the trash...). The problem is that it always turns off after a few seconds (sometimes it stays on a bit longer, between 30 and 60 seconds, but it still turns off). The power light turns on and the bluetooth light starts blinking, but both abruptly turn off again. The "turn off sound" is still played after the lights turn off. Sometimes, it also loops the on-off cycle several times without me pressing any buttons. If I connect an AUX cable, music...
      08-11-2025, 02:14 PM
    • EnderFFX
      P15 Gen 1, Error 2203 but B0 / C0 are okay. possibly GPU swap?
      by EnderFFX
      Hello!
      I bought a P15 Gen 1 as defective and without much hints to its history.
      Was sold as "cannot start, weird stuff on screen".

      So i bought a replacement GPU (2070 Super) and BOOM it worked immediatly, i got lucky.

      Only that error 2203 every single time with beep loud enough to wake the kids is annoying.

      I sincerly tried to read up and got a U One to work (3.5.40, that update tool will always say 3-5-40 is latest on cloud althiugh i ran it 3 times, it updated once from 3.5.30 to .40. Is that a problem? P15 Gen 1 is old anyways...)...
      07-26-2025, 04:23 AM
    • ktmmotocross
      How to prevent nvflash64 to auto close window?
      by ktmmotocross
      I want to do command "nvflash64 --version"

      but this stupid window is always auto close so i cannot read what is output.

      anybody know solution or i must go to dos?

      next question is why i cannot flash different vendor bios even when i have patched nvflash
      06-01-2023, 02:31 AM
    • Alfieh
      NAD C320BEE repair possibly bad capacitors
      by Alfieh
      hey Im very new to repairing electronics with capacitors as well as using a multimeter so I need so help/guidance fixing this issue

      recently I was handed a family members old NAD C320BEE that they had in their loft for storage for a few years but when powered on it went into power safety mode due to a problem on the protection circuit somewhere before it went into storage I was told it worked fine I found lots of people online talking about how the capasitors are known to be pretty bad in this model and can cause this issue the only problem being I don't have much experience sorting...
      11-19-2024, 04:55 PM
    • Loading...
    • No more items.
    Working...