Line following Robot with PID

Discussion in 'The Projects Forum' started by Bev, Apr 22, 2013.

  1. Bev

    Thread Starter New Member

    Apr 22, 2013
    3
    0
    gud day everyone!
    we need your help..pls help us.:(
    we are to modify our (CAR)Collision Avoidance Robot into Line following Robot with PID(Proportional Integral Differential). we have to use our CAR hardware for the Line following Robot with PID. we need just to change our program in MPLAB v.8.46 assembly language. how is that? pls help us.
    we use PIC16f877a, Infrared Proximity-Collision Sensor from e-gizmo, and dc motor and 9v supply
    pls help us..plssss...
     
  2. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,672
    2,704
    Step-by-step:

    1. Open project in MPLAB
    2. Open .asm file(s) to be modified
    3. Make changes to .asm file(s)
    4. Build Project -- fix errors -- repeat
    5. Program robot CPU flash
    6. Test
    7. Repeat 3 to 7 till success.
     
    strantor likes this.
  3. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    So.... what do you need help with?


    First, you need a way to sense the line... I've used reflectance sensors before with good outcome.

    Second, you need to determine the location of the robot, relative to where it should be (centered on the line)...this it's your error...

    Third, do the various calculations pertinent to a PID controller...

    Forth, tune the controller...
     
  4. Bev

    Thread Starter New Member

    Apr 22, 2013
    3
    0
    we dont know how to program Line following Robot with PID in assembly language.could you help us??. pls help us....

    the line to follow is with the use of black electrical tape. Infrared Proximity-Collision Sensor can't sense the line mentioned.
    we use 3 sensors at the front....
     
  5. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    It can't!? all these years of people using electrical tape and infrared and it hasn't worked all this time!


    So, do the IR sensors detect when it is not on the line? Yes? Then you have a way to detect where the line is!

    what do you know about PID? What does that look like for a discrete system?
     
  6. Bev

    Thread Starter New Member

    Apr 22, 2013
    3
    0
    Yes!

    ahh..yes the IR sensors detect when it is not on the line. we can find a way to detect where the line is.

    we dont have idea about PID.. sorry :(
    may u help us know about PID?

    Thank you..
     
  7. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
Loading...