Possibility of single-atom detection on a chip