The visible and near-infrared hyperspectral spectrometer is composed of different components that can divide photons based on their wavelengths. This system is considered an optics tool designed in a non-reflective box to prevent the scattering of photons. The photons are directed onto a collimator to eliminate the spectral shifts that may occur when light enters the interference filter at oblique angles. The photons are reflected onto a mirror and a diffraction grating. The diffraction grating separates the incoming photons into the visible and near-infrared spectrum. Typically, scientists are interested in the light spectrum ranging from 350 to 850 nanometers for this application. Once the photons are split, they create analog voltage signals, and a microcontroller is used to convert the signals into wavelengths.