Boncuk
New Member
Here is how I would wire up the circuit.
LDRs have few 10KOhm at bright light and increase resistance into the MOhm range at dark.
Using an OpAmp as comparator having the circuit turn on an LED the non-inverting input must have a higher voltage than the inverting, thus switching the output high which in turn loads the gate of the MosFet and makes the transistor conduct.
The 10K pulldown resistor at the OpAmp output is a pull down resistor for fast gate discharge when the circuit turns off.
Boncuk
LDRs have few 10KOhm at bright light and increase resistance into the MOhm range at dark.
Using an OpAmp as comparator having the circuit turn on an LED the non-inverting input must have a higher voltage than the inverting, thus switching the output high which in turn loads the gate of the MosFet and makes the transistor conduct.
The 10K pulldown resistor at the OpAmp output is a pull down resistor for fast gate discharge when the circuit turns off.
Boncuk
Last edited: