Simple Line Follower


simple construction with 2 ir sensors and 1 L298N motor driver board
Motors

take two 1kg-cm 100 rpm motors
Chasis

basic robot chasis is required.
Sensors

two ir sensors are required.
Driver


take one L298N motor driver board
Connections

ir sensor 1 out to L298N in2.
ir sensor 2 out to L298N in4.
motor 1 terminals to L298N out 1 and out 2.
motor 2 terminals to L298N out 3 and out 4.
Vcc and ground of L298N to ir sensor Vcc and ground.
Vcc and ground of L298N to battery.
Placing

place the ir sensors as shown in the picture.
The distance between the sensors should be less then 4cm.
The sensors should be placed just after the wheels so that there will be fast action.
The distance between the sensors should be less then 4cm.
The sensors should be placed just after the wheels so that there will be fast action.
Assembly
all the parts are attached including wheels and it is ready to test