5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black)
5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black)
The 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black) is a high-quality power adapter specifically designed for the Raspberry Pi 3B single-board computer. This adapter provides a reliable and efficient power supply to ensure stable operation of the Raspberry Pi 3B.
The primary function of this adapter is to provide a regulated 5.1V DC output at a maximum current of 2.5A, which is suitable for powering the Raspberry Pi 3B and its peripherals. The adapter is designed to operate within a wide input voltage range, making it suitable for use in various environments.
Overvoltage protection (OVP) to prevent damage from excessive voltage input
Short-circuit protection (SCP) to prevent damage from output short circuits
Overcurrent protection (OCP) to prevent damage from excessive output current
Compact and lightweight design
Black color scheme with a durable plastic casing
68.5mm (L) x 42.5mm (W) x 30.5mm (H)
Micro-USB connector (compatible with Raspberry Pi 3B)
IEC C7 power inlet (compatible with standard figure-eight power cables)
CE marked (Conformit Europene)
RoHS compliant (Restriction of Hazardous Substances)
The 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black) is suitable for various IoT projects, robotics, and automation applications that utilize the Raspberry Pi 3B single-board computer. It is also an ideal replacement or spare power adapter for existing Raspberry Pi 3B setups.
Ensure the power adapter is used in a well-ventilated area to prevent overheating.
Avoid using the adapter in humid or wet environments.
The adapter is designed for use with the Raspberry Pi 3B only. Using it with other devices may result in damage or unstable operation.
Component Documentation: 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black)
Overview
The 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black) is a power adapter designed specifically for the Raspberry Pi 3B single-board computer. This adapter provides a stable 5.1V power output at up to 2.5A, making it suitable for powering the Raspberry Pi 3B and its peripherals.
Technical Specifications
Input: 100-240V AC, 50-60Hz
Output: 5.1V DC, 2.5A
Compatibility: Raspberry Pi 3B
Connector: Micro-USB
Dimension: 60mm x 40mm x 25mm
Weight: 60g
Material: ABS plastic
Color: Black
Code Examples
### Example 1: Basic Power-Up with Python
This example demonstrates how to use the Raspberry Pi 3B Stontronics Adapter to power up a Raspberry Pi 3B and run a simple Python script to print "Hello, World!" to the console.
Hardware Requirements
Raspberry Pi 3B
5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black)
Micro-USB cable
Software Requirements
Raspbian OS (latest version)
Python 3.x installed on the Raspberry Pi 3B
Code
```python
# hello.py
print("Hello, World!")
```
Instructions
1. Connect the micro-USB cable to the 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter and the other end to the Raspberry Pi 3B.
2. Power on the adapter.
3. Open a terminal on the Raspberry Pi 3B and navigate to the directory where the `hello.py` file is located.
4. Run the Python script using `python hello.py`.
5. Observe the output "Hello, World!" on the console.
### Example 2: IoT Automation with Node.js
This example demonstrates how to use the Raspberry Pi 3B Stontronics Adapter to power up a Raspberry Pi 3B and run a Node.js script to control an LED connected to the Raspberry Pi's GPIO pins.
Hardware Requirements
Raspberry Pi 3B
5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter (Black)
Micro-USB cable
LED module
Breadboard
Jumper wires
Software Requirements
Raspbian OS (latest version)
Node.js installed on the Raspberry Pi 3B
Code
```javascript
// led_control.js
const gpio = require('gpio');
// Set up GPIO pin 17 as an output
const ledPin = 17;
gpio.setup(ledPin, gpio.DIRECTION_OUTPUT);
// Define a function to toggle the LED
function toggleLED() {
gpio.write(ledPin, gpio.HIGH);
setTimeout(() => {
gpio.write(ledPin, gpio.LOW);
}, 1000);
}
// Toggle the LED every 2 seconds
setInterval(toggleLED, 2000);
```
Instructions
1. Connect the micro-USB cable to the 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter and the other end to the Raspberry Pi 3B.
2. Power on the adapter.
3. Connect the LED module to the breadboard and connect the jumper wires to the Raspberry Pi's GPIO pins (GND and Pin 17).
4. Open a terminal on the Raspberry Pi 3B and navigate to the directory where the `led_control.js` file is located.
5. Run the Node.js script using `node led_control.js`.
6. Observe the LED toggling every 2 seconds.
Note: These examples are for demonstration purposes only and are meant to illustrate the basic functionality of the 5.1V, 2.5A Raspberry Pi 3B Stontronics Adapter. You should always ensure that your project meets the safety and electrical requirements for your specific use case.