Pololu Robotics & Electronics
Menu
My account Comments or questions? About Pololu Contact Ordering information Distributors

Pololu Forum

Line Following Robot


#1

I am new at programming with arduino.I am using qtr sensor (6 sensor)
I need a code that works with PID control.Are there any sample code so that i can study.


#2

Refer to this sample code (CREDITS TO POLOLU FOR THE CODE AND EXCELLENT DOCUMENTATION)
test.c (7.6 KB)
Look after line 188 ie. refer study the int main() function
this is code is written for Pololu’s Orangutan Dev Board i guess


#3

Hello, dragonboy.

The LineFollower example in our zumo-32u4-arduino-library is another PID line following example for the Arduino IDE, though you will need to modify it to work with your hardware.

-Nathan