Line following Robot with PID

Thread Starter

Bev

Joined Apr 22, 2013
3
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...
 

joeyd999

Joined Jun 6, 2011
5,283
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.
 

tshuck

Joined Oct 18, 2012
3,534
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...
 

Thread Starter

Bev

Joined Apr 22, 2013
3
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....
 

tshuck

Joined Oct 18, 2012
3,534
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?
 

Thread Starter

Bev

Joined Apr 22, 2013
3
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..
 
Top