Playing around with an LDR / Photo-resistor

The LDR / Photo-resistor is basically a very simple light sensor that changes its resistance with light, lowering with more light.

arduino-LDR-photoresistor1-400x344

Wiring

To wire your LDR to Arduino, connect the following pins:

  • Ldr Pin 1 –> Arduino 5V
  • Ldr Pin 2 –> Arduino Pin A0
  • Ldr Pin 2 –> Arduino Ground via Resistor 10K

 

Recommended Software

  • none

Instructions and Code

Με ετικέτα: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*