Uploaded December 2016 | Updated September 2026, 2 weeks ago
In this tutorial, you will make arduino line following / tracking robot. This tutorial involves building a line follower robot with an QTR-8 Infrared Sensor.
Required Hardware:
1x Arduino UNO R3:
bit.ly/2xt9MVk
amzn.to/2LZr6t4
1x L293D Motor Drive Shield:
bit.ly/2H7vmy9
amzn.to/3qADuic
QTR 8 Infrared Sensor:
pololu.com/product/961
2x Wheel and Gear Motor:
bit.ly/2RXAWLS
amzn.to/2M2pChV
3 in 1 Jumper Wire:
bit.ly/2J6de9E
amzn.to/3doetmT
2WD Robot Car Chassis Kit:
bit.ly/2sqIHgy
amzn.to/3s1ptur
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
- Download AFMotor.h library: learn.adafruit.com/adafruit-motor-shield/library-install
Uncompress the ZIP file onto your desktop
Place the AFMotor folder into your arduinosketchfolder/libraries folder
Rename the uncompressed folder AFMotor
- Download QTR-8 library: github.com/pololu/qtr-sensors-arduino/releases
Rename the folder “qtr-sensors-arduino-xxxx” to “QTRSensors”
Drag the “QTRSensors” folder into the “libraries” directory inside your Arduino sketchbook directory
Source Code: github.com/MertArduino/Arduino-Line-Following-Robot
Connections :
- DC Motors connect to the Motor Shield
- Left Motors connect to M1
- Right Motors connect to M2
- The QTR-8 Sensor Connections
The Sensor VCC connect to the Arduino +5V
The Sensor GND connect to the Arduino Ground
The Sensor pin 2 connect to the Arduino Analog 0
The Sensor pin 3 connect to the Arduino Analog 1
The Sensor pin 4 connect to the Arduino Analog 2
The Sensor pin 5 connect to the Arduino Analog 3
The Sensor pin 6 connect to the Arduino Analog 4
- Battery and on / off button connection
The (+) from the battery is connect to a leg of the button
Connect a cable to the other legs of the button. This cable is for Motor Shield (+)
In this tutorial, you will make arduino line following / tracking robot. This tutorial involves building a line follower robot with an QTR-8 Infrared Sensor.
Required Hardware:
1x Arduino UNO R3:
bit.ly/2xt9MVk
amzn.to/2LZr6t4
1x L293D Motor Drive Shield:
bit.ly/2H7vmy9
amzn.to/3qADuic
QTR 8 Infrared Sensor:
pololu.com/product/961
2x Wheel and Gear Motor:
bit.ly/2RXAWLS
amzn.to/2M2pChV
3 in 1 Jumper Wire:
bit.ly/2J6de9E
amzn.to/3doetmT
2WD Robot Car Chassis Kit:
bit.ly/2sqIHgy
amzn.to/3s1ptur
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
- Download AFMotor.h library: learn.adafruit.com/adafruit-motor-shield/library-install
Uncompress the ZIP file onto your desktop
Place the AFMotor folder into your arduinosketchfolder/libraries folder
Rename the uncompressed folder AFMotor
- Download QTR-8 library: github.com/pololu/qtr-sensors-arduino/releases
Rename the folder “qtr-sensors-arduino-xxxx” to “QTRSensors”
Drag the “QTRSensors” folder into the “libraries” directory inside your Arduino sketchbook directory
Source Code: github.com/MertArduino/Arduino-Line-Following-Robot
Connections :
- DC Motors connect to the Motor Shield
- Left Motors connect to M1
- Right Motors connect to M2
- The QTR-8 Sensor Connections
The Sensor VCC connect to the Arduino +5V
The Sensor GND connect to the Arduino Ground
The Sensor pin 2 connect to the Arduino Analog 0
The Sensor pin 3 connect to the Arduino Analog 1
The Sensor pin 4 connect to the Arduino Analog 2
The Sensor pin 5 connect to the Arduino Analog 3
The Sensor pin 6 connect to the Arduino Analog 4
- Battery and on / off button connection
The (+) from the battery is connect to a leg of the button
Connect a cable to the other legs of the button. This cable is for Motor Shield (+)





![08# Arduino Visual Programming | Robot Arm Control with Potentiometers | XOD
New Video November 8, 2018: https://youtu.be/tl6A7EKicjo
The Last Few Days Save 40% More for Electronics: https://goo.gl/covX9J
Robot Arm Control with Potentiometers:
In this tutorial we will learn how to control Robot Arm with Potentiometers. We will use XOD visual programming for this. Its very simple and great for beginners.
Required Hardware:
4DOF Robot Arm + SG90:
https://amzn.to/39udgY9
https://goo.gl/LLzd76
Arduino Nano :
https://goo.gl/QbEmNL
https://amzn.to/3w9D45T
Potentiometers:
https://goo.gl/E3MSuS
https://amzn.to/3dlgYq1
Breadboard:
https://goo.gl/vWrJAA
https://amzn.to/3qxLxwm
Jumper Wires :
https://goo.gl/EGTafY
https://amzn.to/3doetmT
4DOF Robot Arm Kit with Uno + Pot + MG90S Servo
https://goo.gl/SjS5E8
Recommended Items:
Use Your Muscles in Project - https://amzn.to/3wdL45C
37 Sensor & Module Packages - https://amzn.to/3m66WeQ
Try this Robot Arm - https://amzn.to/3fq8DCl
Best Resin 3D Printer - https://amzn.to/39tY8KB
Arduino Compatible Kits - http://bit.ly/2J2AFF7
Banggood Spring Sale - https://bit.ly/3slMbOn
Other XOD tutorials :
01# Activate an LED - https://youtu.be/zgu2ID9fzp8
02# LED Brightness with Pot - https://youtu.be/rn_pFUvAjPU
03# Control Servo with Pot - https://youtu.be/R1ErboSVk9w
04# Control LED with Button - https://youtu.be/CtH8Fau8IDk
05# LDR (photoresistor) - https://youtu.be/FMQGCHU75OM
06# DC Motors with L293D - https://youtu.be/_PoCf-mh0aI
07# Obstacle Avoiding Robot - https://youtu.be/07jbVvx3BL4
You can share any technical problem at https://forum.xod.io/
The team of XOD developers will respond to you very quickly and more accurately.
XOD Official https://xod.io/
XOD Community https://forum.xod.io/
Background Music
Syn Cole - Feel Good [NCS Release]
https://youtu.be/q1ULJ92aldE
NoCopyrightSounds - https://goo.gl/Veefkc
Syn Cole - https://soundcloud.com/syncole 08# Arduino Visual Programming | Robot Arm Control with Potentiometers | XOD](https://i.ytimg.com/vi/zO6IACwkHfA/mqdefault.jpg)



