This post may contain affiliate links. See the Affiliate Disclosure for more information.
Use of information on this site is at your own risk. View the Terms of Service.

AD: This post was reviewed by Grammarly, the Best Automated Proofreader.

Welcome everyone to this week’s article on the Learn Robotics blog!

I’m going to be starting something completely new called the “Beginner Bots” tutorial series. In this series, I’m going to show you how to create an Arduino-based mobile robot start to finish. These weekly lessons are designed to walk you through the steps to creating a functional mobile robot, so if you’ve ever wanted to build a robot from scratch, then this tutorial series is for you!

We also have a dedicated Robotics eCourse that goes BEYOND these posts and gives you lessons in a digestible format. If you’re the kind of person who likes to be organized while learning, then the eCourse will be your best bet.

You’ll also gain access to additional robotics projects, quizzes, and a Course Certificate. Learn more about our Robotics eCourse here. Perfect way to showcase your skills on a Resume or College Application! Now, without further hesitation, let’s jump into Part 1!

How to Build a Mobile Robot using Arduino

Each week I will provide you with the objectives (goals of the lesson) and any materials you will need to complete the project.

I absolutely LOVE seeing what you guys are working on, so please don’t forget to tag me (@learnrobotics) on Instagram and Facebook with any progress you’ve made!

Part 1 – Goals & Objectives

  • Purchase materials to complete the Beginner Robotics Series
  • Review each component of the mobile robot (part identification & purpose)
  • Configure our computers with the correct software while our parts are on order.
  • Time Duration: Approximately 1 hour

Part 1 – Materials for this Lesson
robotics ecourse Learn Robotics
  • Facebook
  • Twitter
  • Pinterest

This tutorial series is based on the Elegoo Arduino Smart Robot Car kit. You can purchase the kit on Amazon for about $70. I recommend this kit because it provides a lot of value for the money and the components can be utilized in a number of robotic projects.

While you can follow along without purchasing the kit, it’s always more beneficial to be hands-on with a robot and try out the lessons for yourself. With that said, if you’re on a tight budget, I will be reviewing the components of the kit, below, so you can choose to purchase them separately.

 

Additional Materials

Earn a Completion Certificate!

 

Join the Robotics eCourse and earn a Course Completion Certificate. It’s a great way to showcase your robotics projects and test your knowledge. Sign up here!

 

What is a Robot?

We’re building a mobile robot. But first, what’s a robot? A simple definition: a robot is an automated device that uses sensors and algorithms (software) to respond to and make decisions about its environment.

Think Software meets Mechanics meets Electronics.

How to Build a Mobile Robot Using Arduino
  • Facebook
  • Twitter
  • Pinterest

There are 3 main components of our mobile robot:

  1. Control System: how our robot processes information. In most cases, the brain is also called a microcontroller. We’re using the Arduino Uno R3.
  2. Drive Train: how our robot moves. It includes a four-wheel, 4-wheel-drive (4WD) system.
  3. Sensor System: how our robot detects its environment. We will be starting off with Infrared (IR) and Ultrasonic sensors in the upcoming lessons. You can see an IR sensor attached to my robot now.

I’ve created a more detailed map of each component of the Elegoo kit, below.

The Parts of Our Robot

There are quite a few components necessary in order to build a mobile robot. As you can see from the list below, there are a lot of parts, which can be pricey when purchased separately. This is one of the reasons why I recommend picking up a kit.

However, as mentioned earlier, if you already have spare parts, or are on a budget, these are the things you will need to have in order to follow along with this series.


Check out the parts we’re using below:

After you gather and/or order the parts you need, you can continue on with configuring your computer with the programming software.

Get the Software Configured

You have two options when it comes to programming. You can program offline in an IDE (Integrated Development Environment) or you can use the online IDE on the Arduino website.

  1. Download a copy of the Arduino IDE. This is a great option if you’re not always connected to the internet, or do not want to worry about having internet to work on your robot.
  2. Create an account on arduino.cc for access to the online Arduino IDE. An internet connection is required for this option.

If you’ve chosen to download the software, once it’s finished downloading, follow the on-screen prompts to complete installation.

Subscribe to YouTube

When you’re finished, launch the Arduino program and open a blank sketch. You’ll see a screen that looks like this:

How to Build a Mobile Robot Using Arduino
  • Facebook
  • Twitter
  • Pinterest

All of your code for the robot will live inside of a sketch or a program. We’ll go in more detail with sketches after we assemble our robot in subsequent articles. But for now, all you need to know is that there are two required Methods in order for the program to compile.

  1. setup(): configures your pins as Inputs or Outputs
  2. loop(): code in this method is executed and runs forever.
    Similar to the “main” method in classic C-programming.

In English: you need these two functions (setup and loop) or you’ll get an error. AKA, it won’t work. Therefore, you must include these, even if they’re empty.

In the next lesson, we’ll take a look at robot assembly, wiring, and sensors. Be sure to order your robot, and head over to How to Build a Robot – Part 2.

Go beyond this Article with our eCourse

Enroll in our eCourse and build additional mobile robot projects, gain access to our quizzes, 1:1 office hours, and a Course Certificate. Click here to sign up!

Find value in this article? Tip the Author!

global robotics competition online

Get Notified of the Next Competition

 

Be the first to know when we launch our next online robotics competition. Plus gain FREE robotics tips to your inbox.

You have Successfully Subscribed!

liz miller learn robotics



GIVE ME 1 WEEK IN YOUR INBOX

Gain Access to FREE robotics projects.

You have Successfully Subscribed!

Arduino eBook Free Download

GET YOUR FREE PROJECT

Enter your email below!

Get ready to build with Arduino! Check your email for the download!

Black Friday Sale Learn Robotics

Get Notified when our Black Friday Sale Drops!

Plus, Get 20% off Your First Order.

Check your email for Black Friday Specials!

Pin It on Pinterest