hey. i was following your project https://circuitdigest.com/microcontroller-projects/arduino-obstacle-avoding-robot
everything i have done by following each and every step but still i am having some problem with the running the project. Actually the project is misbehaving.
Sometimes it works a bit fine but some time it goes to random direction. also some times the one motor works and other dont and vice versa. i have checked the connections too but still it is not happening.
can someone tell me what is the problem. i have used same components as you guys have used. and code is also correct.