One of my DIY spectrometer designs was published in The MagPi. You can view issue 24 here or you can check out this github link which contains the word document.
As one of my ‘loyal readers’ has pointed out (thanks Nick), the schematic in the MagPi has the LED in the wrong way. Be sure to connect the negative side of the LED to Ground and the positive side to GPIO25.