adds code

Watch: Getting Started with power supplies, cables

The video above covers power supplies and cables for Raspberry Pi-class builds. Below we explain why supply quality decides long-term uptime, what the ratings mean, and how the picks compare.

Quick answer: Use a power supply designed for your exact board: the official 15.3 W USB-C supply is specified for Raspberry Pi 4-class boards.

An underspecified supply or a thin, long cable is the most common cause of random reboots and interrupted writes in 24/7 Node-RED hubs.

Why does the power supply matter so much for a Node-RED hub?

A Node-RED automation hub typically runs around the clock, accumulating logs, dashboards, and integrations. When voltage sags, boards throttle, glitch, or reboot — and an unexpected power cut mid-write is a classic recipe for a corrupted microSD card. The supply is not an accessory; it is the foundation the whole hub sits on.

What do the voltage and wattage ratings mean?

Raspberry Pi-class boards run on 5 V DC; watts are simply volts times amps, so a 15.3 W supply delivers about 3 A at 5.1 V. Modern USB-C supplies may also use USB Power Delivery, where device and charger negotiate higher voltages and currents over the cable — the standard is maintained by USB-IF (usb.org/usb-charger-pd). Matching the supply to the board’s specification avoids both starvation and mismatched negotiation.

Are all USB-C cables the same?

No. Cables differ in wire gauge, shielding, and supported current, and a poor cable can drop enough voltage over its length to starve an otherwise adequate supply. USB-IF, the standards body behind USB (usb.org), certifies cables for exactly this reason. Keep the run short and use a cable rated for the current your board needs.

Can a weak supply really corrupt my SD card?

Indirectly, yes. The card itself is not damaged by low voltage, but when the board browns out or reboots during a write, files and filesystems can be left half-updated. Stable power plus regular flow exports is cheap insurance.

How do our power-supply picks compare?

SupplyOutput (as listed)Notes
Raspberry Pi Official Power Supply 15.3W USB-C15.3 WReference supply for Pi 4-class boards
sb components Official Pi 4 USB-C adapter5 V/3 A classOfficial-spec alternative
Official USB Type-C 5V/3A supply5 V/3 AStandard Pi 4-class output
CanaKit Premium USB-C cable 1.5 mAccessorySturdy cable for reliable delivery

Top Recommended Products

Here's our complete list of top picks, with detailed justifications:

  1. Raspberry Pi Official Power Supply 15.3W USB-C with 1.5M Cable: Official Raspberry Pi power supply ensures stable 5V 3A output with proper USB-C power delivery negotiation, preventing SD card corruption in Node-RED nodes.
  2. sb components Official Raspberry Pi 4 USB-C Power Supply Adapter: Vendor-tested compatible power supply with proper power delivery, essential for reliable 24/7 Node-RED operation without brownouts.
  3. Official USB Type-C 5V/3A Power Supply Connector for Raspberry Pi 4: Genuine Raspberry Pi power adapter with correct USB-PD implementation, prevents unexpected reboots during critical Node-RED automations.
  4. CanaKit Premium USB-C Cable for Raspberry Pi - 1.5M Length: High-quality USB-C cable with sufficient gauge to handle 3A current without voltage drop, ensuring reliable power to Node-RED Raspberry Pi nodes.

As an Amazon Associate I earn from qualifying purchases.

Frequently Asked Questions

Can I power relays and sensors from the same supply?

Small sensor loads are usually fine from the Pi’s own rails, but remember the GPIO header operates at 3.3 V logic levels (pinout.xyz) — inductive loads like motors deserve their own supply.

Is a higher-wattage supply harmful?

No. Devices draw the current they need; headroom simply keeps voltage stable under bursts.

Should I power the board through its GPIO pins?

It bypasses the board’s input protection — best reserved for advanced builds that already handle their own fusing.

How do I spot a failing supply?

Watch for undervoltage warnings in the OS or the lightning-bolt indicator, spontaneous reboots under load, and USB devices dropping off.

Further Reading

Check out these related articles on this site:

Sources

Previous Post Next Post