I'm currently working on a Project that uses a NodeMCU to activate a motorcycle horn. However, I've run into Problems with operating the Mosfet.
As a Mosfet, I use the IRLZ44N (Datasheet: http://www.irf.com/product-info/datasheets/data/irlz44n.pdf). The motorcycle horn runs on 12V DC and draws 2.5A. I've also used two resistors in the design. See the circuit for an exact Layout:
Now, I've tested this circuit with an LED, the only difference being a resistor in series to the LED and that the power source for the LED was the 3.3V output of the NodeMCU.
So, what am I doing wrong here? I've tried basically any configuration that came to mind, but so far, I haven't been succesful. Can anyone point me in the right direction?