Measuring Power Supply

I don’t think this will be useful to you. Better look at the pictures and the code here Измерение уровня заряда аккумулятора на Ардуино