Software > Software

Arduino code for line follwing robot

(1/1)

Sourav Saha:
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.

mstacho:
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

Navigation

[0] Message Index

Go to full version