I have only been doing Arduino projects for about 6 months so this a probably a stupid question so I appologise in advance.
I have been looking for an inexpensive solution to powering an Ardiuno project I am working to the following rough requirements:
- Small in size not much bigger than 9v
- 5v output
- Rechargable, its in a sealed unit with USB to charge
I found the following Item on Aliexpress
They are cheap LiPos (500mah) that fit in 9v package and have built in USB port for charging.
The plan is you connect to to mini buck converter to give my Arduino, LCD, RTC etc life.
I had planned to use a Voltage sensor on the 9v battery to measure the drop in voltage and provide battery level information back to the user based on measured results etc. However when testing it to gather stats about voltage over time I found that it stayed at ~9v until the second it was dead then dropped to ~0.3v in less than a second. This obviously means I cannout use voltage to predict battery levels.
What I have found:
I took onr of the batteries apart to see what was happenening and it seems to be a ~4v liPo with a buck converter up to 9v plus charging ciruitry. So it is 4v Converted up to 9v then into my Buck converted down to 5v :(.
The work around:
To make any sense of the real voltage I need to measure the LiPo before any converters. I have soldered to wires directly to the internal battery and drilled a hole to expose them for my voltage sensor I have not tested this yet but I have attached the picture.
This will probably work but it feels like I am doing things the hard way, what do other people use to determine and show the battery levels in there projects when it needs to be rechargable?
Are there better modules out there which include battery status or am I missing somthing obvious?
Thanks in advance for your help.