Ohh, sorry, actually, I forgot to connect the MOSFET gate wire. I don't want to delete my previous message not to confuse anyone. That was my mistake. MOSFET turns off as expected, the only problem is that it has the same opened initial state problem. Just like the led...
When I power the circuit on (no overcurrent condition is assumed), I have to mechanically short the LM393 output to ground to turn the led off and turn the MOSFET on, after that, it works perfectly...
It is strange, because when no overcurrent condition is present, the LM393 output is low, (actually giving around 0.11V) so in other words, I just ground the almost grounded pin, and then circuit starts to operate normally. Would a pull-down resistor solve the problem? (with respect to the R1 and pull-down one ratio)
When I power the circuit on (no overcurrent condition is assumed), I have to mechanically short the LM393 output to ground to turn the led off and turn the MOSFET on, after that, it works perfectly...
It is strange, because when no overcurrent condition is present, the LM393 output is low, (actually giving around 0.11V) so in other words, I just ground the almost grounded pin, and then circuit starts to operate normally. Would a pull-down resistor solve the problem? (with respect to the R1 and pull-down one ratio)






