Line Follower Robot Arduino

Line Follower Robot follows a black line.

Jun 5, 2018

222042 views

32 respects

Components and supplies

1

Proximity Sensor

1

Dual H-Bridge motor drivers L298

1

Arduino UNO

Apps and platforms

1

Arduino IDE

Project description

Code

Code

c_cpp

Downloadable files

Circuit Diagram

Circuit Diagram

Image

Circuit Diagram

Circuit Diagram

Image

Comments

Only logged in users can leave comments

Image
Image

11-mrd

2 years ago

it was nice for beginners thanks

Image
Image

robin_bijo

2 years ago

Nice Project

Image
Image

robin_bijo

2 years ago

Hi! Great Project.But where exactly is motorA motorB Speed Defined?

Image
Image

Anonymous user

2 years ago

Those signals are missing in the schematic. The author probably copied the schematic of another project without correcting it. (also the schematic shows a L293, the BOM a L298 - which uses the same signals but can output more amps. So no harm done here) motorAspeed and motorBspeed have to be connected to the EN1 and EN2 pins of the L293 (or L298 as stated in the material-list) - together with the according MotorXY-signals! Since both pins are programmed to output PWM (with the analogWrite-function) they don't have to be declared as OUTPUT (but it wouldn't hurt to do so and clarify some questions). See the reference of analogWrite: https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/

Image
Image

Anonymous user

2 years ago

Hi. Great project! If you are interested in advancing the project to following different objects e.g. people or animals please check out the following Android App Project: ​https://play.google.com/store/apps/details?id=com.studios.code.gem.ardobjecttracker&hl=en ​Video at: https://www.youtube.com/watch?v=Qt7lIR4GxWA ​

Image
Image

Anonymous user

2 years ago

Great job!!!

Image
Image

Anonymous user

2 years ago

Does the code not match the circuit diagram?

Image
Image

Anonymous user

2 years ago

I dont think so, the code way something about pin 8 or 10...-? there is no pin 8 or 10 connected to the motor driver on arduino pro mini

Image
Image

Anonymous user

2 years ago

Can you chare a Circuit Diagram but for the arduino uno but not the arduino pro mini?

Image
Image

Anonymous user

2 years ago

Don't we have to include the IR pins in the pinMode()? Or do we not do it because it has both OUTPUT and INPUT?

Image
Image

Anonymous user

2 years ago

By default, Analog pins in Arduino boards are defined as analog inputs. So, no need to redefine them.

Image
Image

robin_bijo

2 years ago

Actually @allemmbin yes we need to not sure why @RoboCircuits didn't include.

Image
Image

robin_bijo

3 years ago

Nice Project

Image
Image

robin_bijo

4 years ago

Hi! Great Project.But where exactly is motorA motorB Speed Defined?

Image
Image

Anonymous user

2 years ago

Those signals are missing in the schematic. The author probably copied the schematic of another project without correcting it. (also the schematic shows a L293, the BOM a L298 - which uses the same signals but can output more amps. So no harm done here) motorAspeed and motorBspeed have to be connected to the EN1 and EN2 pins of the L293 (or L298 as stated in the material-list) - together with the according MotorXY-signals! Since both pins are programmed to output PWM (with the analogWrite-function) they don't have to be declared as OUTPUT (but it wouldn't hurt to do so and clarify some questions). See the reference of analogWrite: https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/

Image
Image

Anonymous user

4 years ago

Can you chare a Circuit Diagram but for the arduino uno but not the arduino pro mini?

Image
Image

Anonymous user

4 years ago

Does the code not match the circuit diagram?

Image
Image

Anonymous user

2 years ago

I dont think so, the code way something about pin 8 or 10...-? there is no pin 8 or 10 connected to the motor driver on arduino pro mini

Image
Image

Anonymous user

4 years ago

Great job!!!

Image
Image

11-mrd

5 years ago

it was nice for beginners thanks

Image
Image

Anonymous user

6 years ago

Hi. Great project! If you are interested in advancing the project to following different objects e.g. people or animals please check out the following Android App Project: ​https://play.google.com/store/apps/details?id=com.studios.code.gem.ardobjecttracker&hl=en ​Video at: https://www.youtube.com/watch?v=Qt7lIR4GxWA ​

Image
Image

Anonymous user

6 years ago

Don't we have to include the IR pins in the pinMode()? Or do we not do it because it has both OUTPUT and INPUT?

Image
Image

Anonymous user

2 years ago

By default, Analog pins in Arduino boards are defined as analog inputs. So, no need to redefine them.

Image
Image

robin_bijo

2 years ago

Actually @allemmbin yes we need to not sure why @RoboCircuits didn't include.

Image
Image

Anonymous user

7 years ago

Arduino is a open source microcontroller it is used for real time projects. The controller controls all the object. for more details: https://inplanttrainingintrichy.co.in/inplant-training-in-trichy-for-ece.html