I want to control 30 anode RGB LEDs using just 3 PWM pins of the arduino. Each RGB LED will be the same color so they don't need to be individually addressable. I just want to be able to turn all 30 leds on/off, change their color, adjust their brightness, and perform different glow and pulse effects.
I know this can be done using MOSFETs but I'm unsure how everything would be wired and what the voltage and current requirements for the MOSFETs and my power supply need to be.
The LEDs Im using, have a forward voltage of 3 volts and direct current of 20mA except for the red color which has a 2 volt forward voltage and 20ma direct current.
Here is an image of what I think my connections should look like
I believe my MOSFETs would need to be able to handle 600mA of current continuously and my power supply would need to handle 1.8A of current. But I'm not sure what voltage the power supply needs to be or if these values are correct. I would like to power the whole setup using an outlet. I believe I need an LED driver as the power supply but am not sure of what type etc..
Any direction on this project would be appreciated. I am extremely new!