Fire Fighting robot

Submitted by bishrof on Fri, 11/29/2019 - 22:43

i am facing a problem with the fire fighting robot project available on this site https://circuitdigest.com/microcontroller-projects/arduino-fire-fightin… , i am not able to make the robot move forward in a straight line , it always deviates as one wheel spins faster than the other.

any advice ?

note i am using l298n hbridge.

This is a very common problem with the yellow DC gear motors, as the motors age one motor will become weak than the other causing this problem. The easy solution is to get a new pair of motors and use them.

OR

You can modify the code to not rotate both the wheels together at the same time. You can make it work like line follower robot. Other solutions are using an encoder or controlling the input voltage of the powerful motor  

  Joined August 16, 2016      998
Tuesday at 12:29 AM