Society of Robots - Robot Forum

Software => Software => Topic started by: Sourav Saha on March 14, 2013, 06:32:49 AM

Title: Arduino code for line follwing robot
Post by: Sourav Saha on March 14, 2013, 06:32:49 AM
we are to build a line following robot using Arduino Mega 2650. the track is like digital eight (8) and we have to traverse it just like the way we write a '8'.The track is white on a black surface. We are using three IR sensors.please give us an Arduino code to solve the problem.
Title: Re: Arduino code for line follwing robot
Post by: mstacho on March 14, 2013, 06:44:01 AM
Howdy,

I don't think anyone can really just give you the code that will work -- it depends on how your robot is set up and where all your motors are and so on.  I also think it's important that you work on this project yourself (it sounds like homework, or something for a robot competition, and it sounds like a great learning experience!)

However, have you tried googling "Arduino code for line following robot" yet?  ;-) That might set you on the right path...

MIKE