Grundgütiger wrote:....If you change the config.txt file of the Linux system the Raspberry Pi is able to power the hard drive - if your Raspberry's power supply is strong enough....
That seems iffy given the USB power management in the Pi 2 and later. For example, when I looked at the datasheet for the 500GB WD drive that this is based on, the peak (not average, or typical) current is listed as 1A.
See middle of page 3
http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771437.pdf
I do not doubt that you CAN use it, but the power draw from the usb port is going to be continuously bouncing (changing) from around 100 mA to potentially 1A, with almost no decoupling capacitors or any kind of filter. So, you are effectively modulating the 5V power supply rail, on a device where I have a DAC attached to the GPIO connector. That can't possibly improve the SNR of the analog output, let along the power supply at a WiFi dongle.
If you have only 0.3 ohms impedance along that path (I measured 0.35 with a uOhm meter once
), the noise will be potentially outside of the 4.75 - 5.25 limits for USB, unless you add capacitors somewhere...
With an external USB DAC I would be more comfortable, with a HAT DAC, not so much.
If you consider the series of impedances from the rotating drive all the way to a wall-wart power supply... Cables and Circuit boards and Connectors, oh my...
(to paraphrase Dorothy)
Don't take this as another dire warning against overloading a Pi power supply, I just think it would be nice if someone actually PUBLISHED specs for the WD3140LMCW so we could make up out mind it its worth the price of a steak dinner.