II was having a problem when the car went to follow the line, when the car in the middle of the car will move forward but the car leaned forward, resulting in the vehicle drifting in balance and inactive in line.
Hi @hongnho_bui10,
welcome to the Arduino-Forum.
Wow a self-balancing line following robot is a cool project.
And from your short description you seem to have already quite some success.
For really helping you more detailinformation is nessescary.
You should take 20 Minutes of your precious time to read this thread
and then edit your first post with the recommended details and ask specific questions
best regards Stefan
Please learn how to post a proper question.
it's difficult to provide help without either
- a clear description of the algorithm, or
- a code listing
not sure what you expect to hear.
since self-balancing code is not trivial. Modified code to now turn left/right to follow a line is challenging as well since the wheels need to turn different amounts to effect the turn.
it can be difficult to diagnose your problem even with a code listing without some description of the modifications to do line following
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.