Good day.
I built a very simple circuit that activates a light using a PIR sensor through a DPDT relay. The relay has a feedback that produces the latching and the light stays on until it is deactivated with a NC button that cuts the power to the relay.
Now I want to add a delay to the relay deactivation of a few seconds (4 or 5 would be fine).
I thought about a capacitor and a resistor that would keep the relay coil energized for those seconds, but I can't do it.
Does anyone have any idea where to connect the capacitor? Or some other simple way to do it. I don't want to use a timer for something so simple.
The circuit diagram is attached.

I built a very simple circuit that activates a light using a PIR sensor through a DPDT relay. The relay has a feedback that produces the latching and the light stays on until it is deactivated with a NC button that cuts the power to the relay.
Now I want to add a delay to the relay deactivation of a few seconds (4 or 5 would be fine).
I thought about a capacitor and a resistor that would keep the relay coil energized for those seconds, but I can't do it.
Does anyone have any idea where to connect the capacitor? Or some other simple way to do it. I don't want to use a timer for something so simple.
The circuit diagram is attached.





