Hi I'm looking to control a LED Strip (like this one), it only has 2 pins +/-. I'd like to be able to adjust brightness (pwm) and turn it on and off. The thing I'm not sure about is how to connect the MOSFETS (and everything else) for power driving. Do I just connect 1 to the positive side?
Also I'm using an ESP8266 the principle is similar for arduino.
You connect the anode (positive) of the LED strip to the positive of the power supply.
You connect the source of an N channel MOSFET to the negative of the supply and the drain of the MOSFET to the cathode (negative) of the LEDs.
Ground of the ESP8266 to the source, output pin to gate. Use a logic level MOSFET.
You need a logic level MOSFET, they can usually be identified by an L in the part number. Maybe IRL530 (I have not checked the specification to see if it meets your requirements)