Do not connect 5V to the Vin pin. Connect it to the +5V pin. If you connect 5V to the Vin pin, the regulator will provide less than 5V to the board, because the regulator can not pass current without some voltage drop.
Do not connect 5V to the Vin pin. Connect it to the +5V pin. If you connect 5V to the Vin pin, the regulator will provide less than 5V to the board, because the regulator can not pass current without some voltage drop.