To adjust sensitivity you can use variable resistors.
In your case since the 24 V is constant and the load resistance is almost constant (relay), better to go for a resistor in series with the relay rather than using a linear regulator to convert 24v to relay voltage.
By variable resistors you mean a potentiometer? Sorry for being stupid
Yes, i have been thinking about that. But a transistor is smaller. What about a galvanic separated output?
Most of my many solar garden lights are turned on and off by LDRs. The actual resistances of the LDRs are very different and change as the LDRs get sunburned.
You will have much better accuracy if you use photo-diodes or photo-transistors instead.
I have been trying to find a good way to use photo-transistors. But how do i adjust the sensitivity?
Doesn't the photo-transistors work like a true or false way, either on or off?
you could buy 'dozens' of LDRs and match them yourself
Not sure what you mean by sensitivity.......do you mean the voltage? sorry, but I don't follow
For driving a load with a lower voltage there are a few ways; depending on how much current needed for the load, current sinking of the op-amps. How stable is the voltage for the LDR/op-amp circuit? Is current drain an issue?
*LDR matching
Well yes i guess i could do that. Hopefully i would find some that are pretty close to eachother.
Good tip!
Another thing i have been wondering about is how to choose wich LDR to use. There are a lot of different
types ranges etc to choose from.
*Sensitivity
Well the circuit i have made it really depends on if the components are 100% accurate otherwise it wont work.
In other words it wont work in reality
So i have to have something to adjust the circuit with and make it less sensitive for voltage variations due to component accuracy and surrounding conditions.
For example if LDR ref (Refrence voltage, negative on all op-amp's) and LDR 1 (positive on op-amp 1) has the same amount of light on them. LDR ref could have a greater voltage that LDR 1 never could give out.
Also if LDR 1 has less light on it than LDR ref i want to be able to change the offset voltage to the op-amp.
In my circuit example LDR ref has 100% light and gives a refrence voltage and if LDR 1 has less light and gives 99% it will trigger the output on the op-amp. I want to be able to adjust the allowed offset voltage.
*Current drain
I dont think its a problem. If it is i will have to get a larger rectifier. At the moment the maximum is 24VDC/2A
Thanks!