Control a spectrometer with an AVR microcontroler