The Arduino microcontroller is currently one of the favorite tools of makers, and many teachers have used it in teaching or experiments. In addition, light-emitting diode (LED) smart lighting is the worldwide trend in lighting. There are many teaching demonstrations or applications of color addition using LEDs. Furthermore, the Internet of Things (IoT) is a popular emerging technology today, and the sensor is the most important component in the perception layer of the IoT, which makes teaching, research, or application related to sensors very important. Therefore, this study shows that an Arduino microcontroller can be used as an experimental setup for the teaching of light color mixing, light intensity detection, and ambient temperature sensing via a tricolor (red, green, and blue [RGB]) LED and two types of sensors: photoresistors and thermistors. The setup has intuitive, concrete, and multifunctional features, and is expandable, which is different from the typical experimental setup designed for only a single specific purpose. It is also suitable for students learning about light color mixing and sensor-related physics course experiments or demonstrations, whether they be in high school or college.

1.
G.
Planinšič
, “
Color mixer for every student
,”
Phys. Teach.
42
,
138
142
(
2004
).
2.
J.
Millspaw
,
G.
Wang
, and
M. F.
Masters
, “
Learning about light and optics in on-line general education classes using at-home experimentation
,” Presented at the
12th Education and Training in Optics and Photonics Conference
(
2013
).
3.
P. S.
Carvalho
and
M.
Hahn
, “
A simple experimental setup for teaching additive colors with Arduino
,”
Phys. Teach.
54
,
244
245
(
2016
).
4.
S.
Nakadate
 et al, “
A color mixer for mixed color education and its outreach activities
,”
Opt. Rev.
26
,
478
486
(
2019
).
5.
S. L.
Ullo
and
G. R.
Sinha
, “
Advances in smart environment monitoring systems using IoT and sensors
,”
Sensors
20
,
3113
(
2020
).
6.
A. Dias
Tavares
 Jr.
,
L. P.
Sosman
,
R. J. M.
da Fonseca
,
L. A. C. P.
da Mota
, and
M.
Muramatsu
, “
Using a photo-resistor to verify irradiance inverse square and malus’ laws
,”
AIP Conf. Proc.
992
,
193
198
(
2008
).
7.
F.
Marinho
,
C. M.
Carvalho
,
F. R.
Apolinário
, and
L.
Paulucci
, “
Measuring light with light dependent resistors: an easy approach for optics experiments
,”
Eur. J. Phys.
40
,
035801
(
2019
).
8.
W.
Setya
 et al, “
Design and development of measurement of measuring light resistance using light dependent resistance (LDR) sensors
,”
J. Phys.: Conf. Ser.
1402
,
044102
(
2019
).
9.
S.
Nieddu
, “
High accuracy-wide range resistance measurement for thermistor sensors monitoring
,” Presented at the
IEEE International Instrumentation and Measurement Technology Conference
(
2012
).
10.
M.
Boleman
, “
Mechanical equivalent of heat—Software for a thermistor
,”
Phys. Teach.
46
,
92
94
(
2008
).
11.
V. V.
Gomes
,
S. C. F.
Cavaco
,
C. P.
Morgado
,
J.
Aires-de-Sousa
, and
J. C. B.
Fernandes
, “
An Arduino-based talking calorimeter for inclusive lab activities
,”
J. Chem. Educ.
97
,
1677
1681
(
2020
).
12.
J.
Hendee
,
N.
Amornthammarong
,
L.
Gramer
, and
A.
Gomez
, “
A novel low-cost, high-precision sea temperature sensor for coral reef monitoring
,”
Bull. Mar. Sci.
96
,
97
109
(
2020
).
13.
Readers can access the Arduino program code for light color mixing at TPT Online at https://doi.org/10.1119/5.0066060, under the Supplemental tab.
14.
Readers can access the Arduino program code for light intensity detection at TPT Online at https://doi.org/10.1119/5.0066060, under the Supplemental tab.
15.
Readers can access the Arduino program code for ambient temperature sensing at TPT Online at https://doi.org/10.1119/5.0066060, under the Supplemental tab.
16.
RapidTables
, “
RGB Color Codes Chart
,” https://www.rapidtables.com/web/color/RGB_Color.html, accessed Aug. 7, 2021.
17.
Datasheet of photo conductive cell, CdS, LDR (model no.: KE-10175) from Waitrony Optoelectronics Ltd., https://www.es.co.th/Schemetic/PDF/KE-10715.PDF, accessed Aug. 7, 2021.
18.
19.
W.
Dittrich
,
L.
Minkin
, and
A. S.
Shapovalov
, “
Measuring the specific heat of metals by cooling
,”
Phys. Teach.
48
,
531
533
(
2010
).
20.
G.
McIntosh
and
B. S.
Sharratt
, “
Thermal properties of soil
,”
Phys. Teach.
39
,
458
460
(
2001
).

Supplementary Material

AAPT members receive access to The Physics Teacher and the American Journal of Physics as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.