Design And Construction Of An Ir Based Obstacle Detection For Load Switching Using 8051 Micro-controller