I am relatively new to electronics and Arduinos but I successfully wired LEDs from DC power supplies before. A bit of a background into the project at hand, I am working with a large gunpla model which I want to add LEDs to, the leds will go in each of the thrusters and have a flame flickering effect. From what I have read so far a parallel circuit on its own will be no good and be too much for the pins and processor to handle.
A fellow acquaintance of the hobby has suggested a Logic Level Mosfet, i'm not too sure what this is or really where to start so I am hoping you guys can help.
The code I will be using is the following which I hope to implement to all 17 LEDS.
That is the plan, however if that is unwise which I assume it is. I could use 2 powerbanks. 1 Soley for the Arduino, the other for the Leds as an external power source.
Unless your LEDs are high-current devices, a good rule of thumb is to allow 25 - 30 mA per LED. Thus, 17 LEDs is 510mA, just over half-an-Amp. Then add in the UNO current and give yourself a safety margin: 1A @5V will run the project but not give you much headroom for future growth.
The 10K pull down resistor is there to hold the MOSFET off while until the program can set the pin to output mode during setup when reset. Pins are by default inputs when the processor is reset. An input with no pull down is floating (indeterminate state) so the MOSFET can turn on until the pin is set to output and (defaults) LOW. The pulldown prevents that.
The pull down resistor should be on the Arduino output side of the gate resistor as mentioned by @jremington.
During my components search I came accross some leds which flicker as they are.
Now that I am aware of these would it not make sense to just go with these and a simple circuit, removing the arduino entirely and not overcomplicate things ?