I have asked about the circuit which will, when plugged on 12V DC, turn on the relay, and after 0.5 seconds turn it off, although 12V is still on. You suggested me a parallel connection of capacitor 470 uF and 5kOhms resistor before the relay. It worked. But now I need it to take 30-60 seconds before turn off the relay. If I am right I would need very strong (also very big) capacitor, so can it be done in some other, smarter way?



