I'm working on a Line Follower Robot project. I'm using 5 sensors with digital value for programming part which means that now i'm not using PID control for my robot. However there are some issues with my robot :
My robot can follow the line well when it runs at medium speed but when i increase the speed it can't turn at the sharp corners.In fact, it does turn a little bit before stopping because out of track. I have tried adding "delay()" to my program but it still doesn't work.
I'm wondering that which is the best way for setting up speed for robot when it turns. Because there are several ways to set up speed for robot when it turns such as : one motor runs faster and the other runs slower, one motor runs and the other stops , one motor keep going forward and the other goes reversely.
I'm now using "one motor runs faster and the other stops".
Please help me troubleshoot these problems. Thanks a lot !!!