History of asteroids discoveries
Discovery of each asteroid was a different story. Here you can read selected discovery stories of first 100 minor planets as they were written in book of J.J. von Litrow: Die Wunders des Himmels, published in 1878, Berlin.
Prelude to asteroid search
There were only 6 known planet in times of Copernicus, Galileo and Kepler. Uranus and Neptun as 7th and 8th planet of Solar system were discovered in subsequent 2 centuries. In those times when astronomers could compute orbits of planets it showed that between Mars and Jupiter is a gap. The idea that there should be another planet arose also from Titius - Bode law. According to this, there should be a planet orbiting between Mars and Jupiter. So astronomers started to search for missing planet.