Skip to main content
Reworded questions
Source Link
Wizard79
  • 151
  • 1
  • 6

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

WhatQuestion 1: how can I want is to power my Raspberry Pi Zero from an externala power source, while being able at the same time to safely plug and unplug the USB OTG host.?

Bonus questionQuestion 2: in the specific scenario with two Raspberries, if I power both boards with the same power supply (so the 5V would be already shared), would it be still bad to have power from USB OTG and USB PWR IN at the same time?

Question 3: what happens if I cut the VBUS conductor inside the OTG cable? The device board would still be detected by the host? The GND conductor has to be cut as well?

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

What I want is to power my Raspberry Pi Zero from an external power source, being able at the same time to plug and unplug the USB OTG host.

Bonus question: in the specific scenario with two Raspberries, if I power both boards with the same power supply (so the 5V would be already shared), would it be still bad to have power from USB OTG and USB PWR IN at the same time?

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

Question 1: how can I power my Raspberry Pi Zero from a power source, while being able to safely plug and unplug the USB OTG host?

Question 2: in the specific scenario with two Raspberries, if I power both boards with the same power supply (so the 5V would be already shared), would it be still bad to have power from USB OTG and USB PWR IN at the same time?

Question 3: what happens if I cut the VBUS conductor inside the OTG cable? The device board would still be detected by the host? The GND conductor has to be cut as well?

added 233 characters in body
Source Link
Wizard79
  • 151
  • 1
  • 6

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

What I want is to power my Raspberry Pi Zero from an external power source, being able at the same time to plug and unplug the USB OTG host.

Bonus question: in the specific scenario with two Raspberries, if I power both boards with the same power supply (so the 5V would be already shared), would it be still bad to have power from USB OTG and USB PWR IN at the same time?

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

What I want is to power my Raspberry Pi Zero from an external power source, being able at the same time to plug and unplug the USB OTG host.

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

What I want is to power my Raspberry Pi Zero from an external power source, being able at the same time to plug and unplug the USB OTG host.

Bonus question: in the specific scenario with two Raspberries, if I power both boards with the same power supply (so the 5V would be already shared), would it be still bad to have power from USB OTG and USB PWR IN at the same time?

Source Link
Wizard79
  • 151
  • 1
  • 6

Powering Raspberry Pi Zero when USB OTG is in device mode

I'm using a Raspberry Pi Zero as a USB device, i.e. it is connected and powered via the OTG USB port to a USB host (in this case another Raspberry Pi, but it could be a PC or any other USB host):

enter image description here

However with this setup I can't unplug the device without unpowering it. If instead I power the Raspberry Pi Zero with an external power source (via GPIO or via USB PWR IN) I can't also connect the USB host, because two discrete 5V power sources would power the Raspberry Pi Zero and this would be bad, I guess.

What I want is to power my Raspberry Pi Zero from an external power source, being able at the same time to plug and unplug the USB OTG host.