Things required
1) Arduino Uno
2) L298N motor shield
3) 200 RPM DC motor x2
4) 4W chassis
5) Wheelsx4
6) Dummy shaft x2
7) 12 volt rechargeable battery
8) Jumper wires
9) Infra-red sensors x2
10) Double sided tape
11) Black tape
Connections:
1) IR sensors 1 and 2 to Analog pin A0 and A1 respectively
2) 12V to Motor shield
3) 5V to Arduino
4) Connect Arduino ground to Motorshield ground together with battery ground
5) En 1 pin to Arduino digital pin 11
6) In 1 to 13
7) In 2 to 12
8) In 3 to 8
9) In 4 to 7
10) En 2 to 10
link to CODE
https://drive.google.com/open?id=15l3...