Need Line Follower Program

Oct 24, 2004 1 Replies

Hi,my is alex. i would like to build a line follower robot,but i'm a very very beginner in programing (c language/assembly language).i use AT 89C2051,L293D driver,4 sensor(comparator/LM324) s1 right,s2 back, s3 front,s3 left. and the track is like this :



10 |
9--------+------------7 8| |
4--------+-----------6 =======> Track 5| |
3--------+-----------1 2| | start

s3 __________ | | s4 sensor 1 |__________|



sensor 2 at no. 2 robot turn left,until no 3 robot back to no 1,in the end of no 1 it go to front and turn right at no 2,it's happen too at the no 5 and no 8,and when the robot until no 10 it goes back to start.i very2 need your help,please please please n thanks 4 your help


You are not likely to find anyone willing to write the entire system for you unless you're willing to pay commercial rates.

Generally, people are more willing to help if they see that you've made an honest effort at solving the problem. If you're having difficulty with the overall design, post a description of your approach and ask for a critique. If you're stuck on sensors, or motor control, or ... then show what you've tried and explain why you think it's not working.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required