Arduino Obstacle Avoiding Robot: Step by Step
4.4 (19 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,678 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Arduino Obstacle Avoiding Robot: Step by Step to your Wishlist.

Add to Wishlist

Arduino Obstacle Avoiding Robot: Step by Step

Your step-by-step guide to building an Arduino obstacle avoiding robot using IR and ultrasonic sensors
4.4 (19 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,678 students enrolled
Created by Steven Radigan
Last updated 7/2017
English
Current price: $10 Original price: $100 Discount: 90% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3 hours on-demand video
  • 12 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Build a functioning Arduino based obstacle avoidance robot that detects obstacles via an ultrasonic or IR sensor
View Curriculum
Requirements
  • You will need to install the latest version of Arduino IDE
  • Purchase the materials listed in the Arduino OAR Materials List
  • Experiment with some example sketches to get a feel for the Arduino programming environment
Description

Have you always wanted to build a robot, but weren't sure how to get started? This course will take you step-by-step through the build process.  Each section of the course includes lessons, assembly videos, sketches and demos. You will be able to show off your new obstacle avoidance robot based on the Arduino Uno by the end of the course.  

Audience

This course is for anyone with an interest in Arduino and robotics.  Students will get to assemble, code and test a functioning obstacle avoiding robot.  It is recommended that you write some basic sketches using the Arduino Uno so you become familiar with the platform.

What you will learn:

  • How the Arduino Uno works
  • How bipolar junction transistors work
  • How an H-Bridge works
  • How the Arduino motor shield works
  • How DC motors are constructed and work
  • How DC motor speed control works
  • How servos work
  • How LEDs and photodiodes work
  • How infrared and ultrasonic sensors work
  • How the Sharp GP2Y0A21YK0F Distance Measuring Sensor works
  • How the Parallax PING Ultrasonic Distance Sensor works
  • Obstacle avoidance algorithms
  • How to assemble the robot components
  • How to write sketches to test the drive system, servo, and sensors

What am I going to get from this course?

  • You will understand how motor drive system components work
  • You will be able to build a mobile robot that implements DC motor speed control
  • You will understand how IR sensors work 
  • You will understand how ultrasonic sensors work
  • You will be able to write sketches to test a robot drive system and robot sensors
  • You will be able to write sketches to test obstacle avoidance using an IR or ultrasonic sensor
  • You will be able to modify the robot or build a more advanced one 


Who is the target audience?
  • This course is for anyone interest in learning about Arduino and robotics. No prior electronics or coding background is necessary but it is suggested that you experiment with some example Arduino sketches to become familiar with the Arduino Uno and software environment.
Compare to Other Arduino Courses
Curriculum For This Course
27 Lectures
02:50:41
+
Arduino Obstacle Avoidance Robot Overview
2 Lectures 11:04

We'll go over the features of the Arduino Uno R3.  The Uno is the brain for our robot and at the end of this lesson you will understand its major components.

Arduino Uno Overview
06:09
+
Drive System
11 Lectures 01:31:28

We'll go over how a diode works and describes some uses of diodes.  You will have a basic understanding of what a semiconductor is, and how a P-N junction is used to form a diode by the end of the lesson. This will enable you to understand how a BJT works.

How a Diode Works
05:06

We'll go over how a bipolar junction transistor (BJT) works. The Arduino motor shield uses a L298P dual full-bridge driver IC to drive the motors.  The H-Bridge circuit inside it is composed of BJTs.  You will have a basic understanding of how a BJT works and be ready to learn about the H-bridge circuit by the end of the lesson.

How a Bipolar Junction Transistor Works
04:39

We'll go over how an H-Bridge circuit that uses BJTs works.  You will understand how an H-Bridge circuit works and the purpose of a flyback diode by the end of the lesson.  This background will enable you to understand how the Arduino Motor Shield works.

H-Bridge Circuit
03:48

We'll go over how the Arduino motor shield works and the purpose of bypass capacitors.  You will understand how to implement direction and speed control using the motor shield by the end of the lesson.

Arduino Motor Shield
15:19

We'll go over the components of a DC motor.  You will be able to identify the components of a DC motor by the end of the lesson and will be ready to understand the operation of a DC motor.

DC Motor Construction
05:53

We'll go over some basic principles of magnetic fields and the principle of operation of a single loop permanent magnet DC motor.  You will understand how a DC motor implements commutation to keep the motor spinning in one direction and how torque is calculated by the end of the lesson.

DC Motor Operation
13:53

We'll go over how the Arduino Uno implements pulse width modulation (PWM).  You will be able to implement PWM using the analogWrite() function by the end of the lesson.

DC Motor Speed Control
03:34

We'll step through the build of the robot drive system.  The robot drive system will be ready to be programmed by the end of the lesson.

Drive System Build
17:20

We'll step through the drive system sketch and test the ability of the robot to move forward, reverse, left, and right.  You should be able to verify your own robot's performance by the end of the lesson.

Drive System Sketch & Experiment
08:23

We'll go over servo components and operation, servo control, types of servos, servo applications, and the Arduino Servo library functions.  You will be ready to write a sketch to test your robot's servo by the end of the lesson.

How Servos Work
09:11

We'll step through the servo sketch and test the ability of the robot's servo to pan left, center, then right.  You should be able to verify your own robot's performance by the end of the lesson.

Preview 04:22
+
Sensor System
9 Lectures 53:14

We'll go over the basics of how an LED and photodiode work.  The Sharp IR sensor uses an infrared LED and a modified type of photodiode to send and detect light respectively.  You will be ready to learn about infrared sensors by the end of the lesson.

LED & Photodiode Overview
06:24

We'll learn what wavelengths define the infrared region, two methods of using IR sensors, and about various IR sensor applications.  You will be prepared to learn about the Sharp GP2Y0A21YK0F Distance Measuring Sensor Unit by the end of the lesson.  

Infrared Sensor Introduction
03:13

We'll go over the components of the Sharp GP2Y0A21YK0F IR sensor, how a position sensing detector (PSD) works, how PSD triangulation works, and measuring considerations.  You will be ready to assemble your sensor by the end of the lesson

Preview 06:12

We'll walk through the assembly of the Sharp IR sensor onto the robot.  You will be ready to write a sketch to test the IR sensor performance by the end of the lesson.

Sharp IR Sensor Assembly
07:05

We'll step through the IR sensor sketch and test the ability of the sensor to detect an obstacle at various distances within the sensor's range.  You should be able to verify your sensor's performance by the end of the lesson.

IR Sensor Sketch & Experiment
03:18

We'll go over what sound is and how sound pressure is detected, what frequencies comprise the ultrasonic frequency range, components of an ultrasonic range finder, how a piezoelectric transducer works, overview of ultrasonic sensor electronics, and go over some applications of ultrasonic range finders.  You will have the background to learn about the Parallax Ping Ultrasonic Distance Sensor by the end of the course.

Ultrasonic Range Finder Introduction
07:35

We'll go over how the Parallax PING sensor works, sensor considerations and limitations, and how the Arduino pulsein() function works.  You will be ready to assemble the PING sensor onto your robot by the end of the lesson.

Parallax PING Sensor Overview
06:45

We'll step through the assembly of the PING sensor onto the robot.  You will be ready to write a sketch to test the PING sensor performance by the end of the lesson.

PING Sensor Assembly
08:18

We'll step through the PING sensor sketch and test the ability of the sensor to detect an obstacle at various distances within the sensor's range.  You should be able to verify your sensor's performance by the end of the lesson.

PING Sensor Sketch & Experiment
04:24
+
Obstacle Avoidance
5 Lectures 14:55

We'll step through the obstacle avoidance logic using the IR sensor, then the PING sensor.  You will be ready to write a sketch to implement obstacle avoidance using the two sensors by the end of the lesson.

Obstacle Avoidance Flowchart
02:53

We'll step through a sketch to implement obstacle avoidance using the IR sensor.  You will be ready to test your robot's obstacle avoidance capability using the IR sensor by the end of the lesson.

IR Sensor Obstacle Avoidance Sketch
05:35

We'll upload the IR obstacle avoidance sketch to the robot and test its ability to avoid obstacles.  You should be able to verify your robot's ability to avoid obstacles by the end of the lesson.

Preview 01:15

We'll step through a sketch to implement obstacle avoidance using the ultrasonic sensor.  You will be ready to test your robot's obstacle avoidance capability using the IR sensor by the end of the lesson.

Ultrasonic Sensor Obstacle Avoidance Sketch
04:01

We'll upload the ultrasonic obstacle avoidance sketch to the robot and test its ability to avoid obstacles.  You should be able to verify your robot's ability to avoid obstacles by the end of the lesson.

Ultrasonic Sensor Obstacle Avoidance Experiment
01:11
About the Instructor
Steven Radigan
4.4 Average rating
18 Reviews
1,678 Students
1 Course
Electrical Engineer and DIY hobbyist

I have a BS in Electrical Engineering and an MS in Systems Engineering and have  worked in the aerospace industry since 2006.  I have always had an interest in robotics and DIY projects.  I have been working with Arduino for several years and think it is a great platform for teaching engineering concepts.