This document outlines an automatic power supply control project that selects power from four different sources - mains, generator, inverter, and solar - when any single source fails. The project uses four switches connected to a microcontroller to demonstrate failure of each power source. The goal is to provide uninterrupted power to loads like industries, hospitals, and homes. The system can be expanded to include other power sources like wind. Microcontrollers are programmed devices widely used in embedded systems to control projects like this one.