Line Following Robot.
🔘 Components Required 1)Arduino Mega Board 2)Wheels 3)Geared Motors 4)Bread Board 5)Motor Driver 5) 5 IR sensors 6)Jumper Wires 7)Wheel We use IR sensor for detecting robot path Line sensors IR sensor active =1(when white color) IR sensor deactivate=0(when black color) consider five IR sensors 01111 = line off to left 10111 = line little to left 11011 = middle of the line 11101 = line little to right 11110 = line off to right 🔘 intersection and turn handling 1) turning left and turning right Get IR sensors read if (read=11000) turn right if (read=00011) turn left 2) T junction or Four way How to decide where it is "T" or "FOUR way" 👀??? ➧when all sensors are become "11111" ➧then we can give one inch move to robot ➧after we can read IR sensors if ("00000"