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

Line following without calibrating?


This is my first post here so I’m not sure if this is the right place.
I’m working on a senior design project currently and am using a qtr-8rc to follow a line as one of my functions. I was curious if I could code this to not need calibration every time I start it up? This would be rather annoying for my application.
I’ve seen plenty of resources on calibration but no code that attempts to read the line from raw values. Is it just too difficult? If anyone knows how some code to push me in the right direction would be helpful.



Yes, you could store the QTR calibration values in your microcontroller’s EEPROM to avoid having to calibrate every time you power cycle your robot. A similar question was asked in this thread. You might find the code there useful to help get you started.

- Amanda