I am new both to the forum and electronics in general, and been stuck on a simple project for days now. I would be very happy to get some help from you and learn what I am doing wrong.
The idea of the project is to power on an LED-strip (12V, external power supply) when motion is detected. I am using a PIR sensor for that purpose. In order to keep things simple however and remove as many parts as I can for an initial MVP, I am ignoring the PIR completely for now and only using the output of GPIO 24 (which I can manually PWM via terminal). I tested this, and indeed I am able to get ~3.3 volts out of GPIO 24.
This is an image taken from the web which shows what I am trying to do. With the mention of course that I am not using a battery and instead of the PIR sensor, I use GPIO 24 output and connecting their grounds.
I have initially tried to use a IRLB8721 mosfet, which is logic and n-channel however found out that my GPIO voltage might not be enough to make the switch. I then tried to look for something more suitable and the best I could find is IRF3205, however, this also seems to be a bad choice.
I also have a couple of 2n3904 transistors available, but now sure how I can make this work.
worth mentioning that when using the IRLB8721, the led strip is fully on, regardless of the gate input voltage. Also, I did make sure not to mix up the drain/source of the mosfet
Please help me understand what I am doing wrong and whether there is anything i can do to fix this with the components I currently have...