Need Line Follower Program

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
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
On 24 Oct 2004 09:32:00 -0700, alessundr33 snipped-for-privacy@yahoo.com (Alessundr33 Delvieri) wrote:

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.
--
Rich Webb Norfolk, VA

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.