Obstacle distance sensor is one of the most ground breaking projects which was undertaken by us in the
field of embedded system.
As we all know that world is analog, therefore analog computing is required more and more in some issues to bridge the gap between real time and tentative life.
In this project we have chosen arduino as our platform and atmega 328 as a microcontroller. We have used infrared sensors to detect existence of obstacle in front of robot and also to detect at what distance (in centimeters) the obstacle is detected .We have used interrupt timer in this project ,as the obstacle is detected ,the interrupt routine is executed. Once the interrupt routine gets executed, then first of all the distance is calculated out through another subroutine which defined inside it. After the distance is calculated the direction is determined out in which robot has to be moved and then accordingly the actuators are given control.
On the part of actuators we have used the theory of differential drive i.e. for example to turn sharp right left wheel will be rotated in forward direction and the right side motor is rotated in backward direction.
As a part of monitoring the distance of obstacle we have used serial communication between out robot and PC via IC RS 232.It can also be done by on board monitoring using LCD and send in the data to LCD.
In this entire project power supply used is of 5V in all the places except for motor IC, in which 12Vpower supply is used.