I am trying to use the 5v output from an Arduino to control a 12v LED strip. I have an N-Channel MOSFET but I am confused on how to make it work. Here is the MOSFET Datasheet: http://www.st.com/web/en/resource/technical/document/datasheet/CD00002848.pdf
I basically want to use the MOSFET as a switch. When the Arduino outputs 5v I want 12v to output from the MOSFET (using 12v battery), but if the Arduino is not outputting voltage, I want the MOSFET to output 0v. Is this the correct component?
If it is the correct component, how would I set it up? I have never worked with transistors so this is new to me. Are there resistors I need to make this actually work?