Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use USB power supply: Examples, Pinouts, and Specs

Image of USB power supply
Cirkit Designer LogoDesign with USB power supply in Cirkit Designer

Introduction

The USB Power Supply is a device designed to convert AC power from a standard wall outlet into a low-voltage DC output, typically 5V, suitable for charging or powering USB-compatible devices. Manufactured by USB, this component is widely used in consumer electronics, providing a reliable and efficient power source for smartphones, tablets, microcontrollers, and other USB-powered devices.

Explore Projects Built with USB power supply

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered USB Charger with LED Indicator and DC Motor
Image of Copy of Hand Crank mobile charger : A project utilizing USB power supply in a practical application
This circuit converts AC power to DC using a bridge rectifier and regulates the voltage to 5V with a 7805 voltage regulator. It powers a USB port and indicates power status with an LED, while also providing a charging interface through a multi-charging cable.
Cirkit Designer LogoOpen Project in Cirkit Designer
12V UPS System with Dual 18650 Li-ion Battery Backup and Voltage Regulation
Image of Power supply: A project utilizing USB power supply in a practical application
This circuit is designed to provide an uninterruptible power supply (UPS) system with a 12V DC output. It includes a 12V 5A power supply connected to an AC source through a toggle switch, which charges a pair of 18650 Li-ion batteries via a voltage regulator (XL4016). The UPS module ensures a continuous power supply to the load by switching between the power supply and the battery bank.
Cirkit Designer LogoOpen Project in Cirkit Designer
USB-Powered DC Gear Motor with LED Indicator
Image of Hand Crank mobile charger : A project utilizing USB power supply in a practical application
This circuit appears to be a power supply unit with a bridge rectifier connected to a DC gear motor, indicating it is designed to convert AC to DC power for the motor. An electrolytic capacitor is used for smoothing the DC output, and a 7805 voltage regulator is included to provide a stable 5V output. Additionally, there is an LED with a series resistor, likely serving as a power indicator light.
Cirkit Designer LogoOpen Project in Cirkit Designer
AC to DC Micro USB Power Supply with Buck Converter
Image of ac: A project utilizing USB power supply in a practical application
This circuit is designed to convert AC power to regulated DC power. An AC source feeds a power transformer that steps down the voltage, which is then rectified by a bridge rectifier to produce a pulsating DC. This DC is further converted to a stable DC output by a step-down buck converter, which then provides power through a Micro USB connector.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with USB power supply

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Copy of Hand Crank mobile charger : A project utilizing USB power supply in a practical application
Battery-Powered USB Charger with LED Indicator and DC Motor
This circuit converts AC power to DC using a bridge rectifier and regulates the voltage to 5V with a 7805 voltage regulator. It powers a USB port and indicates power status with an LED, while also providing a charging interface through a multi-charging cable.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Power supply: A project utilizing USB power supply in a practical application
12V UPS System with Dual 18650 Li-ion Battery Backup and Voltage Regulation
This circuit is designed to provide an uninterruptible power supply (UPS) system with a 12V DC output. It includes a 12V 5A power supply connected to an AC source through a toggle switch, which charges a pair of 18650 Li-ion batteries via a voltage regulator (XL4016). The UPS module ensures a continuous power supply to the load by switching between the power supply and the battery bank.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Hand Crank mobile charger : A project utilizing USB power supply in a practical application
USB-Powered DC Gear Motor with LED Indicator
This circuit appears to be a power supply unit with a bridge rectifier connected to a DC gear motor, indicating it is designed to convert AC to DC power for the motor. An electrolytic capacitor is used for smoothing the DC output, and a 7805 voltage regulator is included to provide a stable 5V output. Additionally, there is an LED with a series resistor, likely serving as a power indicator light.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ac: A project utilizing USB power supply in a practical application
AC to DC Micro USB Power Supply with Buck Converter
This circuit is designed to convert AC power to regulated DC power. An AC source feeds a power transformer that steps down the voltage, which is then rectified by a bridge rectifier to produce a pulsating DC. This DC is further converted to a stable DC output by a step-down buck converter, which then provides power through a Micro USB connector.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Charging mobile devices such as smartphones, tablets, and wearables.
  • Powering USB peripherals like LED lights, fans, and small appliances.
  • Supplying power to development boards such as Arduino, Raspberry Pi, and ESP32.
  • General-purpose USB power for DIY electronics projects.

