A research team at the University of California San Diego have developed a smartphone attachment that can provide information on…