I am using a 2N7000 N Channel FET as a switch similar to the circuit below. The load is a 12V LED lamp and is connected to 12V not the shown 5V below. Most of the time the circuit works perfectly turning the lamp on and off as desired. Occasionally the FET becomes damaged and the LED is lit st low brightness all the time reading about 6V at the Drain. When the GPIO turns on the FET will still light at full brightness and when the GPIO turns off or is even disconnected the LED is lit partially. Replacing the FET fixes the problem. The Lamp unit is a 22.5mm Techna lamp. http://www.techna.co.uk/components/com_jshopping/files/data/LEDtec_LED_Indicators_and_Bulbs_Datasheet.pdf
Any suggestions appreciated. I am not sure whats damaging the FET or what could be done to prevent damage.