Technical Specifications

The USB Power Supply is designed to meet the power requirements of most USB devices. Below are its key technical details:

General Specifications

Parameter Value
Input Voltage 100-240V AC, 50/60Hz
Output Voltage 5V DC
Output Current 1A, 2A, or 3A (model-specific)
Power Output 5W, 10W, or 15W
Connector Type USB Type-A or USB Type-C
Efficiency ≥ 85%
Operating Temperature 0°C to 40°C
Storage Temperature -20°C to 70°C
Safety Standards CE, FCC, UL certified

Pin Configuration and Descriptions

For USB Type-A connectors, the pinout is as follows:

Pin Number Name Description
1 VBUS +5V DC power output
2 D- Data line (negative)
3 D+ Data line (positive)
4 GND Ground

For USB Type-C connectors, the pinout is more complex, but the primary power-related pins are:

Pin Number Name Description
A1, A4, B1, B4 VBUS +5V DC power output
A12, B12 GND Ground

Usage Instructions

How to Use the USB Power Supply in a Circuit

  1. Connect the USB Power Supply to an AC Outlet: Plug the device into a standard wall outlet (100-240V AC).
  2. Connect the USB Device: Use a compatible USB cable to connect your device to the USB port of the power supply.
  3. Verify Power Delivery: Ensure the connected device powers on or begins charging. For development boards like Arduino, confirm the onboard power LED is lit.

Important Considerations and Best Practices

  • Check Current Ratings: Ensure the power supply's output current matches or exceeds the requirements of your device. Overloading the power supply can cause overheating or failure.
  • Avoid Overheating: Use the power supply in a well-ventilated area to prevent overheating.
  • Use Quality Cables: Low-quality or damaged USB cables can lead to voltage drops and inefficient power delivery.
  • Compatibility with Microcontrollers: When powering devices like Arduino UNO, ensure the USB power supply provides a stable 5V output.

Example: Powering an Arduino UNO

The USB Power Supply can be used to power an Arduino UNO via its USB port. Below is an example Arduino sketch to test the setup:

// Simple Blink Sketch for Arduino UNO
// This code blinks the onboard LED to confirm the USB power supply is working.

void setup() {
  pinMode(13, OUTPUT); // Set pin 13 (onboard LED) as an output
}

void loop() {
  digitalWrite(13, HIGH); // Turn the LED on
  delay(1000);            // Wait for 1 second
  digitalWrite(13, LOW);  // Turn the LED off
  delay(1000);            // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Device Not Powering On

    • Cause: Insufficient current output from the power supply.
    • Solution: Use a power supply with a higher current rating (e.g., 2A or 3A).
  2. Overheating

    • Cause: Prolonged use in a poorly ventilated area or overloading.
    • Solution: Ensure proper ventilation and avoid exceeding the power supply's rated output.
  3. Intermittent Power Delivery

    • Cause: Faulty or low-quality USB cable.
    • Solution: Replace the cable with a high-quality, certified USB cable.
  4. Voltage Drop

    • Cause: Long or thin USB cables causing resistance.
    • Solution: Use shorter, thicker cables to minimize voltage drop.

FAQs

Q: Can I use this power supply with a Raspberry Pi?
A: Yes, as long as the power supply provides sufficient current (e.g., 2.5A for Raspberry Pi 4).

Q: Is this power supply compatible with fast charging?
A: No, this power supply provides a standard 5V output and does not support fast charging protocols like Quick Charge or Power Delivery.

Q: Can I use this power supply outdoors?
A: No, this power supply is designed for indoor use only. Use a weatherproof enclosure if outdoor use is necessary.

Q: What happens if I connect a device that requires less current?
A: The device will only draw the current it needs, so it is safe to use the power supply with lower-power devices.