Hi guys,
I have built the following circuit.
The Vref is 0.01v. The Vin ranges from 0 to maybe 5v at most. What I was intending was a comparator that latched on once the Vin was less than Vref (and in which case the LED would illuminate).
The trouble I have is that when it turns on, the voltage on the + input of the 741 only increases to 0.3v (from 0.01v initial reference). If Vin goes above this, it turns off again.
If I reduce the 380 ohm resistor in value, the LED dims. If I increase the value, the latched + input voltage drops even more.
If I remove the diode on the feedback loop, I cannot set the Vref properly.
One point to note, is that the switch is in there as a reset.
My question is how could this layout be changed to give a greater latched on voltage (so it wont turn off) and also why is the feedback resistor affecting the LED brightness?
Thanks in advance.
I have built the following circuit.
The Vref is 0.01v. The Vin ranges from 0 to maybe 5v at most. What I was intending was a comparator that latched on once the Vin was less than Vref (and in which case the LED would illuminate).
The trouble I have is that when it turns on, the voltage on the + input of the 741 only increases to 0.3v (from 0.01v initial reference). If Vin goes above this, it turns off again.
If I reduce the 380 ohm resistor in value, the LED dims. If I increase the value, the latched + input voltage drops even more.
If I remove the diode on the feedback loop, I cannot set the Vref properly.
One point to note, is that the switch is in there as a reset.
My question is how could this layout be changed to give a greater latched on voltage (so it wont turn off) and also why is the feedback resistor affecting the LED brightness?
Thanks in advance.