How can I assess whether my power source is sufficient for the Raspberry Pi 3 I am running (including all peripherals)? Is there a tool which can be installed on the Pi to install this or will external hardware be required?
2 Answers
You will get a little rainbow square in the top right of your screen if the power supply is inadequate.
It switches on when the 5V rail drops below 4.65V.
-
What if you're running headless? What is it which provides that rainbow square? Commented Aug 5, 2016 at 19:36
-
@PeterTaylor I think it's tied into GPIO35. When the power drops GPIO35 will read 0 rather than the normal 1.– joanCommented Aug 5, 2016 at 20:08
-
With that information to help me search I've managed to find official confirmation. Commented Aug 5, 2016 at 20:21
You cannot monitor power usage on the Pi, although as @joan mentioned you can detect if the Pi exceeded the capacity. The current drawn can vary widely with load so this is not reliable (although if it indicates consistent low voltage this can be regarded as definitive).
What you should do is add the current requirements of your peripherals and add ~700mA for the Pi. Unfortunately you cannot rely on the rated current capacity of most supplies. While I am sure they can safely supply the rated current they may not do so at voltage which the Pi regards as acceptable. The only way is to measure with an artificial load.