I try to switch on/off IKEA Ledberg LEDs which are powered with 24 V using the setup from this tutorial video: https://www.youtube.com/watch?v=sVyi7yWuXxs
I use a IRLB8721PBF MOSFET. When I switch the output from HIGH to LOW the LEDs shine a little less brighter. When the pin is set to HIGH I can measure 23,4 V at the LEDs and when it's set to LOW I measure 22,9 V.
So the MOSFET is not really switching off but why? I also tried to put a 100 kOhm resistor between Gate and Source which also did not help.
Do you have any hints for me?