enter image description here

Are the IR sensors used in Line following Robot and Obstacle avoidance Robot with Arduino UNO different ? If yes , where do we buy these parts online ? I used the following sensor in my Line Follower and am not getting result as it’s detecting obstacle instead of black line .


The sensor you have used is fine. To make an effective line following robot you need at least 2-3 sensors.

Here is one using 2 LEDs either side of the line:
2 sensor robot

And here is a 3 sensor robot:
3 sensor robot
Notice that one LED stays on the line.

And finally a 5 sensor robot:
5 sensor robot

The following websites have good step by step guides where they explain the various techniques:

When I made my line following robot I used 2 of the following sensor:
IR sensor

These sensors were great as they pointed in towards each other, making a focal point. You can do this to your sensor by bending the LEDs slightly towards each other.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.