I have a PIR sensor (HC-SR501) and I want it to turn an led strip(12V 0.8A) on when the sensor detects motion and off when there's no motion.I checked a previous thread which is similar in that thread they were going for a P channel mosfet and I can't get them in shops near my area.
My options are an N channel mosftet IRF540 and or a 2n2222 transistor. The transistor I presume can't handle a load this big so I'm going for the mosfet.
Will the mosfet work with the 3V trigger from the PIR sensor? Do I need to add resistor before the gate? Will this mosfet work at all or should I get another N channel mosfet?
Here is the diagram of my project.
Image may be NSFW.
Clik here to view.
Thanks in advance.