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 that is the diffracted second 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;
- and
- obtaining information on wavelengths according to positions of the pixels of the detection part,
- wherein the auxiliary light sources are configured to emit light rays of different wavelengths.