That's not the correct way to design it. You need to calculate the current first, before you can build a power supply. If you build a power supply which doesn't provide enough current, the voltage will fall below 5V and the circuit won't work. If you over engineer the power supply so it can...