A spectroscopic method using a spectroscopic device, wherein the spectroscopic device includes a light source part including a main light source and a plurality of auxiliary light sources, a diffraction part including a diffraction grating, a detection part including a plurality of pixels and an actuator, and an analyzing part connected to the detection part, wherein the spectroscopic method comprises:
- directing a first light, which is emitted from the light source part, to be incident on a target object such that a second light is reflected from the target object based on the first light being incident on the target object;
- diffracting the second light reflected from the target object to produce a third light;
- detecting the third light;
- rotating and moving the detection part using the actuator to change a resolution per pixel of at least some pixels of the plurality of pixels in a wavelength-dependent manner;
- obtaining information on wavelengths according to positions of the plurality of pixels of the detection part;
- and
- determining wavelength information corresponding to a first pixel of the plurality of pixels based on obtaining information on wavelengths corresponding to a second pixel of the plurality of pixels by detecting the third light with the second pixel,
- wherein the plurality of auxiliary light sources are configured to emit light rays of different wavelengths.