Hi guys, I would like help on designing a dark sensing circuit which outputs either a logic high or low depending on the threshold set.
I have included a schematic of the circuit I am using at the moment. The component values were chosen mainly by trial and error. I am using a 10Kohm potentiometer to set the threshold. Any ideas on improving the circuit? I was hoping that someone could help me go through with calculation on choosing component values. I'm having trouble setting the threshold to the exact point I want.
For further reference what other sort of circuit could I have used to get the desired output. I also thought of using a comparator (good idea?).
Thanks in advance for the help
I have included a schematic of the circuit I am using at the moment. The component values were chosen mainly by trial and error. I am using a 10Kohm potentiometer to set the threshold. Any ideas on improving the circuit? I was hoping that someone could help me go through with calculation on choosing component values. I'm having trouble setting the threshold to the exact point I want.
For further reference what other sort of circuit could I have used to get the desired output. I also thought of using a comparator (good idea?).
Thanks in advance for the help