design and construction of an automatic changeover switch microcontroller and switches