I've been trying to make my own lower-cost power supply for the Raspberry Pi (my cellphone wall adapters don't provide clean enough 5V power for the Pi 3B+) with a 12V wall wart I have laying around and a spare switching regulator.
I have the switching regulator set so it outputs 5.23V while unloaded, but upon being connected to the Pi, the voltage sags to ~4.7V. Given that the target input voltage range for the Pi is ~4.9-5.1V, how high is it safe to set the switching regulator in order to ensure that even its sagged voltage is within the range? Could I safely go to 5.5V unloaded voltage?