Code for Auto calibration of Line follower using line array

Please help me with the code for auto calibration of line array used in the line follower. I need to print the voltage on the lcd display and calibrate the sensor automatically instead of manual calibration. Please help me..

Unless someone else knows exactly what you are talking about you will need to provide a lot more information.

For example
what is "the line follower"? do you have a link to its specification or datasheet?
what is "line array"?

If you have written any code please post it and explain what it should do and what it actually does.

...R

Code, ?
schematic ?

Line follower bot is a autonomous bot which traces a black line on a white surface. Am using 5 IR sensors as a array.. I should calibrate all 5 sensors every time. I need a program that helps to calibrate on its own with pid logic. I have attached the photo of the IR array sensor.

santhoshkumar2794:
Am using 5 IR sensors as a array.. I should calibrate all 5 sensors every time.

I don't understand what calibration is for in this case? Doesn't it just work by identifying which sensor is darker than the others? I especially don't understand where PID comes into the picture.

Try us with a long description - 5 or 10 lines, maybe.

Have you any code at the moment? Can we see it please?

...R