Comparator help

MrHeckles

Jul 31, 2005
117
Joined
Jul 31, 2005
Messages
117
This is my current circuit as it stands
comparator.jpg


What I am trying to get is the LED to turn on when the voltage across the sense resistor (0.32 ohm) gets above 0.2v

I have set up the LM311 comparator as shown. However it doesnt seem to work as I thought it would. The LED turns on as soon as there is ANY voltage across the sense resistor (ie when the mosfet starts switching on).

I have also tried it with the inputs round the other way. That didnt work as I wanted either.

Please could someone let me know where my schematic is incorrect.

Thanks

 

MrHeckles

Jul 31, 2005
117
Joined
Jul 31, 2005
Messages
117
I put the filter in and after fiddling with the values of things got it all working.

Many thanks audioguru

 
Top