Line following obstacle avoidance robot

i want to creat a boundary for a line following obstacle avoidance robot so that it can't leave the boundary when avoiding obstacles that exceeds the boundary instead it turns around ignoring the line and goes the other way. avoinding the obstacle and then continues following the line.

You don't need to ask for permission.
Just do it.

I would suggest using an Arduino

I’m still thinking about one or more IR beacons.
Add a boundary ‘beam’, and its all done.

This sounds like a question from last week.

The first question is, "how does the robot tell the difference between a line and a boundary?". :slight_smile:

In my suggestion, the boundary beams are clipped to define a narrow perimeter of the active area.

When the device ‘sees’ and identifies a boundary, it stops or reverses.