I am trying to devlop a robot to follow a line and track light. I will be joining a comptition soon, my task will be desing a robot whcih track a line and when the line ends it tracks a light . anybody has got ideas about that and suggest of senors which give accurate results. I am using the 16f873A micro. any similar diagrams will be helpfull.