Hello,
is there a way, if I plug a powerbank on the usb c port of my arduino uno r4 wifi to retrieve the charge level of the powerbank???
Regards
Hello,
is there a way, if I plug a powerbank on the usb c port of my arduino uno r4 wifi to retrieve the charge level of the powerbank???
Regards
No clue as to what you are asking. If it is the compatible power bank it will run your Arduino until its batteries discharge. If that does not answer your question spend some more time and add some words to your question clarifying what you want to know.
If it's a smart power bank and you can turn the R4 into a USB host and you have the software to communicate with the battery, then yes it is possible
Do you want to measure the voltage of the power bank with Arduino?
I would like to know the remaining charge of my battery (a solar powerbank)
See post #3
Interesting project. First you need to know what type of batteries, LI have a very flat discharge and voltage measurement is not very good. For this you will need a Coulomb counter. See this link: LTC4150 Coulomb Counter Hookup Guide - SparkFun Learn
Conversely Pb batteries have a much larger discharge curve and voltage can give a relative good indication as to the state of charge.
Also, in many cases, the displayed ‘voltage’ is only relevant when the load is applied.