I'm putting together a bunch of sensors to log barometric pressure, temperature, humidity, and daylight brightness. Since it will be logging data independently of a computer, it will also need a separate power source. I have a 18650 lipo battery, the fancy kind that don't lie about their capacity, and i would like to log the battery voltage with the rest of the data to see how the voltage may effect the readings. And also tell it to turn off before it reaches the minimum voltage so i don't damage the battery.
This is a wiring diagram of what i plan to do:
The first thing is the battery charger, which charges via usb. The next thing is the big green battery. Then it goes to the step up converter to give the arduino the voltage it needs to operate properly. For monitoring the battery charge i just have the positive end of the battery leading straight into an analog input. Im not entirely sure if thats right. Should i have a high value resistor between there to make sure im not going to blow up the arduino or does the input pin only take the current it needs?
I also am wondering about where the voltage is on the battery. The negative and the positive end have half the voltage each correct? A 4.2v batter has a +2.1v and a -2.1v on each side. So if it's like that, then i shouldn't be putting the battery out - to ground. Does it matter?
If you think i should change anything else like the output voltage let me know please. Also if i should add some passive components. i think i should add a capacitor in parallel with the battery but i think that's all ready covered by the boost converter.