Stufin
Home Quick Cart Profile

Official Raspberry Pi 4 Power Adapter

Buy Now on Stufin

Overvoltage protection

Protects against excessive voltage levels that could damage the Raspberry Pi 4.

Short-circuit protectionPrevents damage from short circuits.

Overcurrent protection

Limits the current output to prevent overheating and damage.

### 4. Global Compatibility

The adapter is designed for global use, with compatibility with 100-240V, 50-60Hz AC power sources.

### 5. Efficient Power Conversion

The adapter features a high-efficiency power conversion design, minimizing heat generation and reducing energy waste.

### 6. USB-C Connector

The adapter uses a USB-C connector, providing a convenient and reversible connection to the Raspberry Pi 4.

### 7. Raspberry Pi 4 Compatibility

The adapter is specifically designed for use with the Raspberry Pi 4, ensuring optimal performance and compatibility.

Specifications

----------------

Input Voltage

100-240V AC, 50-60Hz

Output Voltage

5V DC

Output Current

Up to 3A

Connector

USB-C

Dimensions

54mm x 34mm x 28mm

Weight

60g

Certifications

CE, FCC, RoHS, and UKCA compliant

Conclusion

----------

The Official Raspberry Pi 4 Power Adapter is a reliable and efficient power solution for the Raspberry Pi 4. Its high-quality components, compact design, and safety features make it an ideal choice for a wide range of applications, from hobbyist projects to industrial deployments.

Pin Configuration

  • Official Raspberry Pi 4 Power Adapter Documentation
  • The Official Raspberry Pi 4 Power Adapter is a high-quality, reliable power supply designed specifically for the Raspberry Pi 4. It features a compact design, high efficiency, and safety certifications. This document provides a detailed explanation of the power adapter's pins and how to connect them.
  • Pinout:
  • The power adapter has a standard micro-USB connector with five pins. Here's a breakdown of each pin:
  • Pin 1: VBUS (5V)
  • + Function: Power supply voltage (5V)
  • + Description: This pin provides the 5V power supply voltage to the Raspberry Pi 4.
  • + Connection: Connect to the Raspberry Pi 4's micro-USB port (Pin 1)
  • Pin 2: D- (Data -)
  • + Function: USB data line (negative)
  • + Description: This pin is one of the two data lines used for data transmission between the power adapter and the Raspberry Pi 4.
  • + Connection: Not connected (reserved for data transmission, but not used for power supply)
  • Pin 3: D+ (Data +)
  • + Function: USB data line (positive)
  • + Description: This pin is the other data line used for data transmission between the power adapter and the Raspberry Pi 4.
  • + Connection: Not connected (reserved for data transmission, but not used for power supply)
  • Pin 4: GND (Ground)
  • + Function: Ground connection
  • + Description: This pin provides a ground connection for the power adapter and the Raspberry Pi 4.
  • + Connection: Connect to the Raspberry Pi 4's micro-USB port (Pin 4)
  • Pin 5: ID (Identification)
  • + Function: Identification pin
  • + Description: This pin is used for device identification and is not used for power supply or data transmission.
  • + Connection: Not connected (reserved for future use or OEM-specific functionality)
  • Connection Structure:
  • To connect the power adapter to the Raspberry Pi 4, follow these steps:
  • 1. Insert the micro-USB connector into the power adapter.
  • 2. Align the micro-USB connector on the power adapter with the micro-USB port on the Raspberry Pi 4.
  • 3. Insert the micro-USB connector into the Raspberry Pi 4's micro-USB port, ensuring Pin 1 (VBUS) on the power adapter connects to Pin 1 on the Raspberry Pi 4.
  • 4. Ensure Pin 4 (GND) on the power adapter connects to Pin 4 on the Raspberry Pi 4.
  • 5. Secure the connection by gently pushing the micro-USB connector into place.
  • Important Safety Notes:
  • Always use the official Raspberry Pi 4 Power Adapter to ensure safe and reliable power supply to your device.
  • Avoid using unofficial or third-party power adapters that may not meet safety and quality standards.
  • Make sure the power adapter is plugged into a grounded and surge-protected power outlet to prevent damage to the Raspberry Pi 4 and the power adapter.
  • By following this documentation, you can safely and correctly connect the Official Raspberry Pi 4 Power Adapter to your Raspberry Pi 4. If you have any questions or concerns, please refer to the Raspberry Pi 4 documentation or contact the manufacturer's support team.

