I’m making a maze solving robot using QTR-8A sensor (only using 6 sensors), arduino UNO R3, L298D H-Bridge motor drive, and using PID. Firstly I worked on simple straight Line Following using QTR-8A, it worked but it takes too much time in turning. Then I made my code for Maze Solving, but this code did not work properly. I do everything which I can do. In this only one motor is working and other wheel does not work and I also used auto calibration in this but this also doesn’t work.
Can you suggest any change in hardware or software which can make it working perfectly. Please can you help me in this regard. If you can help me in code or provide me a code it will be very helpful.
The codes for both Simple Line Following and Maze Solving are as follow :
CODE FOR SIMPLE LINE FOLLOWING
5 feb checked final kd_5.ino (5.8 KB)
CODE FOR MAZE SOLVING
6 feb maze.ino (18.3 KB)