

USB power is a standard interface for supplying power to electronic devices. It typically provides a regulated 5V DC output from a USB port, making it a versatile and widely used power source. USB power is commonly utilized for charging devices such as smartphones, tablets, and wearables, as well as powering small electronic circuits, development boards, and IoT devices.








Below are the key technical details for USB power:
| Parameter | Specification |
|---|---|
| Voltage Output | 5V DC (±5%) |
| Current Output | Typically 500mA to 3A (depending on USB type) |
| Power Output | Up to 15W (USB Type-C supports higher) |
| Connector Types | USB-A, USB-B, Micro-USB, USB-C |
| Protection Features | Overcurrent, overvoltage, and short-circuit protection |
The USB connector has four or more pins, depending on the type. Below is the pinout for the most common USB connectors:
| Pin Number | Name | Description |
|---|---|---|
| 1 | VBUS (+5V) | Power supply (5V DC) |
| 2 | D- | Data line (-) |
| 3 | D+ | Data line (+) |
| 4 | GND | Ground |
| Pin Number | Name | Description |
|---|---|---|
| A1, B1 | GND | Ground |
| A4, B4 | VBUS (+5V) | Power supply (5V DC) |
| A5, B5 | CC1, CC2 | Configuration channel (negotiates power) |
The Arduino UNO can be powered directly via its USB port. Below is an example of how to blink an LED using USB power:
// This example demonstrates how to blink an LED on pin 13
// The Arduino UNO is powered via USB (5V DC)
// Define the LED pin
const int ledPin = 13;
void setup() {
pinMode(ledPin, OUTPUT); // Set pin 13 as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Device Not Powering On
Voltage Drop
Overheating
Interference with Data Lines
Q: Can I use USB power to charge a 3.7V Li-ion battery?
A: No, USB power provides 5V, which is too high for direct charging of a 3.7V Li-ion battery. Use a dedicated Li-ion battery charging module (e.g., TP4056) to safely charge the battery.
Q: What is the maximum current I can draw from a USB port?
A: It depends on the USB standard:
Q: Can I power multiple devices from a single USB port?
A: Yes, but ensure the total current draw does not exceed the USB port's maximum current rating. Use a powered USB hub if necessary.
Q: Is USB power safe for sensitive electronics?
A: Yes, USB power is generally safe, but adding protection components (e.g., diodes, capacitors) is recommended for sensitive circuits.