Very Fast Line Follower Robot With PID Control

Hello guys,

I have graduated from Ankara University Electronics Engineering Department this year. I have been working on robots for 3 years. Here is my last line follower robot to be participate in robot competitions will be held in 2011, Turkey.

Thanks for watching.
Mert ÖZTOPRAK

Wow, that robot is very fast! Did you use any Pololu parts in it? --David

Thanks for your positive feedback.

I’ve used:

  • 18F4550 @20Mhz, i am using its USB interface for debugging.
  • 2 pieces of Pololu TB6612FNG Dual Motor Driver Carrier with paralleled outputs for each motor
  • 3 pieces of Pololu Ball Caster with 3/8" Metal Ball
  • 8 pieces of QRD1114 (via 8 bit ADC)
  • 2000 rpm china production motors. I dont know what brand is :slight_smile:

I will try it @48 mhz later. PID execution time seems to be slow now.

It’s wonderful man!. Can you give us some piece of code that how you can read adc channels to give feedback to pid loop? And how did you calculated kp,ki,kd?
Thanks !