Stufin
Home Quick Cart Profile

Raspberry Pi 15W Official Black Power Supply (EU)

Buy Now

Pin Configuration

  • Raspberry Pi 15W Official Black Power Supply (EU) Pinout Documentation
  • The Raspberry Pi 15W Official Black Power Supply (EU) is a high-quality power supply unit designed specifically for the Raspberry Pi series of single-board computers. This power supply provides a stable and efficient 15W output, making it suitable for powering Raspberry Pi boards and their peripherals.
  • Power Supply Connector Pinout:
  • The power supply unit has a micro-USB connector with five pins. Here's a detailed explanation of each pin:
  • 1. Pin 1: VBUS (5V)
  • Function: Power supply voltage (5V)
  • Description: This pin provides the 5V power supply voltage to the Raspberry Pi board.
  • 2. Pin 2: ID (Configuration Channel)
  • Function: Configuration channel for device detection
  • Description: This pin is used for device detection and configuration. It is not used for power supply.
  • 3. Pin 3: D- (Data-)
  • Function: USB data transfer (Data-)
  • Description: This pin is used for USB data transfer and is not used for power supply.
  • 4. Pin 4: D+ (Data+)
  • Function: USB data transfer (Data+)
  • Description: This pin is used for USB data transfer and is not used for power supply.
  • 5. Pin 5: GND (Ground)
  • Function: Ground connection
  • Description: This pin provides a ground connection for the power supply and is essential for safe and reliable operation.
  • Connecting the Power Supply to the Raspberry Pi:
  • To connect the Raspberry Pi 15W Official Black Power Supply (EU) to your Raspberry Pi board, follow these steps:
  • Connect the micro-USB connector on the power supply unit to the micro-USB port on the Raspberry Pi board.
  • Ensure the connector is securely seated and aligned properly to avoid damage or electrical shorts.
  • Verify that the power supply is set to the correct input voltage (100-240V AC) and plugged into a suitable power outlet.
  • Turn on the power supply and observe the Raspberry Pi board's power LED to ensure it is receiving power.
  • Important Safety Considerations:
  • Always use the original Raspberry Pi power supply or a compatible replacement to avoid damage to your board or power supply.
  • Ensure the power supply is certified for use in your region and meets the required safety standards.
  • Avoid touching the power supply unit or electrical components with your bare hands to prevent electrical shock or damage.
  • Keep the power supply unit and Raspberry Pi board away from water, moisture, and extreme temperatures.
  • By following these guidelines and properly connecting the power supply to your Raspberry Pi board, you can ensure reliable and safe operation of your IoT project.

Code Examples

Raspberry Pi 15W Official Black Power Supply (EU) Documentation
Overview
The Raspberry Pi 15W Official Black Power Supply (EU) is a high-quality, reliable power supply designed specifically for the Raspberry Pi series of single-board computers. This power supply provides a stable 15W of power, making it suitable for demanding applications that require a consistent power source.
Technical Specifications
Input Voltage: 100-240V AC
 Output Voltage: 5.1V DC
 Output Current: 2.5A
 Power Rating: 15W
 Output Connector: Micro-USB
 Certifications: CE, FCC, and RoHS compliant
 Dimensions: 75 x 45 x 25mm
 Weight: 130g
Code Examples
Here are a few examples of how to use the Raspberry Pi 15W Official Black Power Supply (EU) in various contexts:
Example 1: Basic Raspberry Pi Setup
In this example, we will demonstrate how to power a Raspberry Pi 4 Model B using the Raspberry Pi 15W Official Black Power Supply (EU).
```python
# No code required, simply plug in the power supply to the Raspberry Pi's micro-USB port
```
Example 2: Python Script to Monitor Power Supply Voltage
In this example, we will demonstrate how to use the Raspberry Pi's built-in `vcgencmd` command to monitor the power supply voltage and print it to the console.
```python
import subprocess
while True:
    voltage = subprocess.check_output(['vcgencmd', 'get_volts'])
    print(f"Power supply voltage: {voltage.decode('utf-8').strip()} V")
```
Example 3: Autonomous Robotics Project
In this example, we will demonstrate how to use the Raspberry Pi 15W Official Black Power Supply (EU) to power a Raspberry Pi 4 Model B in an autonomous robotics project. The Raspberry Pi will be used to control a robot's movements and sensors.
```python
import RPi.GPIO as GPIO
import time
# Initialize GPIO library
GPIO.setmode(GPIO.BCM)
# Define motor control pins
motor_left_forward = 17
motor_left_backward = 23
motor_right_forward = 24
motor_right_backward = 25
# Set up motor control pins as output
GPIO.setup(motor_left_forward, GPIO.OUT)
GPIO.setup(motor_left_backward, GPIO.OUT)
GPIO.setup(motor_right_forward, GPIO.OUT)
GPIO.setup(motor_right_backward, GPIO.OUT)
while True:
    # Read sensor data and control motors accordingly
    # ...
    GPIO.output(motor_left_forward, GPIO.HIGH)
    GPIO.output(motor_right_forward, GPIO.HIGH)
    time.sleep(1)
    GPIO.output(motor_left_forward, GPIO.LOW)
    GPIO.output(motor_right_forward, GPIO.LOW)
    time.sleep(1)
```
These examples demonstrate the ease of use and flexibility of the Raspberry Pi 15W Official Black Power Supply (EU) in various IoT projects.