Code developed on an Intel 80c50 microcontroller to run an autonomous robot which tracks electromagnetic path buried under the surface of a table.