Elegoo Arduino Uno R3 – Photoresistor How to

By: Rayan Alhababi, Reporter

Picture

A photoresistor or photocell is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity. A photoresistor can be applied in light-sensitive detector circuits, and light- and dark-activated switching circuits. It’s also called light-dependent resistor (LDR). In this tutorial you will learn how to use a photoresistor with and Arduino Uno.

 

For this tutorial you will need:

  • Arduino Uno
  • Breadboard
  • Photoresistor
  • LED
  • 220 Ohm & 10KOhm resistors

Picture

Let’s see how a photoresistor react in light. Build the circuit above and notice how led brightness change.
The resistance value becomes smaller when there is much light in the room. So in the dark the led remains off because the resistance has become very big.

The Circuit:

Picture