📖Light Sensor - LDR
Detect light level using Light Dependant Resistor


|
todo
Program Code
' Reading Analogue Devices
' Potentiometer.txt
' Kic8
' Our example assumes your device is conncted to ADC1
SYMBOL MyDevice = 1
DO
' Read Analogue into Variable W0
' at the end of the reading, the variable W0
' will have a value in the range 0..1024 (decimal)
A2D MyDevice , W0
LOOP
Related Circuits:
Related Components:
Electrical References:
Related Commands:
Shop
£ 1.12 each
Sensor Light - Light Dependant Resistor
Product Overview
The NSL 19M51 from Advanced Photonix is a CdS photoconductive cell in TO-18 ceramic plastic encapsulated for moisture resistance.
- Maximum light resistance of 100kohm at 10lux
- Dark resistance of 20Mohm
- Power dissipation at 25°C is 50mW
- Voltage rating (peak AC or DC) is 100V
- Operating temperature range from -60°C to 75°C
- Spectral peak wavelength of 550nm