5V and Vin pin in Arduino UNO
If you have a regulated 5V to power your Arduino you would connect it to the 5V pin. When doing so make sure there is no connection to the USB connector or to the DC Barrel Power connector.