A dark detector can be made using a variable resistor. The sensitivity of the circuit can be adjusted with a variable resistor.
High resistance-> more darkness to switch on the LED.
Low resistance-> less darkness to switch on the LED.
Automatic Light detector using variable resistor
A light detector senses light. As the light level increases and LDR meets the lowest threshold resistance, the circuit automatically turns on the LED D1. We can adjust the sensitivity using the preset VR1-10K.
LESS RESISTANCE(VR1)-> LESS DARKNESS TO SWITCH OFF THE LED
Just swap the resistor and LDR to convert a dark sensor to a light sensorFree Circuit Design Software: learn to use Editor quickly and easily