https://circuitdiagrams.in/automatic-changeover-switch-using-555-timer-ic/
Automatic Changeover Switch Circuit Using 555 Timer IC