
Great user name AnalogKid,Diode bridge > filter capacitor > LM7812 regulator > output capacitor.
Circuit is in the datasheet.
What is the relay coil resistance / current / power rating? Depending on this, the component values will change. AND the IC might need a heatsink.
Here is a typical circuit from the innergoogle. You do not need the transformer.
ak
View attachment 65155
You didn't mention time delay previously however........The attachment of the relay is pictured will this change anything?
If the 12 V bulb also is being powered through the regulator IC, that is 120 mA for the relay coil and 120 mA for the bulb. Increase C1 in the schematic to 1000 uF, and increase the size of the heatsink.
ak