By implementing a HER2-specific Nb, we generated functional K+ and pH sensors, which specifically stained HER2-positive breast cancer cells. The gene discussed is ERBB2; the disease is breast cancer.