All articles

    How to Choose a Power Supply or Adapter for Your Project

    How to read an adapter's label (voltage, current and polarity), why the voltage must match and the current must be equal or greater, calculating your project's consumption with an example, plug sizes, regulated, unregulated and switching supplies, LED strip supplies, two voltages from one source, USB and fast charging, load-testing an adapter, and safety tips.

    Updated 6 min read

    The wrong power supply can destroy your project in a second, or make it behave strangely: random resets, a flickering display, or a weak motor. The good news is that choosing correctly means looking at just 3 things printed on any adapter.

    Read the voltage, current and polarity, and match them to what the device needs
    Read the voltage, current and polarity, and match them to what the device needs

    1. Voltage: it must match

    If the device says 12V, get a 12V adapter. A higher voltage can destroy the circuit, and a lower one can stop it working or make it misbehave.

    The exception: if the circuit has a regulator (such as a 7805 or LDO), the input can be within a certain range. That range is in the datasheet, not a guess. The Arduino Uno, for example, is comfortable on the Vin pin or barrel jack from 7 to 12 V; details are in the powering the Arduino article.

    And note the output must be DC (the ⎓ symbol), not AC (the ~ symbol). Some older adapters output AC; the difference is in the AC and DC article.

    2. Current: equal or greater

    This is what confuses people most. An adapter rated 2A means it can supply up to 2 A, not that it will push 2 A into the device. The device draws only what it needs, like a household tap that can deliver a lot while you take only what you need.

    • The device draws 1.2 A and the adapter is 2 A → fine, and the adapter will run cooler too.
    • The device draws 3 A and the adapter is 2 A → the adapter overheats, the voltage sags, and it may fail.

    The rule: choose an adapter rated about 20–50% above the device's consumption as a margin. If you don't know the consumption, a multimeter will tell you.

    Calculating your project's consumption

    Add up the maximum current of everything on the same voltage. An example project on 5 V:

    PartApprox. maximum current
    Arduino Uno50 mA
    ESP32 with Wi-Fi active250 mA (higher peaks)
    Small SG90 servo while moving300–500 mA
    Small OLED display20 mA
    30 WS2812 LEDs at full whiteabout 1.8 A

    The total is about 2.9 A, so a 4 A 5 V adapter is comfortable. If you skipped the calculation, a 2 A adapter would work until the LEDs go white and the servo moves at the same time, and then everything resets. This calculation is Kirchhoff's current law, and the power consumption calculator and LED strip power calculator do it for you.

    3. Polarity

    On adapters with a round plug (barrel jack), there's a symbol showing which terminal is positive:

    • Centre positive (the most common): the inner pin is positive, and the outer sleeve negative.
    • Centre negative: the opposite, found on devices such as some guitar pedals.

    If the polarity is wrong and the device has no protection diode, it can be destroyed. The full methods are in the reverse polarity protection article.

    Plug size

    The most common is 5.5 × 2.1 mm (outer diameter × hole diameter). There's also 5.5 × 2.5, which looks almost identical: a 2.5 plug fits a 2.1 jack with force or not at all, and a 2.1 plug fits a 2.5 jack but sits loose with an intermittent contact. Measure before buying, or buy an adapter with a set of interchangeable tips.

    Types of power supply

    • Switching: light and efficient, which is most adapters today. Its output holds steady even with no load.
    • Traditional transformer (unregulated): heavy, and its no-load voltage is noticeably higher than its rating. See the transformer and the filter capacitor.
    • Bench power supply: you set the voltage and a current limit. Your best friend for experiments: if there's a short, the current won't exceed the limit you set.

    LED strip supplies and bigger projects

    The perforated metal box with screw terminals (such as 12 V 5 A or 5 V 10 A) is the best fit for projects with high current. It has a small trimmer to adjust the voltage slightly, terminals for 220 V and terminals for the output. Don't run it at its full rated current all the time: keep it around 80% of its rating so it lasts. Its 220 V terminals are exposed, so it must be enclosed. Read mains safety.

    Two voltages from one source

    A project with a 12 V motor and a 5 V Arduino? Don't use two adapters. Use a 12 V adapter to power the motor, and a buck module to derive 5 V for the electronics. The ground is shared, and the 12 V supply must cover both.

    USB as a source

    Ordinary USB is 5 V, with current from 0.5 A (an old computer port) up to 2–3 A (chargers). Fast chargers can output higher voltages (9, 12 V or more), but only after the device requests it. An ordinary device that doesn't request it gets 5 V. There are small modules called USB-PD triggers that request 9, 12 or 20 V from the charger, so you can run a 12 V project from a Type-C laptop charger.

    Bear in mind that the cable itself matters: a thin, long cable can drop half a volt at 2 A, so 5 V arrives as 4.5 V.

    Test the adapter before relying on it

    Cheap adapters are often labelled above their real capacity. Test it:

    1. Measure the voltage with no load.
    2. Connect a known load: say a power resistor, or a 12 V car bulb (21 W ≈ 1.75 A).
    3. Measure the voltage under load, and wait a quarter of an hour.

    If the voltage drops by more than about 5%, or the adapter gets very hot, its real capacity is below its rating. The load resistor is calculated from Ohm's law: for 12 V and 1 A you need 12 Ω rated at least 12 W.

    Safety

    • Don't use very cheap unknown adapters for devices that will run unattended.
    • Fit a fuse on the project's input if the current is high.
    • Start a new circuit on a bench supply with a low current limit before connecting a powerful adapter.
    • A common ground between every source in the project. The reason is in the ground article.

    FAQ

    Can I use a 12 V 10 A adapter for a device that draws half an amp? Yes, absolutely; the device will draw only half an amp. The only drawback is that if there's a short, the current will be large, so a fuse matters.

    The adapter says 9V and I measured 12; is it faulty? If it's an old, heavy transformer adapter, that's normal with no load and it will drop when you connect the device. If it's a light switching adapter, there's a problem.

    Circuits Nerd
    © 2026 Circuits Nerd. All rights reserved.