---
+ Post New Thread
Results 1 to 20 of 20
  1. #1
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Line Following Robot and Obstacle Avoidance

    hello,

    i'm new here and really need help from u guys..

    currently, i'm doing a project which is line following and obstacle avoidance..

    can u assist me how to do it?

    equipment:

    IR emitter n receiver - for line following and obstacle

    PIC 18f4520 microcontroller

    motor driver L293D

    DC motor


    do u have any circuit for line following sensor which can prevent from ambient light?
    Last edited by faris88; 21st December 2010 at 13:44.

  2. #2
    Advanced Member level 3
    Points: 11,421, Level: 25

    Join Date
    Jan 2006
    Location
    Bangalore India
    Posts
    805
    Helped
    99 / 99
    Points
    11,421
    Level
    25
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    for protection from ambient light better u cover with with black pastic tube...



  3. #3
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    Quote Originally Posted by nikhilele View Post
    for protection from ambient light better u cover with with black pastic tube...
    is there any circuit that we can use to reduce the noise? ir is so sensitive to the environment is it enough by covering with black plastic tube?
    anyway, i'll try it ..thanks for ur suggestion.



    •   Alt21st December 2010, 14:08

      advertising

        
       

  4. #4
    Advanced Member level 5
    Points: 35,361, Level: 45
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2128 / 2128
    Points
    35,361
    Level
    45
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    There is no circuit for that. but using IR you will not get much range also. It will be few centimeters. Go for ultrasonic sensor for that purpose
    " It is so simple to be happy,
    but it is so difficult to be simple"



  5. #5
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    i dont know where to start.. can i just follow the sensor circuit given by this site Line Follower Robot



  6. #6
    Advanced Member level 5
    Points: 35,361, Level: 45
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2128 / 2128
    Points
    35,361
    Level
    45
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    yes you can do it.. ypu can also do it with 89c51 or its variant.. refer 8051.com. In the project section they have this project and code with circuit. for BE level 89c2051 maybe simple, so i told to go for some hogher controller with same architecture
    " It is so simple to be happy,
    but it is so difficult to be simple"



  7. #7
    Advanced Member level 2
    Points: 7,469, Level: 20

    Join Date
    Feb 2009
    Location
    some where left alone
    Posts
    653
    Helped
    128 / 128
    Points
    7,469
    Level
    20

    Re: Line Following Robot and Obstacle Avoidance

    try avr atmega8 or atmega32



  8. #8
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    i need to use pic microchip because this is what i have learned..thanks for ur suggestion in the other time i'll try to learn that...



    •   Alt22nd December 2010, 04:23

      advertising

        
       

  9. #9
    Advanced Member level 3
    Points: 5,774, Level: 18

    Join Date
    Dec 2010
    Location
    USA, midwest
    Posts
    962
    Helped
    301 / 301
    Points
    5,774
    Level
    18

    Re: Line Following Robot and Obstacle Avoidance

    Quote Originally Posted by faris88 View Post
    is there any circuit that we can use to reduce the noise? ir is so sensitive to the environment is it enough by covering with black plastic tube?
    anyway, i'll try it ..thanks for ur suggestion.
    Generally speaking, no, there aren't good circuits to reduce the ambient interference. One of the primary sources of anguish for the students when I was in school, doing a similar project, were the fluorescent lights. Their flickering (too fast for human eyes to perceive) was significant, and generally made coding the control loop a real pain without LOTS of averaging of the detected voltage. The black plastic tube suggestion helped a lot in that case (typically little tubes of black heatshrink). Think of it like putting blinders on a horse... it only "sees" what it directly in front of it, the rest is suppressed.



    •   Alt22nd December 2010, 04:36

      advertising

        
       

  10. #10
    Member level 1
    Points: 746, Level: 5

    Join Date
    Dec 2010
    Posts
    37
    Helped
    6 / 6
    Points
    746
    Level
    5

    Re: Line Following Robot and Obstacle Avoidance

    i have made line tracing car but i did not make circuit diagram, but i will help u
    u can see in attachment i,i have used a circuit and u have to use at least four circuit same like that, then u will get four digital outputs, u can store two output in one byte another two in next byte ,u have to compare both byte, according to that u will on left motor or right motor



  11. #11
    Advanced Member level 5
    Points: 35,361, Level: 45
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2128 / 2128
    Points
    35,361
    Level
    45
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    " It is so simple to be happy,
    but it is so difficult to be simple"



  12. #12
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    Quote Originally Posted by enjunear View Post
    Generally speaking, no, there aren't good circuits to reduce the ambient interference. One of the primary sources of anguish for the students when I was in school, doing a similar project, were the fluorescent lights. Their flickering (too fast for human eyes to perceive) was significant, and generally made coding the control loop a real pain without LOTS of averaging of the detected voltage. The black plastic tube suggestion helped a lot in that case (typically little tubes of black heatshrink). Think of it like putting blinders on a horse... it only "sees" what it directly in front of it, the rest is suppressed.
    oh..i see..so i'll cover ir sensor with black plastic..thanks for ur explanation..

    Quote Originally Posted by surjeetkmr5 View Post
    i have made line tracing car but i did not make circuit diagram, but i will help u
    u can see in attachment i,i have used a circuit and u have to use at least four circuit same like that, then u will get four digital outputs, u can store two output in one byte another two in next byte ,u have to compare both byte, according to that u will on left motor or right motor
    ur circuit is quite similar with this one Line Follower Robot what r u use for comparator? do u use LM324? actually what is purpose of using LM324 in this circuit?



  13. #13
    Advanced Member level 5
    Points: 35,361, Level: 45
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2128 / 2128
    Points
    35,361
    Level
    45
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    LM324 is amplifier.. use LM393 for comparator
    " It is so simple to be happy,
    but it is so difficult to be simple"



  14. #14
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    Quote Originally Posted by ckshivaram View Post
    LM324 is amplifier.. use LM393 for comparator
    In this Line Follower Robot site said he is use LM324 as comparator..so is that circuit gonna work? now i want to try construct that circuit.. how i'm gonna to check the circuit is correct or not?



  15. #15
    Advanced Member level 5
    Points: 35,361, Level: 45
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2128 / 2128
    Points
    35,361
    Level
    45
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    http://peterflemming.ca/flemmweb_cur...stcircuits.pdf
    i dont say LM324 cannot be used as comparator. it can be used. but why use it when you get comparator IC's for comparitively low cost
    " It is so simple to be happy,
    but it is so difficult to be simple"



  16. #16
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    Quote Originally Posted by ckshivaram View Post
    http://peterflemming.ca/flemmweb_cur...stcircuits.pdf
    i dont say LM324 cannot be used as comparator. it can be used. but why use it when you get comparator IC's for comparitively low cost
    oh i see...thanks for ur explanation..i'm quite lack of knowledge..feel free to correct me if i'm wrong..



  17. #17
    Member level 1
    Points: 746, Level: 5

    Join Date
    Dec 2010
    Posts
    37
    Helped
    6 / 6
    Points
    746
    Level
    5

    Re: Line Following Robot and Obstacle Avoidance

    using lm324 to get actual digital signal , u can connect led with its output to understand ,u can see when u put ldr on black place or white place your led will turn on and off ,so this information u can send to controller



  18. #18
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    Quote Originally Posted by surjeetkmr5 View Post
    using lm324 to get actual digital signal , u can connect led with its output to understand ,u can see when u put ldr on black place or white place your led will turn on and off ,so this information u can send to controller
    oh..okay..i'll try it later..now i'm trying to construct that circuit in the breadboard..quite messing with that circuit..



  19. #19
    Newbie level 5
    Points: 424, Level: 4

    Join Date
    Oct 2010
    Posts
    9
    Helped
    0 / 0
    Points
    424
    Level
    4

    Re: Line Following Robot and Obstacle Avoidance

    i have a problem regarding this Line Follower Robot sensor circuit.. i have conducted one circuit for testing which is circuit for sensor 1..
    however, it can't detect the black line..and also if i try to play with potentiometer the output (LED) will on and off..how make the IR detect the black line?



  20. #20
    Advanced Member level 5
    Points: 35,361, Level: 45
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2128 / 2128
    Points
    35,361
    Level
    45
    Blog Entries
    1

    Re: Line Following Robot and Obstacle Avoidance

    ir cannot detect more than 6mm. so make sure it is not more than 6mm. since it is in bread board, check the connection

    ---------- Post added at 22:07 ---------- Previous post was at 20:53 ----------

    These project are not meant to be rigged up on breadboard and tested. they will not work properly.

    you need good board on which you solder the components and test
    " It is so simple to be happy,
    but it is so difficult to be simple"



+ Post New Thread
Please login