szhorvat
Posts: 29
Joined: Wed Jun 04, 2014 2:07 am

Power external HDD: safe to connect both to RPi and charger?

Tue Jun 17, 2014 2:06 am

I have an external hard drive that I would like to connect to the Raspberry Pi. This hard drive has a single USB connector and must be powered through it. It came with a cable that has two USB A type ends to be connected to two USB ports of the same computer, for sufficient power.

The Raspbery Pi cannot give sufficient power to this hard drive, even when using both of its ports.

Question: Is it safe to plug the data end of the USB cable into the Raspberry Pi, and the power-only end into a USB wall charger? Can this cause hardware damage to either the Raspberry Pi or the hard drive?

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Power external HDD: safe to connect both to RPi and char

Tue Jun 17, 2014 3:05 am

Hardware damage is unlikely bu if you want to be sure you can block the last contact on the usb cable with some paper and tape, isolating the power from the pi.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

totoharibo
Posts: 4437
Joined: Thu Jan 24, 2013 8:43 am

Re: Power external HDD: safe to connect both to RPi and char

Tue Jun 17, 2014 6:43 am

elatllat wrote:Hardware damage is unlikely bu if you want to be sure you can block the last contact on the usb cable with some paper and tape, isolating the power from the pi.
IMHO the solution is a powered USB HUB which powers the RPi and the DD.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5590
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Power external HDD: safe to connect both to RPi and char

Tue Jun 17, 2014 8:14 am

szhorvat wrote:I have an external hard drive that I would like to connect to the Raspberry Pi. This hard drive has a single USB connector and must be powered through it. It came with a cable that has two USB A type ends to be connected to two USB ports of the same computer, for sufficient power.
The Raspbery Pi cannot give sufficient power to this hard drive, even when using both of its ports.
Question: Is it safe to plug the data end of the USB cable into the Raspberry Pi, and the power-only end into a USB wall charger? Can this cause hardware damage to either the Raspberry Pi or the hard drive?
Not really a "safety" issue but rather one of stability, risk of data loss etc. Whilst the use of a very good powered hub**, powered by a 5V 2A PSU (or better) is one solution another possibility is to power both the Pi and HDD from the same multiport PSU, again 5V 2A (or better) thus, to some extent, mimicking what happens in a netbook or laptop etc. Two different supplies can give rise to instability because the "Y cable" tries to "back-power" the Pi (something that some "low-to-medium cost" powered hubs also do). You could also use a single supply and let the "Y cable" back power the Pi with the attendant risk of having bypassed the Pi polyfuse, over-voltage protection etc.
Trev.
** I have yet to find such a hub that costs less than the Pi itself so I prefer to use USB HDD's that can be externally powered w/o the use of a "Y cable".
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
RaTTuS
Posts: 10558
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Power external HDD: safe to connect both to RPi and char

Tue Jun 17, 2014 8:21 am

FTrevorGowen wrote:
szhorvat wrote:I have an external hard drive that I would like to connect to the Raspberry Pi. This hard drive has a single USB connector and must be powered through it. It came with a cable that has two USB A type ends to be connected to two USB ports of the same computer, for sufficient power.
The Raspbery Pi cannot give sufficient power to this hard drive, even when using both of its ports.
Question: Is it safe to plug the data end of the USB cable into the Raspberry Pi, and the power-only end into a USB wall charger? Can this cause hardware damage to either the Raspberry Pi or the hard drive?
Not really a "safety" issue but rather one of stability, risk of data loss etc. Whilst the use of a very good powered hub**, powered by a 5V 2A PSU (or better) is one solution another possibility is to power both the Pi and HDD from the same multiport PSU, again 5V 2A (or better) thus, to some extent, mimicking what happens in a netbook or laptop etc. Two different supplies can give rise to instability because the "Y cable" tries to "back-power" the Pi (something that some "low-to-medium cost" powered hubs also do). You could also use a single supply and let the "Y cable" back power the Pi with the attendant risk of having bypassed the Pi polyfuse, over-voltage protection etc.
Trev.
** I have yet to find such a hub that costs less than the Pi itself so I prefer to use USB HDD's that can be externally powered w/o the use of a "Y cable".
see
http://shop.pimoroni.com/products/pihub ;-p
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

szhorvat
Posts: 29
Joined: Wed Jun 04, 2014 2:07 am

Re: Power external HDD: safe to connect both to RPi and char

Tue Jun 17, 2014 9:57 pm

FTrevorGowen wrote: ** I have yet to find such a hub that costs less than the Pi itself so I prefer to use USB HDD's that can be externally powered w/o the use of a "Y cable".
Thanks for the response. Are you aware of any problems with the 7 port hub mentioned here?

szhorvat
Posts: 29
Joined: Wed Jun 04, 2014 2:07 am

Re: Power external HDD: safe to connect both to RPi and char

Tue Jun 17, 2014 9:59 pm

Thank you all for the replies. Is the information I can find about "backpowering" also apply to the situation I described (i.e. using the Y cable with a separate power supply)? Or does it only apply to powered USB hubs?

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Power external HDD: safe to connect both to RPi and char

Wed Jun 18, 2014 1:30 am

Likely yes, but a voltmeter will tell you for sure.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

Return to “General discussion”