However, I can't find photodiodes that have narrow wavelengths, they all seem to be made for a broad spectrum.
I'm not exactly sure how a CCD works
But how does it detect wavelength?
making your own spectrometer with a CD as a reflective diffraction grating
I can't seem to find much literature on it.
Would you need to add a compensation table to adjust for its shape?