Dear everyone,
I'm working on a project which is a portable solar phone charger. Solar panels charge a battery, and the battery charges the phone through a usb cable. On the phone, I will make an app that shows the battery level on the charger. My question is: can my android phone (Galaxy S6 or S9) somehow read the voltage on the data lines of usb (the voltage will come from a voltmeter that shows the battery level)?
This question might seem a little off-topic, but it is actually related just to android: is it capable of such a low-level tasks like reading the voltage directly from usb?
I'm working on a project which is a portable solar phone charger. Solar panels charge a battery, and the battery charges the phone through a usb cable. On the phone, I will make an app that shows the battery level on the charger. My question is: can my android phone (Galaxy S6 or S9) somehow read the voltage on the data lines of usb (the voltage will come from a voltmeter that shows the battery level)?
This question might seem a little off-topic, but it is actually related just to android: is it capable of such a low-level tasks like reading the voltage directly from usb?