Well im making an arduino line following robot for a project, and i need some help with using a PID controller for the sensors.
Im a total beginner and i have no idea whats PID is and how to use that concept in the MCU code, if there is an example code anyone can provide is much appreciated
For a line following robot, I'm wondering whether it is really necessary to use a PID controller for the motors. You may use stepper motors to make it simple. PID controllers is a bit of an advance concept where each letter stands for Proportional Integral Derivative respectively. If you are using DC motors, it is essential to use a PID controller for smooth control of the robot.
Hey thanks for the reply, well yeah its a bit late but thank you for the reply, i managed to use PID controller and it worked pretty smooth on the line but i had some issues while i was calibrating KP,Ki,Kd constants
i didn't use the arduino PID library instead i coded my own PID algorithm