Yesterday I damaged a MOSFET I'm using in a simple control circuit, but it failed in a strange way and I'm trying to figure out what might have caused the failure and how I might prevent it in the future.
The MOSFET is controlling a 5v sensor by switching the low side of the power for the...