How to connect the microcontroller power supply to the battery