If you had successfully coded for input to microcontroller,then u have almost finished the coding part.The final step of coding is to modify it in such a way that the microcontroller could control four output pins using three inputs(sensors).
Hardware part require certain components in addition to atmega8 and L293D.Atmega8 and L293D can be bought from any electronics shop.The others are:
> IR based Line Detecting Module-3
> dc motor with gearbox-2
> plastic wheel(woth rubber grip)-2
> 12v(AAAsize)NiMh battery Pack
The above components can be got from triindia roboshop through online shopping from triindia.co.in.
The circuit can be easily set up.Body design of robot is the next major factor.If it is not properly designed,then the robot won't follow a proper line.Design part is left to you.
The above mentioned sensors are used to sense white line over black or green background.The sensors need to be tuned accordingly.The sensor provides digital output.So,itz really easy to code and no need to use the ADC part of atmega8.Our robot can take curves inclined at 90 degrees or more.
This was our first step towards embedded world and we succeeded...
Subscribe to:
Post Comments (Atom)
1 comment:
Hai.. i want the ciruit and the codings for the line following robot..
Post a Comment