Line Follower | Following Arduino Car with Source Code | Arduino Project
|Line Follower | Following Arduino Car with Source Code | Arduino Project
In this tutorial, you will make line follower robot. This tutorial involves building a line follower robot with an QTR-8RC Reflectance Sensor Array.
Required Hardware:
Arduino Board – https://goo.gl/UyGYeF
Motor Shield L293D – https://goo.gl/9Ph44b
QTR-8RC Reflectance Sensor — https://goo.gl/Q99tQ8
DC Motor and wheel x2 – https://goo.gl/rpxoMu
Battery Buckle – https://goo.gl/iAEgPl
Wires – https://goo.gl/TdGrkk
Bovine Wheel
Chassis
Battery 9V
Button
Glue Gun
Connections :
1) DC Motors connect to the Motor Shield
2) Left Motors connect to M1
3) Right Motors connect to M2
4) The QTR-8RC Reflectance 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
5) 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 (+)
6) Attach wheels
Copy the Source Code and install the Library:
1) Open the new Arduino IDE page and Delete everything on the page
2) Get the code from my blog page and Paste empty Arduino IDE page
3) First Install the Arduino Libraries
3.1) Install the AF_Motor Arduino library
Close the Arduino IDE
Download the library;
https://github.com/adafruit/Adafruit-Motor-Shield-library
Uncompress the ZIP file onto your desktop
Place the AFMotor folder into your arduinosketchfolder/libraries folder
Rename the uncompressed folder AFMotor
3.2) Install the QTRSensors library
Download the library;
https://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
4) After installing the library, restart the Arduino IDE
5) Now you can see the libraries you have installed
6) When you verify, you will not see any errors
Get the Source Code – https://goo.gl/pr4kYA
Electronics Parts – https://goo.gl/covX9J
Arduino Compatible SCM & DIY Kits – https://goo.gl/yi21yB
Arduino Modules Boards — https://goo.gl/bSCfwv
Professional Tools — https://goo.gl/9Ym9MM
Line Follower | Following Arduino Car with Source Code | Arduino Project
Bro I have 8 array ir sensor… How to do this line follower without OT8Rc sensor……..
What's the name of the song ?
Which is the music in begin of video?
merhaba mert bende çizgi izleyen robot yapmaya çalışıyorum ve senin kullandığın QTR-8RC çizgi takip sensörünü kullanacağım fakat sensörü doğru çalıştıramıyorum sanırım sürekli 0 değeri veriyor.
bana code kısmı için gerekli bilgiyi verebilir misin rica etsem:)
Hey brooo only 1motor is working wt to do
How I make fastest line follower robot
can it enable to find the gap and crosses…? please reply fast
Sir, have you used separate code for the PID control during the coding of arduino UNO
How to make it more fast
the speed of motors is not changing
Kodlama da bir hata yok dimi. Videonuza göre herşeyi yaptık ama düz gidiyor ama çizgide gitmiyor.birde video son kısımlarında linefollowerRobbot diye bir kısmı açıyorsunuz. Tıkladığınızda kodlar çıkıyor o kısmı anlamıyorum.zaten kodu kopyalayıp yapıştırmıştık. Yardımcı olursanız sevinirim.
what if we take the same procedures on audrino mega?
can i use tcrt5000 sensor instead of qtr sensor and use the same code?
source code is not working; kp – kd are all Wrong…so don't hope to work your robot with this source code..
If im using qtr-8rc i just have to connect to the digital pins?
The code is great but why it waits around 10 seconds then start ?
Are you kidding me? One ad per minute in an 11 minute video? You aren't Steve Jobs, stop it.
How are you using the QTR-8RC board which has digital output and have the robot working when you wire the sensors to the analog inputs????????
are we can use another motor shield
I need help, I cant find the code. Could you please post a link!
will you please make maze solver bot
would have watc hed it to the end, but to many ads.. good luck
Hello I have a question your link for the line follower sensor give an other board (one with 8 sensors) and I have that board can you please help me with that. Thanks fir the nice video I use now 6 of the 8 Sensors into A0-A5
Sir! Can i get circuit diagram
can i know how you put the Led
HELLO BRO LOOK I DO NOT SPEAK MUCH ENGLISH BUT YOU COULD MAKE ONE MORE VELOCIST AND WITH THE SAME MATERIALS BUT WITH THE DRIVER TB6612FNG
please,built a line follower for me
please bro
Not 2 much accurate
How to calibrate the sensor…pls say
Electronics Parts – https://goo.gl/covX9J
Arduino Compatible SCM & DIY Kits – https://goo.gl/yi21yB
Arduino Modules Boards — https://goo.gl/bSCfwv
Professional Tools — https://goo.gl/9Ym9MM