Study of Simple Spectrophotometer Design Using LDR Sensors Based On Arduino Uno Microcontroller
Study of Simple Spectrophotometer Design Using LDR Sensors Based On Arduino Uno Microcontroller
E-mail : [email protected]
1. Introduction
A spectrophotometer is a common instrument that has been used widely in physics and chemistry to
analyze a substance by measuring the transmittance or absorbance of the sample as a function of
concentration. Qualitatively, the determination is based on the peaks generated on the spectrum of a
particular element at a certain wavelength, whereas the quantitative determination is based on the
absorbance value generated from the spectrum of the sample. The design principle of spectrophotometer
originates from Beer-Lambert's law that explaining the interaction between matter or chemicals with
electromagnetic waves that having a certain wavelength. Spectrophotometer consists of several main
components including polychromatic light source, monochromator, sample cell, detector and reader
system. Spectrophotometer is used in various fields of medical and science, so currently,
spectrophotometer has been widely produced to meet the needs of the laboratory. However,
spectrophotometers on the market have a fairly expensive price. The commercial spectrophotometer
produces a high accuracy in the data, but the instrument comes in a "black box" so the user has little
insight into the physical processes related to the measurements.
The need to design and build a spectrophotometer arises from educational objectives for the students.
Many low-cost spectrophotometers have been built with various designs. Knagge et al. used LEGO
pieces for construction of the optical support elements of the UV-visible spectrophotometer with a
silicon photo-detector and a Sylvania miniature-lamp light bulb that was powered by two 1.5-V batteries
for the light source [1]. Yeh et al. constructed a multi-wavelength spectrophotometer with plug-and-
measure LED light source modules and TCS230 chip from TAOS, Inc. as photo-detector [2]. For each
wavelength, they used a different LED, so they need to calibrate the instrument with a commercial
spectrophotometer with a standard solution to overcome the emission bandwidth. A cell phone
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
9th International Conference on Physics and Its Applications (ICOPIA) IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1153 (2019) 012099 doi:10.1088/1742-6596/1153/1/012099
spectrometer has been built by Scheeline [3], with the aim to teach the principle of spectroscopy using
the equipment available to and owned by most students. By using a white LED light source, plastic
sample cuvette, holographic transmission grating, and any camera that produces JPG files, the designs
were able to teach the workings of optical instrumentation components and systems rather than the
analysis of sample solution. Albert et al. built a low-cost spectrophotometer with a simple design using
LEGO blocks [4]. The spectrum wavelengths were calculated using Fraunhofer diffraction equation
based on the size of the diffraction grating in this experiment. There are many more homemade
spectrophotometers built with various designs and components. Each of them has a different character,
and its own advantages. All of the instruments used increased understanding of the physical processes
of the spectrophotometer system.
In our work, we study the design of a low-cost, simple homemade spectrophotometer using LDR sensors
and Arduino Uno microcontroller. Arduino Uno is an open source electronic platform with the
microcontroller chip of ATMega328 type as the main component. Arduino Uno as a microcontroller has
a central role in this system. Arduino controls the movement of the stepper motor to determine the color
spectrum of the light, read the data from the sensor, and act as a data processing unit read from the
sensors. White light LED is used as the light source and a thin film diffraction grating is used as
monochromator. The light-dependent-resistor (LDR) is used as the light sensors and coupled with Op-
Amp system.
2. Experimental Methods
The visible light spectrophotometer system is designed according to block diagrams in Figure 1. The
hardware assembly was done by installing the whole component into a system, by connecting several
components in accordance with their respective functions. The instrument of the spectrophotometer
system consists of the light sensor, the signal conditioner Op-Amp, the colour spectrum selector system,
the display system, and the power supply. The design schematic for an Arduino Uno based
spectrophotometer is shown in the Figure 2. For the installation of each system component refer to the
circuit diagram as shown in Figure 3.
2
9th International Conference on Physics and Its Applications (ICOPIA) IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1153 (2019) 012099 doi:10.1088/1742-6596/1153/1/012099
material. Therefore, when the light intensity is low (dark), the LDR resistivity is high and when the light
intensity is high (light), the LDR conductivity is high.
3
9th International Conference on Physics and Its Applications (ICOPIA) IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1153 (2019) 012099 doi:10.1088/1742-6596/1153/1/012099
value for particular color. If we already know the highest absorption of a color based on the stepper
position, we can directly input the value by pressing C button and enter the value of the stepper position
that corresponds with the color.
4
9th International Conference on Physics and Its Applications (ICOPIA) IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1153 (2019) 012099 doi:10.1088/1742-6596/1153/1/012099
Figure 4. Spectrum of CuSO4.5H2O for some Figure 5. Absorbance versus concentration for
various concentration solution CuSO4
Figure 6. Spectrum of light green solution for Figure 7. Absorbance plot of light-green food
some various concentration dye solution
The performance of the Arduino based spectrophotometer is tested by measuring the absorption of some
solutions. The first measurement is a CuSO4.5H2O solution with various concentrations as shown in
figure 4. The profile of CuSO4.5H2O shows the same range of wavelength absorbed by the solution that
is in the red spectrum. The spectrophotometer system is able to differentiate the concentration of the
solution, indicated by the absorption value of different concentrations as shown in figure 5. The solution
with the higher value of concentration has a higher absorption value. The increasing of absorption value
is linearly proportional to the concentration of the solution. However, the absorption value measured by
our system cannot be compared with the measurement of commercial spectrophotometer since the
system is built with limited instruments.
The other solutions used to test the spectrophotometer system are two types of food dye, namely red
(strawberry flavor) solution and light green (melon flavor) solution. Measurements were made by
dropping some quantities of food dye concentration with water-filled cuvette. The number of drops will
indicate the different concentration of solutions. The spectrum of light-green solutions in figure 6 show
the uniform profile of several different concentrations. The solution absorbs the light in the range of the
green and blue spectrums. This can be caused by the color of the solution that has a light green instead
of green. The more the number of drops given, the greater the concentration of the solution, and the
greater the absorbance value of the solution, as shown in figure 7. The same phenomenon is also shown
by the red solution. In figure 8, the spectrum of the light absorbed by the red solution is the green
5
9th International Conference on Physics and Its Applications (ICOPIA) IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1153 (2019) 012099 doi:10.1088/1742-6596/1153/1/012099
spectrum. The ratio between absorbance and the concentration of the red solution is shown in figure 9.
The absorbance value increase for the higher concentration of the solution.
Figure 8. Spectrum of red solution for some Figure 9. Absorbance plot of red food dye
various concentration solution
4. Conclusion
The Arduino based spectrophotometer has been used to analyze the absorbance of several solutions with
various concentrations. In the CuSO4.5H2O and food dye solutions, the absorbance value is increased
by increasing the concentration. Even though this system cannot accurately measure the wavelength
absorbed by the sample, it still can be used to conduct experiments on Beer-Lambert’s law and study
the physical process of spectrophotometry that is often hidden in a commercial spectrophotometer. The
design can be used for educational purpose at the undergraduate level with low-cost instruments. The
system can be improved by substituting some components and by calibrating with the standard
spectrophotometer.
5. References
[1] K. Knagge and D. Raftery, "Construction and Evaluation of a LEGO Spectrophotometer for
Student Use," The Chemical Educator, vol. 7, pp. 371-375, December 01 2002.
[2] Y. Tai-Sheng and T. Shih-Shin, "A Low Cost LED Based Spectrometer," Journal of the
Chinese Chemical Society, vol. 53, pp. 1067-1072, 2006.
[3] A. Scheeline, "Teaching, Learning, and Using Spectroscopy with Commercial, Off-the-Shelf
Technology," Applied Spectroscopy, vol. 64, pp. 256A-268A, 2010.
[4] D. R. Albert, M. A. Todt, and H. F. Davis, "A Low-Cost Quantitative Absorption
Spectrophotometer," Journal of Chemical Education, vol. 89, pp. 1432-1435, 2012/10/09
2012.