When fire detects at one corner, then that information will be sent to the robot through XBEE interfaced at UART Port of the 8051. Then the robot will start navigating to the corner. An IR sensor array is interfaced to the IO line of 8051, in order to traverse the arena.