Hello all ,
I have this circuit that supposed to light a specific led when varDC/DC is 20V
And another led when varDC/DC is 15V and so on ..
My question is , why do I have to add the mosfet and the voltage divider at the exit of the comparator (the red mark)??
it seems to me that I can connect the output of the comparator directly to the led with a resistor ,
When the output is low ('0') led will light on , and when its ('1') led will shutdown ,
so I can save the extra resistors and the mosfet , what am I missing ?
Thanks

I have this circuit that supposed to light a specific led when varDC/DC is 20V
And another led when varDC/DC is 15V and so on ..
My question is , why do I have to add the mosfet and the voltage divider at the exit of the comparator (the red mark)??
it seems to me that I can connect the output of the comparator directly to the led with a resistor ,
When the output is low ('0') led will light on , and when its ('1') led will shutdown ,
so I can save the extra resistors and the mosfet , what am I missing ?
Thanks

