askvity

How to Wire a USB Cable for Power

Published in USB Wiring 3 mins read

To wire a USB cable specifically for power, you primarily need to connect the positive voltage (usually +5V) and ground (GND) wires to your device or project, ignoring the data wires.

A standard USB cable contains four wires, though only two are typically needed for power:

  • Red: Positive voltage (+5V)
  • Black: Ground (GND)
  • White: Data D-
  • Green: Data D+

For a power-only connection, you will focus on the red and black wires.

Steps to Wire a USB Cable for Power

  1. Prepare the Cable End: Carefully cut or strip the outer jacket of the USB cable at the end you want to connect to your device. Be cautious not to cut the inner wires.

  2. Identify the Wires: Inside the cable, you will find the insulated wires, usually red, black, white, and green.

  3. Isolate Power Wires: Gently separate the red and black wires from the white and green ones. You can trim the white and green wires short or insulate their ends individually if they won't be used, ensuring they cannot short circuit anything.

  4. Strip Wire Ends: Strip a small amount of insulation (about 5-10mm) from the end of the red and black wires to expose the bare conductors.

  5. Connect the Wires: Connect the exposed red and black wires to the power input terminals of your device or circuit.

    • Based on standard practice, you will solder the red wire to the power terminal (often marked as VCC or +) and the black wire to the ground terminal (marked as GND or -) of your intended connector or circuit.
    • Alternatively, you might use screw terminals, crimp connectors, or a breadboard, ensuring correct polarity (+ to + / VCC, - to - / GND).

Wire Color Mapping

Wire Color Function Standard Voltage
Red Power (VCC) +5V
Black Ground (GND) 0V
White Data (D-) Data Signal
Green Data (D+) Data Signal

Note: This mapping is standard for USB, but always double-check your device's documentation.

Practical Considerations

  • Polarity is Crucial: Connecting the red wire to ground and the black wire to power will likely damage your device. Always verify the polarity markings (+/- or VCC/GND) on your target circuit.
  • Current Limitations: Standard USB 2.0 ports typically provide up to 500mA (0.5A), while USB 3.0 offers up to 900mA (0.9A). USB-C can provide significantly more power depending on the port and cable negotiation. Ensure the power drawn by your device does not exceed the source's capacity.
  • Safety: Disconnect the USB cable from any power source before cutting or stripping wires. Insulate all connections properly to prevent short circuits.

By following these steps and paying close attention to wire colors and polarity, you can effectively wire a USB cable to provide power to your desired application.

Related Articles