I am quite new to electronics and I would like to combine these 2 circuits together so that during complete darkness on the LDR, the LED would turn on instantly and when light falls on the LDR there would be around a 1 or 2 second delay before completely shutting off. I would like this to keep running and not just a one-time thing where once the LED completely shuts off, the LED would not light up again even in complete darkness.
The circuit would be running of a 5V DC power supply and powering an LED array.
I have the 2 circuits below working separately, but have no idea how to combine them together.
I tried connecting the delay circuit to the output of the dark sensor (LED) but it did not work.
I would like to achieve the desired effect: