I want to PWM lights with Arduino and IRF3205 N-channel MOSFET.
For fully turning the MOSFET on I am using this circuit. The op amp (datasheet here) and load are powered by a single 12V source (lead acid battery).
(MOSFET has 100k pulldown resistor at gate, not shown in circuit)
Now the output stays high even when I manually connect inverting input to +12V and non-inverting input to ground. I tried three ICs and they are not damaged so it is not the IC. It is so frustrating.
Only way that the MOSFET turns off is when I short gate and source together. Then it turns on slowly during 1 sec and stays on until I short those pins again.
The MOSFET turns off after the IC is removed from the IC socket.