{"id":52321,"date":"2026-11-01T10:50:57","date_gmt":"2026-11-01T10:50:57","guid":{"rendered":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/"},"modified":"2026-11-01T10:50:57","modified_gmt":"2026-11-01T10:50:57","slug":"powering-your-project","status":"publish","type":"siratek_tutorial","link":"https:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/","title":{"rendered":"Powering Your Project"},"content":{"rendered":"<body><p><\/p>\n<h2>What this covers<\/h2>\n<p>Everything works on the bench with a USB cable. Then you add a servo, or unplug the laptop, and it stops. This covers the ways to power an Uno, how much current you actually have, and the three mistakes that destroy boards.<\/p>\n<h2>Before you begin<\/h2>\n<p>Nothing to wire. This is the page to read before you build something that has to run on its own.<\/p>\n<h2>The four ways in<\/h2>\n<table>\n<thead>\n<tr>\n<th>Route<\/th>\n<th>Accepts<\/th>\n<th>Current available<\/th>\n<th>Use it for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>USB socket<\/td>\n<td>5 V from the port<\/td>\n<td>Commonly limited to about 500 mA<\/td>\n<td>Development, small circuits<\/td>\n<\/tr>\n<tr>\n<td>Barrel jack<\/td>\n<td>7 to 12 V DC, centre positive<\/td>\n<td>Depends on the supply, limited by heat<\/td>\n<td>Standalone projects<\/td>\n<\/tr>\n<tr>\n<td><code>VIN<\/code> pin<\/td>\n<td>Same as the barrel jack<\/td>\n<td>Same<\/td>\n<td>A supply wired in rather than plugged in<\/td>\n<\/tr>\n<tr>\n<td><code>5V<\/code> pin<\/td>\n<td>A regulated 5 V supply, <strong>in<\/strong><\/td>\n<td>Whatever the supply gives<\/td>\n<td>Bypassing the onboard regulator deliberately<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The first three all end up at the same regulator. The fourth skips it, which is useful and dangerous in equal measure.<\/p>\n<figure class=\"siratek-tutorial-figure\"><img decoding=\"async\" src=\"http:\/\/siratek.net\/wp-content\/uploads\/2026\/11\/powering-your-project-routes-and-budget.svg\" alt=\"The USB socket, barrel jack and VIN pin all reaching the regulator, the 5V pin bypassing it, and a current budget bar\" loading=\"lazy\"><figcaption>Three routes go through the regulator. The 5V pin goes straight to the chip.<\/figcaption><\/figure>\n<h2>The barrel jack range, and why<\/h2>\n<p><strong>7 to 12 V DC, centre positive.<\/strong> Both ends of that range matter.<\/p>\n<p>Below about 7 V the onboard regulator cannot maintain a steady 5 V, and the board browns out: resets, odd behaviour, sensors reading nonsense. A 6 V battery pack looks reasonable and is not.<\/p>\n<p>Above 12 V the regulator still works, but it gets rid of the surplus as heat. At 12 V it is already warm; at 15 V it gets hot enough to shut down intermittently, which produces a fault that comes and goes with temperature and is thoroughly unpleasant to diagnose.<\/p>\n<p>9 V is the comfortable middle, which is why so many supplies are 9 V.<\/p>\n<h2>The three mistakes that destroy boards<\/h2>\n<p><strong>Feeding voltage into the <code>5V<\/code> pin from an unregulated supply.<\/strong> That pin goes straight to the chip with nothing in between. 7 V there destroys the board instantly. Only ever connect a <em>regulated<\/em> 5 V to it, and only when you mean to bypass the onboard regulator.<\/p>\n<p><strong>Getting the barrel jack polarity wrong.<\/strong> Arduino expects centre positive. Many cheap supplies are centre negative and say so only in small print on the label. Check before plugging in.<\/p>\n<p><strong>Powering a motor or servo from the <code>5V<\/code> pin.<\/strong> This is the common one, because it usually half-works. A servo\u2019s stall current can be several hundred milliamps, far more than the regulator can supply, and the voltage dips. The board resets mid-movement, which looks like a software fault. Motors need their own supply, with the grounds joined.<\/p>\n<h2>How much current you actually have<\/h2>\n<p>The limit is rarely the Arduino itself.<\/p>\n<ul>\n<li>An Uno doing nothing draws roughly 50 mA.<\/li>\n<li>A USB port commonly supplies about 500 mA, so you have around 450 mA for everything else.<\/li>\n<li>The onboard regulator can give more in principle, but is limited by how much heat it can shed. At 12 V in, it has little headroom before it gets too hot.<\/li>\n<li>The <code>3.3V<\/code> pin supplies about <strong>50 mA<\/strong> in total, which is far less than people expect. An ESP32 module cannot run from it.<\/li>\n<\/ul>\n<p>Add up what your project draws before building it. Three LEDs at 15 mA, a sensor at 10 mA and a display at 20 mA is about 75 mA, which is comfortable. Add one servo and you have left the budget behind entirely.<\/p>\n<h2>Powering motors and servos properly<\/h2>\n<p>The pattern is always the same.<\/p>\n<ol>\n<li>Give the motor its own supply, matched to its voltage.<\/li>\n<li><strong>Join the grounds.<\/strong> The motor supply\u2019s ground and the Arduino\u2019s <code>GND<\/code> must be connected, or the control signal has no shared reference and nothing works reliably.<\/li>\n<li>Never run motor current through the Arduino. The board sends a control signal to a driver module or transistor, and the driver passes the real current from the separate supply.<\/li>\n<\/ol>\n<p>Forgetting step two is the single most common cause of \u201cthe motor twitches randomly\u201d.<\/p>\n<h2>Batteries<\/h2>\n<ul>\n<li><strong>A 9 V block<\/strong> into the barrel jack is the classic choice and the worst one. Its capacity is tiny, a few hundred milliamp-hours, and much of its energy is burnt as heat by the regulator. It will run an Uno for a couple of hours at best.<\/li>\n<li><strong>Four or six AA cells<\/strong> give 6 V or 9 V with far more capacity. Six is the better choice, because 6 V is below what the regulator needs.<\/li>\n<li><strong>A USB power bank<\/strong> into the USB socket is often the most practical answer: regulated 5 V, large capacity, rechargeable. Note that some banks switch themselves off when the current drawn is very low, which an idle Arduino manages to trigger.<\/li>\n<li><strong>Lithium cells<\/strong> need a protection circuit and a proper charger. They are not a beginner\u2019s first battery, and a damaged one is genuinely dangerous.<\/li>\n<\/ul>\n<h2>What to do when things reset<\/h2>\n<p>An unexplained reset is almost always power. In order of likelihood: something drawing more current than the supply can give, usually a motor; a supply voltage too low; a loose connection; or a short.<\/p>\n<p>Add a check to your sketch. Printing a line from <code>setup()<\/code> makes a reset obvious, because the message reappears every time the board restarts.<\/p>\n<pre><code>void setup() {\n  Serial.begin(9600);\n  Serial.println(\"Siratek: board started\");\n}<\/code><\/pre>\n<p>If that line appears while the project is running, it is restarting. Look at the power, not the code.<\/p>\n<h2>Check yourself<\/h2>\n<ol>\n<li>You have a regulated 5 V supply. Which pin can it go to, and which must it not?<\/li>\n<li>A 6 V battery pack into the barrel jack. What happens?<\/li>\n<li>A servo on the <code>5V<\/code> pin makes the board reset. Why?<\/li>\n<li>You join a motor driver\u2019s supply but not its ground. What goes wrong?<\/li>\n<\/ol>\n<p>Answers in order: the <code>5V<\/code> pin, deliberately bypassing the regulator; never <code>VIN<\/code> or the barrel jack, which expect 7 V or more. The board browns out, because the regulator cannot hold 5 V from 6 V in. The servo draws more than the regulator can supply, the voltage dips and the chip resets. The control signal has no shared reference, so the driver sees nonsense and the motor behaves unpredictably.<\/p>\n<h2>Troubleshooting<\/h2>\n<table>\n<thead>\n<tr>\n<th>Symptom<\/th>\n<th>Likely cause<\/th>\n<th>Check or fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Resets when a motor moves<\/td>\n<td>Current beyond the supply<\/td>\n<td>Separate supply for the motor, grounds joined<\/td>\n<\/tr>\n<tr>\n<td>Works on USB, not on battery<\/td>\n<td>Battery voltage too low<\/td>\n<td>7 V minimum at the barrel jack<\/td>\n<\/tr>\n<tr>\n<td>Regulator too hot to touch<\/td>\n<td>Input voltage too high<\/td>\n<td>Use 9 V rather than 12 V or more<\/td>\n<\/tr>\n<tr>\n<td>Board dead after connecting power<\/td>\n<td>Unregulated supply into <code>5V<\/code>, or reversed polarity<\/td>\n<td>Check before powering; the board may be lost<\/td>\n<\/tr>\n<tr>\n<td>ESP32 module unstable on <code>3.3V<\/code><\/td>\n<td>That pin gives about 50 mA<\/td>\n<td>Power it separately<\/td>\n<\/tr>\n<tr>\n<td>Random resets, no motor<\/td>\n<td>Loose supply connection<\/td>\n<td>Check the jack and the wiring<\/td>\n<\/tr>\n<tr>\n<td>Dim LEDs and odd readings<\/td>\n<td>Supply sagging<\/td>\n<td>Measure <code>5V<\/code> against <code>GND<\/code> under load<\/td>\n<\/tr>\n<tr>\n<td>Power bank switches off<\/td>\n<td>Current draw too low to hold it awake<\/td>\n<td>Use one without that behaviour<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Next steps<\/h2>\n<ul>\n<li><strong>Easier first:<\/strong> <em>Voltage, Current and Resistance<\/em>.<\/li>\n<li><strong>Related product:<\/strong> a digital multimeter, for measuring the supply under load.<\/li>\n<li><strong>Later:<\/strong> the relay and motor driver tutorials, which are this page applied to real loads.<\/li>\n<\/ul>\n<h2>Sources and attribution<\/h2>\n<p>All text in this tutorial is original Siratek work.<\/p>\n<ul>\n<li>Arduino Uno R3 documentation for the input voltage range, the regulator and the <code>3.3V<\/code> pin limit.<\/li>\n<\/ul>\n<p>Current figures for USB ports, batteries and the onboard regulator are given as typical values and vary with the supply and with temperature. No third-party tutorial text, diagrams, photographs or code has been reproduced here.<\/p>\n<p><\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Everything works on the bench with a USB cable. Then you add a servo, or unplug the laptop, and it stops. This covers the ways to power an Uno, how much current you actually have, and the three mistakes that&#8230;<\/p>\n","protected":false},"featured_media":0,"template":"","siratek_tutorial_level":[],"class_list":["post-52321","siratek_tutorial","type-siratek_tutorial","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Powering Your Project - siratek<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Powering Your Project - siratek\" \/>\n<meta property=\"og:description\" content=\"Everything works on the bench with a USB cable. Then you add a servo, or unplug the laptop, and it stops. This covers the ways to power an Uno, how much current you actually have, and the three mistakes that...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/\" \/>\n<meta property=\"og:site_name\" content=\"siratek\" \/>\n<meta property=\"og:image\" content=\"http:\/\/siratek.net\/wp-content\/uploads\/2026\/11\/powering-your-project-routes-and-budget.svg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/\",\"url\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/\",\"name\":\"Powering Your Project - siratek\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/siratek.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/siratek.net\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/powering-your-project-routes-and-budget.svg\",\"datePublished\":\"2026-11-01T10:50:57+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/#primaryimage\",\"url\":\"https:\\\/\\\/siratek.net\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/powering-your-project-routes-and-budget.svg\",\"contentUrl\":\"https:\\\/\\\/siratek.net\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/powering-your-project-routes-and-budget.svg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/powering-your-project\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/siratek.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/siratek.net\\\/index.php\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Powering Your Project\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/siratek.net\\\/#website\",\"url\":\"https:\\\/\\\/siratek.net\\\/\",\"name\":\"siratek\",\"description\":\"Your Best Electronic Retail Shop\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/siratek.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Powering Your Project - siratek","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/","og_locale":"en_US","og_type":"article","og_title":"Powering Your Project - siratek","og_description":"Everything works on the bench with a USB cable. Then you add a servo, or unplug the laptop, and it stops. This covers the ways to power an Uno, how much current you actually have, and the three mistakes that...","og_url":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/","og_site_name":"siratek","og_image":[{"url":"http:\/\/siratek.net\/wp-content\/uploads\/2026\/11\/powering-your-project-routes-and-budget.svg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/","url":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/","name":"Powering Your Project - siratek","isPartOf":{"@id":"https:\/\/siratek.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/#primaryimage"},"image":{"@id":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/#primaryimage"},"thumbnailUrl":"http:\/\/siratek.net\/wp-content\/uploads\/2026\/11\/powering-your-project-routes-and-budget.svg","datePublished":"2026-11-01T10:50:57+00:00","breadcrumb":{"@id":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/#primaryimage","url":"https:\/\/siratek.net\/wp-content\/uploads\/2026\/11\/powering-your-project-routes-and-budget.svg","contentUrl":"https:\/\/siratek.net\/wp-content\/uploads\/2026\/11\/powering-your-project-routes-and-budget.svg"},{"@type":"BreadcrumbList","@id":"http:\/\/siratek.net\/index.php\/tutorials\/powering-your-project\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/siratek.net\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/siratek.net\/index.php\/tutorials\/"},{"@type":"ListItem","position":3,"name":"Powering Your Project"}]},{"@type":"WebSite","@id":"https:\/\/siratek.net\/#website","url":"https:\/\/siratek.net\/","name":"siratek","description":"Your Best Electronic Retail Shop","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/siratek.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/siratek.net\/index.php\/wp-json\/wp\/v2\/siratek_tutorial\/52321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/siratek.net\/index.php\/wp-json\/wp\/v2\/siratek_tutorial"}],"about":[{"href":"https:\/\/siratek.net\/index.php\/wp-json\/wp\/v2\/types\/siratek_tutorial"}],"version-history":[{"count":0,"href":"https:\/\/siratek.net\/index.php\/wp-json\/wp\/v2\/siratek_tutorial\/52321\/revisions"}],"wp:attachment":[{"href":"https:\/\/siratek.net\/index.php\/wp-json\/wp\/v2\/media?parent=52321"}],"wp:term":[{"taxonomy":"siratek_tutorial_level","embeddable":true,"href":"https:\/\/siratek.net\/index.php\/wp-json\/wp\/v2\/siratek_tutorial_level?post=52321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}