1. Build Model
2. Prepare the data using scaler
3. Do Training
4. Result
The below circuit switches power source between USB, and Battery.
which work is proper in the case of;
USB, Battery -> VDD
OFF, OFF -> OFF
OFF, ON -> Battery
ON, OFF -> USB
ON, ON -> USB