This package shows how to build a low-cost spectrophotometer of visible light using ARDUINO and MATLAB. A spectrophotometer is a device that analyses the concentration of a chemical solution by absorption of light in a specific wavelength.
On this project, the monochromator that separates the white light in a rainbow and selects a single light beam, was done by controlling a servo-motor that spins a piece of old DVDs as a mirror prism. The servo-motor needs an external power source.
In MATLAB, I programmed an interface that controls the ARDUINO.
This interface helps the user to make the analysis of a graphic, excluding solvent data and showing the electromagnetic spectrum absorbance of a given chemical substance. With this interface, as well as with the outcome graphic, the user can see the peak of absorbance and make the analyses of concentration on the right wavelength.
This package contains the MATLAB code, the sketch showing how it was built and electric circuit.
Filipe Almeida (2021). Building a low-cost Spectrophotometer of visible light using ARDUINO and MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/58218-building-a-low-cost-spectrophotometer-of-visible-light-using-arduino-and-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!