In this example we connect an LDR to analog 0 and depending on the value read in we then vary the brightness of an LED connected to Pin 9 using PWM. The input read from the analog pins will be …
Tag:
LDR
[lebox id="1"]
-
-
In this example we connect a photoresistor to an Arduino, the value read from the photoresistor corresponds to the amount of light present. The photoresistor is connected to analog pin 0 in this example. A photoresistor (or light-dependent resistor, LDR, or photo-conductive cell) is a …
[lebox id="2"]