Desired Behaviour
I want to send RGB values from my Arduino Uno PWM pins to an RGB LED strip.
What I've Tried
I've purchased this RGB LED strip and 12V power supply (specs below).
I'm trying to follow this adafruit tutorial but am finding the diagram references unclear.
I've mocked up a diagram but am not sure it would work:
( I haven't used the Vin
pin before, so, just to be clear, that is the pin that is connected to the positive line on the breadboard - is that how to transfer the 12V power to the breadboard? )
Questions
01) Is the above diagram safe and sound?
02) How do I connect the power supply to the RGB LED strip?
03) Is it ok to keep the Arduino 'powered' by the USB whilst plugged in to the 12V power (so that it can keep sending the RGB values to the LED strip via the PWM pins)?
04) I've seen references to grounding
the power source, how do I do that?
05) Are the MOSFETS I have from the Arduino Uno starter kit sufficient for this task?
Printed Text on MOSFET: IRF520 Y32K BE
MOSFET Datasheet: Link (IRF520NPbF)
Specifications
RGB LED Strip
LED type: 5050 SMD
Color: RGB
LED quantity: 300LED
Package: 5 Meter/REEL
Voltage:: 12V DC
Working Power: 14.4W
Working temperature: -20° to 50°
Size: ⌀180mm
Length : 5m
Life Span: 50000+hours
Weight: 0.3kg
Power Supply
Input Voltage: AC 100 - 240V
Output Voltage : DC 12V, 6A
Power : 72 Watts
Connector Size:
External Diameter: 5.5mm
Internal Diameter: 2.5mm