
keyestudio
www.keyestudio.cc
36
Project 10: Photo resistor
Introduction
After completing all the previous experiments, we acquired some basic understanding
and knowledge about Arduino application. We have learned digital input and output,
analog input and PWM. Now, we can begin the learning of sensors applications.
Photo resistor (Photovaristor) is a resistor whose resistance varies according to
different incident light strength. It's made based on the photoelectric effect of
semiconductor. If the incident light is intense, its resistance reduces; if the incident light
is weak, the resistance increases. Photovaristor is commonly applied in the measurement
of light, light control and photovoltaic conversion (convert the change of light into the
change of electricity).
Photo resistor is also being widely applied to various light control circuit, such as light
control and adjustment, optical switches etc.
We will start with a relatively simple experiment regarding photovaristor application.
Photovaristor is an element that changes its resistance as light strenth changes. So we will
need to read the analog values. We can refer to the PWM experiment, replacing the
potentiometer with photovaristor. When there is change in light strength, there will be
corresponding change on the LED.
Hardware required
Photo resistor*1
Red M5 LED*1
10KΩresistor*1
220Ωresistor*1
Bread board*1
Bread board jumper wires*several
Connection for R3:
Содержание Basic starter kit
Страница 1: ...1 ...
Страница 10: ...keyestudio www keyestudio cc 8 Connection for 2560 R3 ...
Страница 17: ...keyestudio www keyestudio cc 15 Connection for 2560 R3 ...
Страница 21: ...keyestudio www keyestudio cc 19 Connection for 2560 R3 ...
Страница 25: ...keyestudio www keyestudio cc 23 Connection for 2560 R3 ...
Страница 29: ...keyestudio www keyestudio cc 27 Connection for 2560 R3 ...
Страница 39: ...keyestudio www keyestudio cc 37 Connection for 2560 R3 ...
Страница 43: ...keyestudio www keyestudio cc 41 Connect the sensor to analog pin 0 Connection for R3 Connection for 2560 R3 ...
Страница 62: ...keyestudio www keyestudio cc 60 Connection for 2560 R3 ...
Страница 66: ...keyestudio www keyestudio cc 64 Connection for 2560 R3 ...
Страница 77: ...keyestudio www keyestudio cc 75 Manual for LED segment display ...
Страница 78: ...keyestudio www keyestudio cc 76 Connection for R3 Connection for 2560 R3 ...
Страница 90: ...keyestudio www keyestudio cc 88 Connection for 2560 R3 ...
Страница 94: ...keyestudio www keyestudio cc 92 ...
Страница 95: ...keyestudio www keyestudio cc 93 Connection for R3 Connection for 2560 R3 ...