I'm using BS170 N-channel
enchantment enhancement mode MOSFET and have the following circuit:
The idea behind it is that the MOSFET should act as a simple switch and turn the LED on and off depending on the status of its gate.
Well, my problem is that the LED is always on, even when the gate is connected only to ground, or directly to ground with no resistor. I've tried this with several transistors. At one point, I've had the gate floating and (as expected), I'd get various levels of light from the LED when I touch the gate. Also some of them can be now turned OFF by connecting the gate to the positive side of the power supply and with some, the LED actually is brighter when I connect the gate to the ground than when the gate is floating. From what I've read, such behavior is expected from depletion mode MOSETs, right?
Could I have killed the transistor or did I get bad parts? How susceptible to static electricity are they?