Researchers have created an inexpensive system using a smartphone and a lens made with an inkjet printer that can detect lead in tap water at levels commonly accepted as dangerous.