As a fast growing field, robots are greatly used to achieve the desired task more accurately and mitigate the difficulties in odd environments where human face immense difficulties. In this paper an obstacle avoidance robot has been designed using basic gates. It can detect the obstacle and directs itself with the help of five sensors. When sensor detects an obstacle it gives the pulse high and vice-versa. A differential drive model has been chosen, which has two wheels and a cluster wheel. Left and right motor are used as a physical machine and it will be controlled by logic; K-map has been used to do it. Basic gates help to execute the equation of motors as well as to make robot faster, precise and efficient. To make more comprehensible comparative time delay estimation has been added in this paper.