
Most "broken" Arduino projects are under-powered projects. Between the input voltage window, the onboard regulator's thermal limit and the current a project actually peaks at, supply design deserves the same care as the code.
At a glance: 8 minute guide · part 10 of 10 in the complete Arduino guide track · includes a worked example and a quick-reference table.
Input options and limits
USB delivers a regulated 5 V. The barrel Vin accepts 7-12 V (16 V absolute), feeding an onboard linear regulator that turns the difference into heat 12 V into a 200 mA project dissipates 1.4 W in a small regulator. The 5 V pin accepts regulated 5 V directly, bypassing it.
| S | o | u | r | c | e | |||
|---|---|---|---|---|---|---|---|---|
| V | o | l | t | a | g | e | ||
| G | o | o | d | f | o | r | ||
| W | a | t | c | h | o | u | t | |
| USB power bank | 5 V | Logic-only projects | Sleep-mode auto-off | |||||
| 2S LiPo + buck | 5 V / 3.3 V | Robots, portable | Brownouts on motor stall | |||||
| 9 V PP3 | 9 V | Almost nothing | Tiny capacity, weak peaks | |||||
| Wall adapter 9 V DC | 9 V | Desk projects | Unregulated cheaps ones sag | |||||
| Bench supply | Set | Development | Current limit is your friend |
Budgeting current
Sum the loads. Board ~50 mA, LEDs 10-20 mA each, servo peaks 1 A, radios 100-500 mA bursts. Design the supply for the peaks, not averages. Measure the real draw with a USB meter two minutes that prevents a week of debugging resets.
Battery strategies
A 2S LiPo through a 5 V buck regulator is the standard for portable builds. 9 V PP3 batteries are a trap: ~500 mAh and poor discharge for motors. Compute runtime as capacity × 0.8 ÷ average current, and budget the radio's transmit bursts with local bulk capacitance.
How to apply this in your build
Work through the sequence below each step assumes the previous one passed. For numbers that need calculating, the linked tools at the end of this guide do the arithmetic instantly.
- List every load and its peak current
- Choose a supply rated 30 % above the sum of peaks
- Regulate locally where noise matters (radios, ADC)
- Add bulk capacitance near burst loads
Worked example
A GPS logger drawing 80 mA average from a 2500 mAh power bank: 2500 × 0.8 ÷ 80 ≈ 25 hours but the bank's auto-shutoff may cut it sooner than the maths says. Run the numbers yourself with the Battery Life Calculator and the result should agree to within rounding.
Practical note from the bench. Every Procirel portable build carries the same sheet: peak current table, measured runtime, and the supply rails each block owns.
Common mistakes to avoid
- Powering motors and servos from the onboard regulator
- Believing a 9 V PP3 can drive wheels
- Ignoring radio transmit bursts until brownouts appear
Key takeaways
- Input options and limits the foundation of this guide; revisit it if any measurement here surprises you.
- Budgeting current the foundation of this guide; revisit it if any measurement here surprises you.
- Battery strategies the foundation of this guide; revisit it if any measurement here surprises you.
Prerequisites and preparation
Before starting: list every load and its peak current and choose a supply rated 30 % above the sum of peaks. Keep the Battery Life Calculator and LM317 Regulator open every number in the worked example is reproducible. Total time including the bench steps: about 6-8 minutes.
Who benefits most
Hobbyists meeting this topic for the first time, students who want the version with real numbers instead of abstract symbols. Returning engineers refreshing a corner of the craft. The mistake list alone justifies the visit every entry in it was learned the expensive way.
Quick reference card
| Aspect | Where to find it in this guide |
|---|---|
| Core theory | Input options and limits |
| Application steps | How to apply this in your build |
| Worked numbers | Worked example |
| Failure modes | Common mistakes to avoid |
How this fits the complete Arduino guide track
This guide is one stop in the structured learning path. Start from the complete Arduino guide complete guide for the full map, or continue with servo power requirements and buck converter basics. For the arithmetic, open the Battery Life Calculator or LM317 Regulator.
Frequently asked questions
Can I feed 5 V into the 5 V pin? Yes, if the source is a clean regulated 5 V this bypasses the onboard regulator and is the normal route for USB-powered builds.
Why does my project reset when the motor starts? The motor's inrush sags the shared rail below the brownout threshold separate rails or bulk capacitance fix it.
Is there a calculator for this? Yes the Battery Life Calculator and LM317 Regulator tools run the formulas from this guide instantly, client-side, with no signup.
What to read after this
- The complete arduino & microcontrollers guide: Arduino & Microcontrollers complete guide
- Read next: what is an embedded system? microcontrollers in everything
- Also in this track: esp32 vs stm32: choosing your next microcontroller
- Continue with: arduino ide 2 setup: from download to first upload
- Calculate as you go: LED series resistor finder · battery runtime estimator · 555 frequency calculator
- From here, the natural continuation is the next guide in the track index. It assumes exactly the vocabulary this page built and adds the next layer of practice.
Field notes
The fastest way to internalise this topic is to change one variable deliberately and predict the result before measuring. Wrong predictions are the curriculum, they show exactly which mental model needs revisiting, and the bench grades honestly.
Component substitution is a legitimate experiment as long as it is deliberate. Swap one part, predict the effect, measure, and record. That single habit converts a parts bin into a teaching lab and makes every future guide in this track faster to absorb.
Formulas and checks from this guide
Verification checklist for this track. Check pin assignments against the sketch header before wiring, confirm supply polarity twice. Serial-print one variable at a time when debugging. Keep each sketch’s pin map in a comment block so the next build inherits working documentation.
Bookmark this page against your next build in the track. The checklist above is the same one used across 15 guides in this series.
Field lessons worth keeping
Anything with motors, servos or many LEDs needs external supply with common ground. USB is for logic only.
Uninitialised variables and pins left floating. Set every pinMode and initial state in setup.
Extended Application Notes
This section expands the practical application of powering arduino projects: usb, battery and supply design beyond the worked example, into the situations builders actually meet. Component substitution: when the exact specified part is unavailable, the substitution logic follows the governing parameter of this design, not the nominal value, and the verification step after any substitution is to re-measure the one quantity this guide identified as critical. Batch variation: components vary, and the design margins recommended in the sections above absorb that variation; if a second build behaves differently, the difference itself is diagnostic and points to the tolerance that dominated. Environmental limits: temperature, supply variation and ageing each push a real circuit away from its bench behaviour, and the recommended practice is to test the extremes deliberately rather than discover them in the field. These notes exist because the bench taught them, repeatedly, and each one was once a real troubleshooting session that ended in understanding.
Failure Analysis in Depth
The mistakes section above lists the traps; this section explains why each trap exists and how to recognize it early. Powering motors and servos from the onboard regulator Believing a 9 V PP3 can drive wheels Ignoring radio transmit bursts until brownouts appear. Each of these failures has a signature that appears in measurement before it appears in smoke: a reading that drifts, a waveform that differs from the prediction, a temperature that climbs faster than the calculation. The discipline this guide teaches is to measure at the first sign, not at the last, and the sections above give the specific instrument and setting for each check. Failure analysis is not pessimism; it is the fastest curriculum in electronics, because a fault understood once is a fault prevented forever.
Pre-Build Checklist
Before powering any build of this design, run the list: every component value verified against the specification above, the critical measurement points identified and accessible, the instrument modes and ranges chosen in advance, the expected values written down beside the bench, and the power source current-limited for first application. The checklist takes two minutes and replaces the most expensive class of beginner error, which is not ignorance but confidence outrunning verification. Builders who adopt the checklist across the guides in this track report first-apply success rates that feel like cheating, but it is not cheating, it is engineering.
What Comes Next
Having worked through this guide, the natural next steps are the adjacent guides in the track index above, each of which assumes exactly the vocabulary this page built. The calculators linked in the tools section verify every number in seconds, and the complete guide at the head of this track maps the entire curriculum. Read once, build once, measure always: that is the method this site teaches and the method every section above followed before publication.
Theory in Practice, Extended
The theory section of powering arduino projects: usb, battery and supply design deserves one more pass with the bench in mind, because knowing a relationship and applying it under constraint are different skills. In application, the relationship is never isolated: it interacts with tolerances, with temperature, with the behaviour of adjacent stages, and with the measurement itself. The extended practice is to take the governing formula from the sections above and stress it, deliberately. Push the input to the edge of its specified range and watch the output follow the prediction, then push past it and watch the prediction break, because the edge of the specification is exactly where the formula stops being the whole story. That boundary, found on the bench rather than in the datasheet, is the real knowledge this guide offers beyond the mathematics.
Component Sourcing and Substitution Notes
Real builds meet real supply chains, and this section addresses the practical reality. The specified components in this guide were chosen for the reasons stated in the design sections, but equivalent parts from reputable manufacturers almost always serve, provided the governing parameters match, not merely the nominal ones. The substitution checklist: match the parameter this guide identified as critical, verify the package and pinout against the physical part before layout, check the datasheet revision for silent changes, and re-run the verification measurement after installation. Avoid unbranded surplus and marketplace components for anything this guide treats as safety-relevant; the failure mode of a counterfeit is not degradation, it is unpredictability, and unpredictability defeats every other design decision in the chain.
Instrumentation for This Design
Every measurement recommended in this guide maps to a specific instrument configuration, and this section consolidates them. Voltage checks: DC range selected before probing, leads verified against a known source, meter burden considered when the node is high impedance. Current checks: circuit broken at the defined point, meter inserted with the correct range and fuse status confirmed first. Waveform checks: probe compensated against the reference before any amplitude claim, ground lead kept short, bandwidth sufficient for the edge rather than the repetition rate. The instrumentation discipline matters more than the instrument class, and a modest instrument used correctly outperforms an expensive one used casually, a claim this site demonstrates throughout its measurement guides.
Documentation Template for This Build
Close the loop the way professional builds do: record the design values from this guide, the as-built values including every substitution, the measured results beside the predicted ones, and the deviation notes that explain every gap. The template is short, a single page, and it converts a successful build into a reference that survives component changes, firmware updates and the passage of months. Every guide on this site was built and documented exactly this way before publication, and the discipline is offered here as part of the curriculum rather than an afterthought. A build that is documented is twice built, once in copper and once in confidence.
Last updated 23 August 2026
