IR spectroscope

Hi guys. I am in need of help of creating a spectroscope circuit using IR tx and rx. I would like to detect wavelength ranges from the arduino output coming from the IR tx. I am using a proximity sensor flying fish module. I cant seem to find one. Is it possible to detect the wavelength received by the IR rx and display the output on print? :confused: :confused: :confused:

To measure light at different wavelengths, you need detectors, filters and/or a dispersion grating.

DIY spectrometers described here.

Near IR filter spectrometer here.