Auto Calibration

Status
Not open for further replies.
Hi, i need help to find a good algorithm for making 5 sensors (IR sensors) , to work for a line follower robot, im using 89c52 , but i intend to use an avr atmega8 because it has an ADC ..
 
you don't neet an ADC to build an accurate line sensor,

I did a Proportional-Differential line follower robot with an at89c52, if you wan't i'll send you the schematics, but in 2 words, the idea is to increase the number of sensors, (i made 8 sensors) accolate them one next to the other, and take an average of the reading (this will be the proportional control), then keed record of old reading during a period of time, and also take those old reading in account to calculate the current line position (this will be the differential control)

tell me if you't interrested by this approach and i'll provide you with all the code & schematics you need...

Note: are you participating to robocon? from which country? i am participating, and i am willing to help oponenents on their robot, don't worry
 
another note, for your specific application (for auto calibration) you'll need DAC (not an adc)

a 8 bit dac can be easily built with a bunch of resistor and an LM358 op-amp.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…