My board will be mostly powered with an already regulated 5V input from USB (or wall charger), but I want it protected for higher supply voltage in case somebody plugs in the wrong voltage.
So I'm putting a voltage regulator on the board after Vin.
Initially I was planning to use the LP2985 but realised I may need to draw higher current, probably around 1A, so I'm considering the LM1117.
I see it is used on the Arduino Nano, which accepts 5V as an input, but after reading the datasheet, I understand Vin needs to be higher than Vout.
Can I use the LM1117 to convert 5V to 5V ?