MisterBill2
- Joined Jan 23, 2018
- 27,869
Now that the circuit is known, and the performance is defined, it is simple to define two conditions: With the LDR dark so that it has a very high resistance, the resistor R must supply enough current to turn on the transistor fully. Also, with the LDR illuminated the LDR resistance must cause the base voltage to drop below 0.7 volts, or whatever base voltage causes the relay to release. Thus the resistance of R depends on the resistance of the LDR when it is illuminated. Now it becomes a classic voltage divider problem. Vb =12V( Rldr/ R+Rldr) =<0.7 volts.
Rldr is the resistance of the LDR device when illuminated, R is the total resistance in the circuit between the base and the 12 volt source, and Vb is the base voltage, which I have assumed to be 0.7 volts, but actually it is the base voltage at. which the relay releases.
Rldr is the resistance of the LDR device when illuminated, R is the total resistance in the circuit between the base and the 12 volt source, and Vb is the base voltage, which I have assumed to be 0.7 volts, but actually it is the base voltage at. which the relay releases.







