Published on

Wall Follower

Contributed By - C.Vineel

Aim

To follow a wall (The wall refers to a boundary line of any shape) .The robot has to simply follow the wall wherever the wall leads to, the robot must go there.

Hardware Used

  1. Arduino Uno.

  2. Breadboard.

  3. Ultrasound Sensors(X3).

  4. 12 Volt Battery.

  5. L293d Motor Driver Chip With Breakout Board.

  6. 150 RPM Motors.

  7. Chassis (2 Wheel).

  8. Regular Size Castor Wheel.

Resistor

WORKING

This Robot Uses 3 Ultrasound Sensors(Left(l),Right(r),Center(c)).The Robot first moves forward.If the distance measured between any of the sensors and a wall is less than 12 cm then it means that a wall is found(sensor is active) and this has to followed. The robot responds in the way that is given in the table below.

SENSOR ACTIVERESPONSE
c onlyTurn right or left
r onlyMove Forward
l onlyMove forward
l and rMove forward
l and cTurn Right
r and cTurn Left
all sensorsTurn 180 degree and Reverse.
No SensorMove forward

(before a wall is found)

9.No Sensor STOP ,Turn Right Search for a wall,if not found come back to initial position,Then Turn Left And Search for a wall and start following it as soon as it is found.

(After A wall is found)

It is also made sure that the wall follower lies at a distance range of 3-10 cms from the wall According to the following table.

SENSOR ACTIVEDISTANCE FROM WALLRESPONSE
Leftless than 3Turn Right
Leftgreater than 10Turn Left
Rightless than 3Turn Left
Rightgreater than 10Turn Right

This will be helpful in case of walls which are not straight,round walls.It can even avoid obstacles of any shape.

The Robot Cannot Turn 90degree Perfectly near turnings so there is a high chance it may either collide with the wall or deviate slant wards.The above arrangement removes these difficulties.

Multiple Authors: Satcheel Reddy Chamakoora and C.Vineel ra and C.Vineel