How to power Raspberry Pi 5?

 To power a Raspberry Pi 5 safely and reliably, treat it more like a small PC than a toy board. Here’s what you need and what not to do.




1. Official / recommended way (best choice)

Use a USB-C 5V / 5A PD power supply

  • The Raspberry Pi 5 is designed for:

    • 5 V, up to 5 A via USB-C

  • The official Raspberry Pi 5 PSU is:

    • 27 W USB-C PD (5 V at up to 5 A), and it negotiates PD correctly for the board + USB devices.

Why this matters:

  • Pi 5 can draw much more current than older models, especially with:

    • USB SSDs

    • Cameras, HATs, Wi-Fi load, CPU+GPU under stress

  • A random 5 V / 3 A phone charger may:

    • Not negotiate PD correctly

    • Drop voltage under load → crashes, throttling, SD corruption

So:

Best practice: Use the official Raspberry Pi 5 power supply (or a high-quality USB-C PD PSU that supports 5 V / 5 A and is known to work with Pi 5).


2. Can I use a normal phone charger?

Short version: Maybe, but not recommended.

  • If it is USB-C PD and can do at least 5 V / 3 A, the Pi might work for:

    • Light usage (no heavy USB devices)

  • Problems you may see with weak supplies:

    • Lightning-bolt / undervoltage icon

    • Random reboots

    • SD card errors

    • USB devices disconnecting

If you must use one:

  1. Make sure the PSU is PD-capable, not just 5 V / 2 A legacy.

  2. Prefer 5 V / 3–5 A rated bricks from reputable brands.

  3. Avoid long, thin USB-C cables → they cause voltage drop.


3. Powering USB devices & HATs

Everything hangs from that 5 V rail:

  • USB drives, SSDs, Wi-Fi adapters → can draw hundreds of mA each

  • HATs and custom boards may draw 500 mA–1 A or more

That’s why the board is designed around 5 A input headroom.

Rules of thumb:

  • If you attach a USB SSD, absolutely use a good 5 V / 5 A supply.

  • For very power-hungry USB setups:

    • Consider a powered USB hub so the hub, not the Pi, powers the devices.


4. Can I power via GPIO pins?

On Pi 5, this is strongly discouraged unless you really know what you’re doing.

  • The 40-pin header still has:

    • Pin 2, 4: 5 V

    • Pin 6, 9, 14, etc.: GND

  • If you feed 5 V directly into these pins:

    • You bypass:

      • USB-C power-negotiation

      • Protection circuits (fuse, some surge/OVP mechanisms)

    • There is no reverse-polarity protection: wrong connection = dead Pi.

    • Must be an extremely stable 5 V source with low ripple and enough current (5 A).

So unless you’re designing a custom industrial PSU and understand the risks, stick with USB-C.


5. Powering from a battery / power bank

A. Using a USB-C power bank

Works fine if:

  • The power bank supports USB-C PD at 5 V / 3–5 A.

  • It does not auto-sleep at low current (some banks shut off if load is small).

Look for:

  • “27 W”, “30 W”, or similar PD output

  • 5 V 3 A, 9 V 2 A specs (as long as 5 V 3 A is supported)

B. Using raw batteries (Li-ion, LiPo, etc.)

Don’t connect them directly. You need:

  • A DC-DC buck converter that outputs 5 V / 5 A,

  • Very clean and stable,

  • Then feed that into:

    • Preferably the USB-C port (through a USB-C PD trigger / module), or

    • As a last resort, the 5 V pins on the header (with all the caveats above).


6. Safe shutdown (very important for SD card)

Regardless of how you power the Pi 5:

  • Always shut down the OS before cutting power:

    • From desktop: Shutdown button

    • From terminal:

      sudo shutdown -h now
  • Wait until:

    • Green activity LED stops blinking

    • HDMI signal disappears

  • Then unplug power.

This reduces risk of:

  • SD card corruption

  • File system errors

  • “Sometimes it boots, sometimes it doesn’t” issues


7. Quick checklist

If your question is “How do I power it correctly?”:

  1. Buy/use the official 27 W Raspberry Pi 5 USB-C power supply (or same-spec PD supply).

  2. Use a short, good-quality USB-C cable if the PSU is separate.

  3. Avoid powering from the GPIO 5 V pins unless you absolutely have to and know power electronics.

  4. For heavy USB loads, consider:

    • Powered USB hub, or

    • Very solid 5 V / 5 A PD brick.

  5. Always shutdown before unplugging.

评论

此博客中的热门博文

Detailed Explanation of STM32 HAL Library Clock System

How To Connect Stm32 To PC?

How do you set up ADC (Analog-to-Digital Converter) in STM32?