Code Examples

Official Raspberry Pi 4 Power Adapter Documentation
Overview
The Official Raspberry Pi 4 Power Adapter is a high-quality, reliable power supply designed specifically for the Raspberry Pi 4 single-board computer. It provides a safe and efficient way to power your Raspberry Pi 4, ensuring optimal performance and longevity.
Technical Specifications
Input: 100-240V AC, 50-60Hz
 Output: 5V DC, 3A
 Cable length: 1.5m
 Compatibility: Raspberry Pi 4 Model B
Using the Power Adapter with Raspberry Pi 4
To use the power adapter with your Raspberry Pi 4, simply connect the micro-USB end of the adapter to the Raspberry Pi 4's power input and plug the other end into a power outlet.
Example 1: Basic Powering of Raspberry Pi 4
In this example, we will demonstrate how to power a Raspberry Pi 4 using the Official Raspberry Pi 4 Power Adapter.
Hardware Requirements
Raspberry Pi 4 Model B
 Official Raspberry Pi 4 Power Adapter
 Power outlet
Steps
1. Connect the micro-USB end of the power adapter to the Raspberry Pi 4's power input.
2. Plug the other end of the power adapter into a power outlet.
3. Turn on the power outlet.
4. The Raspberry Pi 4 will boot up and be ready for use.
Example 2: Powering a Raspberry Pi 4 with a Script (Python)
In this example, we will demonstrate how to use a Python script to monitor the power status of the Raspberry Pi 4 when using the Official Raspberry Pi 4 Power Adapter.
Hardware Requirements
Raspberry Pi 4 Model B
 Official Raspberry Pi 4 Power Adapter
 Power outlet
Software Requirements
Python 3.x installed on the Raspberry Pi 4
 RPi.GPIO library installed on the Raspberry Pi 4
Code
```python
import RPi.GPIO as GPIO
import time
# Set up GPIO library
GPIO.setmode(GPIO.BCM)
# Define power pin
power_pin = 17
# Set up power pin as input
GPIO.setup(power_pin, GPIO.IN)
while True:
    # Read power status
    power_status = GPIO.input(power_pin)
    
    # Print power status
    if power_status:
        print("Power is on")
    else:
        print("Power is off")
    
    # Wait for 1 second
    time.sleep(1)
```
This script monitors the power status of the Raspberry Pi 4 by reading the voltage level on GPIO pin 17. When the power is on, the script prints "Power is on". When the power is off, the script prints "Power is off".
Example 3: Powering a Raspberry Pi 4 with a Battery Pack (optional)
In this example, we will demonstrate how to use a battery pack with the Official Raspberry Pi 4 Power Adapter to power a Raspberry Pi 4.
Hardware Requirements
Raspberry Pi 4 Model B
 Official Raspberry Pi 4 Power Adapter
 Battery pack (e.g., 5000mAh 5V battery pack)
 Jumper wires
Steps
1. Connect the positive wire of the battery pack to the positive terminal of the power adapter.
2. Connect the negative wire of the battery pack to the negative terminal of the power adapter.
3. Connect the micro-USB end of the power adapter to the Raspberry Pi 4's power input.
4. The Raspberry Pi 4 will boot up and be powered by the battery pack.
Note: This example is optional and requires a battery pack. Make sure to choose a battery pack that is compatible with the Raspberry Pi 4's power requirements.