Can we connect LDR pin to 5 V instead of 3 V

Hi, what is the operating voltage range of LDR. Can we connect LDR to 5 V instead of 3.3 V as mentioned in the tutorial?

The LDR (Light Dependent Resistor) is also known as a Photoresistor. It is a simple device that has the characteristic of changing its resistance based on the amount of light that hits it. Its resistance will be lower when a light is shone on it. When the light is removed, the resistance will be at its highest.

ldr-circuit
The easiest way to use the LDR is in the voltage divider configuration. The voltage that appears at the analog input will vary depending on the amount of light hitting the LDR. The LDR can be connected to either 5V or 3.3V. The LDR appears as a variable resistor in the circuit below. We also use a 1K or 330 ohms resistor along with the LDR in the above circuit(R1).

1 Like

@deshpande.vallabh29 LDRs useful in light or dark sensor projects.basically LDR is high i.e 1000000 ohms and its range is 5mm. yes, why not we can connect LDR to 5v instead of 3.3 v.

LDR can be connected to 5V pin as Bolt Wifi module has inbuilt feature of voltage regulation and will convert 5V to ready to use 3.3V.

LDR pin can be connected to either 5V or 3.3V because wifi module has inbuilt voltage regulator that automatically convert 5v to 3.3v

@sudeeari7 It is recommended to connect the LDR to the 3.3 V pin. Supplying excess voltage may damage the LDR and the Bolt device.

I recommended you to connect the LDR to the 3.3 V pin. if we give excess voltage may be damage the LDR