The basic function of a spectrometer is to take in light, break it into its spectral components, digitize the signal as a function of wavelength, and read it out and display it through a computer. ... In most spectrometers, the divergent light is then collimated by a concave mirror and directed onto a grating.