powering arduino externally

hello,

this is my first time on a forum and first topic, sorry if i make rookie mistakes.

im making a beerpong table with under each cup a led ring of 8 ws2812b leds and a IR sensor.

i have a power supply wich goes from 220v to 5v 40A. im planning to connect all the + and ground of the led rings and IR sensors in parralel. but my question is: how can i power the arduino from my power supply of 5v ?

if you guys have more tips or things i should keep in mind while wiriring my project please let me know!

It that 5V i regulatet(stable) - connect directly to an arduino 5V rail.
There is a low drop regulator, so the Vin-pin will probably also work just fine

so if i connect my power source to the ''vin'' or ''5v'' and the ''gnd'' it will be fine?

On most Arduinos Vin needs 6.5 to 7V to work reliably. But the 5V pin should be fine with your 5V supply.

Steve