https://i0.wp.com/microcontrollerslab.com/wp-content/uploads/2015/10/multiple-input-charge-controller-using-pic-microcontroller.jpg