I'm trying to set up a comparator circuit that only supplies voltage to a connected LED if the voltage provided falls within an expected range, but I'm having some problems.
For testing, I have it wired up as shown in the picture below with two 3V coin cell batteries powering the entire circuit. I'm using 1K resistors to set the Max input to 4V (Input3) and the min input to 2V (Input2).
I have the two comparators working alright (they send a high signal of 1V and low of 0.2V, which seems un-ideal, but I’m not sure if that is how they’re supposed to work – that’s why I have the diodes connected in ‘reverse’). I want to have one output, which gives a 3V high if both the comparators give output a high signal, and 0V low signal otherwise. I’d love it if I could manage this without using a separate AND gate (using one of the two free comparators on the LM339). Is there a simple way to do this?