I have to make an engineering project which is a portable solar phone charger. One thing I need to do in it is to somehow charge the phone (android) from the battery (which is charged by solar panels) and simultaneously send data about the battery level to the phone through the same usb connection. Is this even possible to do? If so, could you please advise a way to do it? Would arduino be helpful?
I know that usb has separate lines for data and power, but I don’t know how a phone can receive this data and whether it will work while charging. I was thinking about using arduino, but it doesn’t seem to be well suited for charging a phone (maximum current output is rather low). Would it work if I made separate circuits, one for charging a phone and another for reading the data from voltmeter and sending it to the phone through the other pins on usb?
I’m sorry for such a tremendous question, I just don’t have much experience with electronics (not even a year at college), and I must somehow do all this stuff.