oasacorp
Newbie level 4
I designed an IR sensor. The RX of the IR LED without any obstacle shows a voltage of about 2mV. Now when some object is present, it reads b/w 8mv and 50mv. I would like to design the circuit in such a way that when that happens an LED should glow. What are the solutions ? An obvious solution would be to use an opamp as comparator. But i dont know how to set V- (vref as 2mV with consistency). Please help me. Any other soultion is also appreciated.