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