Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
DC barrel socket to micro-USB plug power adaptor

Powering a Micro-USB Device from a Barrel Supply: Passive Adaptor Checks

A small barrel-to-micro-USB adaptor can be convenient when a project already has a suitable DC supply. It changes the connection, however, rather than automatically making that supply behave like a USB charger. The voltage, polarity, current capability and device expectations still need to match.

PMD Way's 5.5 × 2.1 mm DC socket to micro-USB plug adaptor is an example of this accessory. Treat it as a connector adaptor: do not assume voltage regulation, reverse-polarity protection, USB data communication or charging-protocol support unless those functions are explicitly documented.

Start with the device's power requirements

Read the device manual and identify the intended power socket. Some equipment has separate micro-USB sockets for power and data, while other products combine these functions. A connector that physically accepts the plug does not tell you which role it performs.

For a conventional nominal-5 V micro-USB input, select a regulated supply that meets the device's specified voltage range. Never connect a 9 V or 12 V barrel supply through a passive adaptor and expect it to become 5 V. If a higher-voltage source must be used, a properly selected regulator is a separate required stage.

The official Raspberry Pi setup documentation lists model-dependent power requirements. It illustrates why “micro-USB powered” is not enough information to size a supply: the board model and attached equipment affect the required capability. The adaptor itself does not establish suitability for any particular Raspberry Pi.

Check the complete barrel connection

The store adaptor specifies a 5.5 × 2.1 mm socket. Both dimensions matter. A similar-looking 5.5 × 2.5 mm plug may not make a reliable centre contact, and the insertion length and surrounding moulding also affect engagement.

Confirm the barrel supply's polarity and the adaptor's mapping to the USB power contacts. The store's written description does not specify that mapping, so obtain it from the supplier or verify the actual accessory with power disconnected using a suitable breakout and continuity measurement. Do not guess from the appearance of the socket.

USB power has a defined positive supply and ground connection. Reversing them is not a valid alternative arrangement. A continuity test identifies connections; it does not prove the adaptor's current capability, insulation performance or ability to survive a fault.

Voltage conversion and connector conversion are separate jobs

What a passive connector adaptor does and does not establish
Requirement What must provide it
Correct output voltage The regulated source or a separate suitable converter.
Correct polarity Verified source wiring and adaptor contact mapping.
Adequate current The entire supply, cable, connector and adaptor path.
Charging identification A documented charging-port implementation, where the device requires it.
USB data A real host connection and the necessary data conductors.

If a DC-to-DC converter is part of the system, set and verify its output before connecting the USB device. Check behaviour under load and at startup, not only the unloaded adjustment. A module's headline input range does not establish its ripple, transient response or protection suitability for every connected product.

Understand why a phone may charge slowly or not at all

Some USB devices examine the data contacts to determine what kind of charging source is connected. A nominal 5 V supply on the power contacts may therefore be insufficient to advertise the current capability the device expects.

Texas Instruments' USB D+/D− input-current detection application note explains several identification methods. The USB-IF's battery-charging compliance information also distinguishes dedicated charging ports from ordinary data-port operation. These references explain the limitation; they do not establish the internal wiring of this adaptor.

Do not add arbitrary shorts or resistors to a cable in an attempt to force faster charging. Use a documented charger or power interface supported by the device. A passive barrel connection also provides no computer connection for file transfer, serial programming or USB peripheral operation.

Budget the whole power path

The supply's current rating is only one limit. The barrel connection, adaptor contacts and any additional leads must also carry the load. Where an accessory's current rating is undocumented, obtain that information before using it for a demanding continuous load.

Resistance causes voltage drop and heating. In a hypothetical path with 0.2 Ω total resistance, a 1 A load loses 0.2 V and dissipates 0.2 W in the path. At 2 A, the drop becomes 0.4 V and the loss becomes 0.8 W. Those figures demonstrate the relationship; they are not measurements of the PMD Way adaptor.

A device may boot successfully at low demand and reset when a radio transmits, a display brightens or a peripheral starts. Measure voltage at the device using a suitable accessible test point, and compare it with the source under the same load. Avoid raising the source beyond the permitted input range to conceal a poor connection.

Commission the arrangement in stages

  1. Record the device's allowed input voltage and required current.
  2. Confirm the source rating, polarity and barrel dimensions.
  3. Establish the adaptor's contact mapping and current suitability.
  4. With the device disconnected, verify the low-voltage output using safe accessible contacts.
  5. Connect the device and observe startup and its highest-demand operating mode.
  6. Check for intermittent power while gently moving the external cable, without levering the socket.

A rigid adaptor can put a bending load on a small PCB-mounted micro-USB socket. Arrange cable support so the socket does not carry the weight of a heavy barrel lead. In an enclosure, leave access for removing the connector without pulling on the circuit board.

Label the finished lead clearly with its intended voltage and device. Browse the DC cable and accessory collection once the electrical requirements are settled. A useful adaptor should simplify a known-compatible connection, while keeping its voltage, polarity and operating limits unambiguous.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat