I have this schematic:
I had to replace T1 transistor with a MOSFET (because D4 on an ESP8266 has to be high at boot time and the transistor reduces the pin voltage, so the ESP doesn't boot - see my previous question).
So I replaced it with a IRF3205 MOSFET datasheet (I know it is total overkill) base = gate; source = emitter; drain = collector.
The LED works (i.e. it turns off and on) but the LED in the "ON" state is really dim. What is wrong? It has to be something elementary, but I can't figure it out.
The LED is inside a button (12 V with internal resistor). D4 is the ESP8266 pin (3.3 V logic)