I draw a new schematic, which uses a operational amplifier to turn on a n-channel mosfet when the night comes.
I used a article from internet to make the connections of the unused operational amplifier. I tested today the schematic and it works. The power supply is an 12V, LM317 power supply, but I am planning to use a 12V 2A SMPS for this project. The LED_load connector is for connecting a few leds with series resistor. The total power consumption of the leds will be about 100-200mA.
This is the schematic: View post on imgur.com
Please have a look at the schematic and tell me what you think. I am interested especially if the connection between the operational amplifier and mosfet is good.
Is the schematic correct ?