How to Power Your Arduino Mobile Robot

Disclosure: Some of the links in this post are affiliate links. This means that, at zero cost to you, Learn Robotics will earn an affiliate commission if you click through the link and finalize a purchase. Learn Robotics is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a way for websites to earn advertising revenues by advertising and linking to Amazon.com.

Table of Contents

We’ve all gone through it. We’ve built an awesome robot with all sorts of features, but now the time has come to detach it from our computers and run some tests. 

You think you’re all set, ready to go, but then you realize, wait… what about power?

If you’ve forgotten to add a battery pack into your robot design, and now you need to power your Arduino robot, you’ve come to the right place. I’ll show you my method of connecting a power pack to the Create Mobile Robot (Arduino-compatible) using a 7.4V Li-Ion rechargeable pack.

Things you’ll need to Power your Arduino Robot

  • 7.4V Battery Pack: The Create Robot runs off of two 3.7V (4000mAh) flashlight batteries
  • Red & Black 28 or 30 AWG Gauge Wire
  • Wire Cutters/Strippers
  • Solder & Soldering Iron
  • DC Barrel Plug (Male) with Screw Terminals
  • Small Phillips Head (+) Screwdriver
How to Power Your Arduino Mobile Robot
DC Barrel Plug splits the power connection between the Arduino and the Motor Controller from the Power Pack.

Step 1 – Cut two pieces of Wire

Cut a piece of red and black wire. You’ll need enough wire so that you can route the connection between your motor controller and the Arduino’s Barrel Plug.

Step 2 – Connect Wire Leads with Solder

https://youtu.be/WFb2bRRH_ko

Twist the ends of the wire you cut in Step 1 to the wire leads from the Battery Pack. Connect Red to Red (+ to +) and Black to Black (- to -). 

Then Solder the twisted ends together using your Soldering Iron. The other end of the wire you cut from Step 1 will be connected to the input power rail on the motor controller. Use the datasheet for your motor controller to determine which pins these connections are. For the L298N we will use the power pin that accepts 12V in since the voltage is greater than 5V.

Step 3 – Attach Wire Leads to the Barrel Plug

https://youtu.be/zbGwH6fJec0

Push the soldered ends into the DC Barrel Plug. Make sure that you connect the red (positive) wires into the positive (+) terminal of the plug and the black (negative) wires into the negative (-) terminal of the plug. Tighten with a screwdriver to ensure the connection is snug.

POLARITY MATTERS – READ THIS!

Double & triple check that your cables are connected to the correct terminal before moving on to the next step. If you plug your wires in backwards, you could short, damage, or smoke out your robot.

We never want to release black magic smoke. Keep the Genie in. Double check your work.

Step 4 – Test Connection

https://youtu.be/trv3zVq_ia8

Once you’re certain the battery pack & motor wires are connected to the DC barrel plug correctly and the solder joints are secured in the screw terminals, you can connect it to the Arduino female barrel plug.

Power on your battery pack by flipping on the switch. If everything is connected properly, the power indicators on the Arduino and Motor Controller should be on.

And that’s it. Hope this tutorial helps you in your mobile robot endeavors. If you have an Arduino project that requires a Motor Controller and battery power, you can use these steps to provide power on-the-go.

Related Articles

2 Responses

  1. Hi, I just purchase a tank chassis it has a load capacity of 22lbs, motor are 12v load current 0.68A max. I need a diagram for this. I never done anything like this before. I’m building this for my business as a inspection tool.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Invest in Your Future Tech Career & Get Matched with an Expert Robotics Mentor

Connect with your Advisor and select the right Learn Robotics Program to boost your Tech Career

Wait,

Learn Robotics Online
— Get 2 months free!

Exclusive Limited Offer for Serious Beginners Ready to take their Hobby to Engineering Internships, $100k+ Careers, and Beyond!

Enroll now, and earn your first robotics certificate in the next 7 days.

👇 Click below to claim this deal.