Wire Connection

Model X board(L298N) Arduino
ENA D3
IN1 D12
IN2 D11
IN3 D7
IN4 D8
ENB D6
S (for servo) D9
Model X board(L298N) Servo wire color
GND Brown
5V Red
S Yellow
Model X board(L298N) Motor
Right Motor K1 or K2
Left Motor K3 or K4
Tracking Sensors Arduino
Right A0
2nd Right A1
Center A2
2nd Left A3
Left A4

Software Installation

Download file from Link:  https://osoyoo.com/driver/arduino_servo_car/v3car-lesson3.zip

Unzip the file and run the v3car-lesson3.ino file, your car will moving along a tracking line.