This is an old project that I found on my computer and decided to share with you guys. It’s that famous line following robot, made the simplest way possible, using only basic components such as LM358 OpAmp, LDR, Resistors and Transistors.
The LM358 comes with two Operational Amplifiers and I used it as comparator to make the robot stay on the right path.