Protects against excessive voltage levels that could damage the Raspberry Pi 4.
| Short-circuit protection | Prevents damage from short circuits. |
Protects against excessive voltage levels that could damage the Raspberry Pi 4.
| Short-circuit protection | Prevents damage from short circuits. |
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
----------------
100-240V AC, 50-60Hz
5V DC
Up to 3A
USB-C
54mm x 34mm x 28mm
60g
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.
Official Raspberry Pi 4 Power Adapter DocumentationOverviewThe 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 SpecificationsInput: 100-240V AC, 50-60Hz
Output: 5V DC, 3A
Cable length: 1.5m
Compatibility: Raspberry Pi 4 Model BUsing the Power Adapter with Raspberry Pi 4To 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 4In this example, we will demonstrate how to power a Raspberry Pi 4 using the Official Raspberry Pi 4 Power Adapter.Hardware RequirementsRaspberry Pi 4 Model B
Official Raspberry Pi 4 Power Adapter
Power outletSteps1. 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 RequirementsRaspberry Pi 4 Model B
Official Raspberry Pi 4 Power Adapter
Power outletSoftware RequirementsPython 3.x installed on the Raspberry Pi 4
RPi.GPIO library installed on the Raspberry Pi 4Code
```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 RequirementsRaspberry Pi 4 Model B
Official Raspberry Pi 4 Power Adapter
Battery pack (e.g., 5000mAh 5V battery pack)
Jumper wiresSteps1. 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.