I am trying to power 3 led strips (in parallel) and use pwm to make the leds change colors.
My idea for this is to use 4 (possibly 5) I/O ports to be connected to the input of the power relay
to provide it with 3.3V. The relay also states that when switched off, it draws up to 100mA. That would be the reason for using multiple ports to feed into the input of the relay as each pin can only handle a maximum of 25mA. The board to be used is: http://www.ti.com/tool/EK-TM4C123GXL (I know it's a little overkill but it's what my friend had and he didn't seem to mind to use it). I am also planning on putting some reverse-current limiting diodes on each connection from the pins to the relay.
I was then going to have the output of the relay, which is either 10A,240VAC or 5A,240VAC to this on-board power supply of 12VDC,3.8A https://www.trcelectronics.com/View/Mean-Well/IRM-45-12.shtml in order to provide 12VDC to the led strips in parallel. At maximum use case a single led strip will consume 1.2A, so that's why the 3.8A.
Does anyone see anything I'm overlooking or that doesn't seem right? I've never tried creating a portable higher voltage power supply setup like this before and was wondering if I was approaching a reasonable solution. The only thing that is really concerning me is the current output from the relay to the on-board power supply, because the power supply says the ac current input for itself should be around 1A and 5A output from the relay is far too much. Would there be a way to sink a desired amount of current output from the relay before it gets to the power supply?