Using a basic sensor - photo resistor (LDR)

Let us quickly look at one more example of using a photo resistor. Looking at this example will help us understand the use of elementary sensors in a better way. A photo resistor is also known as a Light Dependent Resistor (LDR). The resistance of an LDR varies with incident light. The resistance of an LDR decreases with an increase in the intensity of light. So, if the surroundings have very bright light, then the resistance of the LDR will be at its lower end. Whereas, when the surroundings are dark, then the resistance of the LDR will be at its maximum. Keeping this property of LDRs in mind, we can think of a way to measure the corresponding voltage as a result of the changing resistance, using ...

Get Learn Arduino Prototyping in 10 days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.