Author Options:

can any one give me the code for line follower and obstruction avoider? Answered

i have used arduino atmega 168 board for a line follower come obstruction avoider. i have used ultrasonic sensor for sensing.For execessive  cost i ave not used stepper motor. Can any 1 help me the appropriate code??


The forums are retiring in 2021 and are now closed for new topics and comments.

9 years ago

Unless there is a library for a line follower I doubt any one is going to write it - that's half the fun of building something - learning new skills along the way.

HOWEVER you had best start with a pencil and paper and writ out a flow chart for what you want the robot to do then you can consider coding up each part of the flow diagram.