I've attached my example that I made using fritzing. First, pretend that the 9v battery is actually 12 volts and second, the small LED is actually an actual light that expects power coming from a light.
Third, my MOSFET is this item [ https://www.amazon.com/gp/product/B07MW1N4Q5/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1 ].
The problem that I'm having is that when I try to press on the FSR (and I can see this happen in the serial output that this is working), when a specific threshold is crossed the light does not turn on/off as what I expect it to do. Instead, it turns on about ~15 seconds later... Also, when I press the FSR even harder, the light should turn on continuously, but that also does not happen.
My code on the Arduino works, with the above mentioned MOSFET when I use an actual LED (the power for it comes from the Arduino itself). This leads me to the conclusion that the problem is the MOSFET.
But, my question is this, which MOSFET or some other component is best for when you need to easily and instantly control the flow of 12 volt electricity? I've read online that one needs a MOSFET, did I pick the wrong one?