1

I want to have a Raspberry Pi connected to my phone via my phone's USB-C port, so that I can send ADB commands from the Raspberry Pi to the phone. Ideally, I do NOT want to have a separate battery to power the Raspberry Pi, and instead I would rather just draw power from the phone itself to power the Raspberry Pi.

Is this possible? What specs should I look for in a phone to ensure it can do this?

To be clear: I want to power the Raspberry Pi directly from the phone itself.

For a concrete example, the Raspberry Pi Zero draws 1.2 amps at 5.1 volts i.e. 6.1 watts ( https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#power-supply ). The USB standard says that USB 3.2 Gen 2 can deliver 7.5 watts ( https://www.etechnophiles.com/usb-port-power-output/ ). The Pixel 8a apparently has USB 3.2 - ( https://www.devicespecifications.com/en/model/a90b5fd4 ). So, theoretically, if I hooked up a Raspberry Pi Zero to a pixel 8a, the Raspberry Pi Zero would power on. Is this correct? Would I be able to program the Raspberry Pi Zero to issue ADB commands to the pixel 8a while it was being powered?

8
  • Just to confirm what you are asking, you state you want to power the raspberry pi and make mention earlier of a microcontroller - are you referring to a raspberry pi pico? Commented Jul 1 at 20:51
  • It is NORMAL USB protocol for a host to provide power to a USB device. You need to implement a USB gadget on the microcontroller. Indeed this is the normal operation for Thonny connected to a Pico. Commented Jul 1 at 22:51
  • You can check these answers. raspberrypi.stackexchange.com/questions/23316/… Commented Jul 2 at 10:45
  • 4
    Unfortunately there are many types of USB ports. Even if we narrow the question to USB C there are many ways to implement USB C power. To put it another way, this question is similar to someone asking if a car can tow a fishing boat. Some might be able to but many can not. Commented Jul 2 at 12:44
  • Thanks everyone. Sorry I missed that this is a duplicate from 2014. By microcontroller I meant any Raspberry Pi. Arduino would be more work but I'd be happy getting info about that too. I imagined the answer would be nuanced depending on the phone. But how would I go about finding a phone that could do this? Commented Jul 2 at 22:12

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.