Learn Basics Of Robotics With Simple Line Follower Robot

thanks a lot to all of you for the interest...so here i my first post.

since robotic has been a filed which is very vast i would like to start with a very simple example...
line follower robot.

for this we need.
1) micro controller -> since there are many new engineer out here i am going to select atmel atmega series micro controller
2) ir sensor or sonar sensor which ever is easily available.
3)interfacing between sensor and uC.
4) avr studio to write the code
5) motor and its interfacing with the uC.
6) motor driving IC
7) interfacing on motor IC with uC
8) deploying the code
9)trouble shooting

in the upcoming post i will try to explain each of the topic in details...
and if you think i have missed something kindly update me...

thanks and regards
kamran ali

Replies

  • Kaustubh Katdare
    Kaustubh Katdare
    Re: Learn Robotics (Basics) - Part I

    I've created a new thread with your post.
  • alikamu
    alikamu
    lets start robotic:

    as i have seen in forum under robotic there is given an article related to laws of robotic and other stuff which i find quite annoying so to start up i would like you to see "ROBOT" film by rajnikant and it explain the required .

    since we all are engineer and are people who take thing in a different manner therefore, i am also going to explain the stuff in a different and interesting manner.

    so the objective is to make a line follower robot :
    the robot which will follow a line and that line can be straight , curved or circular or of an other form but robot has to follow that line .


    so uC is atmega16 , please go thru the data sheet of uC which is easily available of net.
    just google "datasheet of atmega16".
    download that and see the page number 2 , it has the pin configuration of it.
    the pins and the port a is used for taking in any analogue input form outside to the uC .

    port a has 8 pins so max. 8 inputs can be used for analog input.

    interfacing :

    the ir sensor need 2 pins
    1) signal
    2)ground

    so make the configuration.

    so that one is connected to uC (port a) and another to ground.


    on completing it you would have successfully completed the interfacing of sensor.


    post any question u have regarding the above .

    if not i will go ahead and explain the next topic.









    thanks and regards,
    kamran ali
  • Ankita Katdare
    Ankita Katdare
    @alikamu: Nicely explained. Thanks for making it simple.
    Waiting for the next part.
  • silverscorpion
    silverscorpion
    Good going.

    It would be better if you can supply some pictures along with the tutorial.

    Some simple circuit diagrams etc..
  • alikamu
    alikamu
    silverscorpion
    Good going.

    It would be better if you can supply some pictures along with the tutorial.

    Some simple circuit diagrams etc..

    ok...that a good point ...i will try and post some pics too.:grin:
  • alikamu
    alikamu
    alikamu
    lets start robotic:

    as i have seen in forum under robotic there is given an article related to laws of robotic and other stuff which i find quite annoying so to start up i would like you to see "ROBOT" film by rajnikant and it explain the required .

    since we all are engineer and are people who take thing in a different manner therefore, i am also going to explain the stuff in a different and interesting manner.

    so the objective is to make a line follower robot :
    the robot which will follow a line and that line can be straight , curved or circular or of an other form but robot has to follow that line .


    so uC is atmega16 , please go thru the data sheet of uC which is easily available of net.
    just google "datasheet of atmega16".
    download that and see the page number 2 , it has the pin configuration of it.
    the pins and the port a is used for taking in any analogue input form outside to the uC .

    port a has 8 pins so max. 8 inputs can be used for analog input.

    interfacing :

    the ir sensor need 2 pins
    1) signal
    2)ground

    so make the configuration.

    so that one is connected to uC (port a) and another to ground.


    on completing it you would have successfully completed the interfacing of sensor.


    post any question u have regarding the above .

    if not i will go ahead and explain the next topic.









    thanks and regards,
    kamran ali


    thanks for the response ...but i would like to update in the sensor part:

    i have today seen an ir sensor which is having 3 connection...in case any one out there also find it ...so here is the interfacing:
    1)input of sensor
    2)ground
    3)input from sensor to the uC.

    hope it help the engineers .....
  • alikamu
    alikamu
    so friends here is the second installment :
    interfacing motor driving ic and uC

    google " L293d datasheet" and i hope you have the uC datasheet as well.

    so here is the interfacing :

    pins of l293d:

    enable 1->connect to any port pin which you want like PD5
    input 1->connect to uC pin like PC0
    output 1->connect to uC pin like PC1
    ground ->connect to commonsense
    ground->connect to commonsense
    output2->connect to uC pin like PC2
    input 2->connect to uC pin like PC3
    Vs-> direct power supply (unregulated) generally 12 v
    enable 2->connect to any port pin which you want like PD6
    input 3->connect to uC pin like PC4
    output 3->connect to uC pin like PC5
    ground->connect to commonsense
    ground->connect to commonsense
    output 4->connect to uC pin like PC6
    input 4->connect to uC pin like PC7
    Vss->regulated power supply generally 5V

    this ic can drive a max of 4 motors.

    note: u have to send a signal yourself to enable pins. so that the motor signal is passed successfully to the motor.


    i think it is information that u want to know, please be free to ask the question as a friend.

    thanks and regards
    kamran ali

You are reading an archived discussion.

Related Posts

Acer, currently the second largest computer maker in the world is aiming to be the top computer manufacturer in the World by 2011. "If the mobile world continues to grow,...
Salil Bangale Mechanical Engineer Occupation: Entrepreneur Setting Up Own Business in Paper and Packaging ๐Ÿ˜
hello people iam just joined here and i seen the posts they are awesome i knew i will get a nice subject here anyway let me introduce my self iam...
Hieee everyone... How can labview help in Electrical Engineering...??Where can we learn about it..
I'm searching about HV motors. who can help me for finding refrences?!