23

I want to use my Raspberry Pi model B as a NAS, but I'd like to avoid using a USB hub. I have a 2.5" Western Digital 1 TB USB hard disk drive (this one), and a 2 A power supply for the Raspberry Pi that I'm planning on using with it.

Will this work? Could the Raspberry Pi power this hard disk drive, if I connect only one hard disk drive and nothing else?

Peter Mortensen
  • 2,004
  • 2
  • 15
  • 18
  • No one can definitively answer this question, without your specific hardware. Not just the same model of components, but the specific unit. The only way to know for sure is to try it. – Steve Robillard Dec 06 '14 at 14:35
  • Could anyone tell me if this will work? As per Steve's comment, no, but we can tell you it might not. – goldilocks Dec 06 '14 at 14:57
  • @goldilocks, What do you mean? I know it might or it might not, but which one, that's the question. – vkjb38sjhbv98h4jgvx98hah3fef Dec 06 '14 at 17:20
  • 1
    The Western Digital pdf for the WD blue series (possibly the unit in the enclosure) says a maximum of 1 amp peak current (start up?) with a normal read/write current of 340mA. – joan Dec 06 '14 at 17:22
  • @goldilocks Is there data somewhere on what it can reliably deliver? – vkjb38sjhbv98h4jgvx98hah3fef Dec 06 '14 at 17:34
  • Sorry, that last [now deleted] comment was a bit incorrect. You can start reading where I did if you want: it seems to boil down to the F3 1100 mA main power fuse. The pi itself when running will use 700 of that. So you might be able to squeeze by, but the consequences of doing that might be undesirable ;) – goldilocks Dec 06 '14 at 18:37
  • @goldilocks, Hmm ok. Thanks for the sources, I guess that with the amount of power that my hd can draw it's indeed better to use a hub. By the way, I'd say that a link to these notes (or a quote) would be a good answer to this question (contrary to the reason for closing I'd say that this is a factual and not a subjective answer). – vkjb38sjhbv98h4jgvx98hah3fef Dec 06 '14 at 18:47
  • @SteveRobillard See goldilocks' answer; factual, not subjective. I don't think that complicated questions (like these) should be closed as opinion based. There's nothing subjective about it. It might be complicated but that's exactly why people want to know the answer. But I must admit that I have since a long time now lost my faith in SE moderating. – vkjb38sjhbv98h4jgvx98hah3fef Dec 06 '14 at 18:48
  • @DrMister good practice says to use a powered hub to avoid potential data loss/corruption, but some people have been able to make it work without a hub. So who do you believe? As you are happy with answer I will reopen it. Even though his answer is not definitive - note the italics in his answer. – Steve Robillard Dec 06 '14 at 19:33
  • @SteveRobillard, I understand, but I'd say that the best answer to my question is not a definitive yes or no, but a quote from the r-pi's power usage notes, as goldilocks commented. It also answer similar questions about the rpi's ability to power usb devices, so I'd consider that a good, objective answer. Even though it isn't definitive. – vkjb38sjhbv98h4jgvx98hah3fef Dec 08 '14 at 10:43

6 Answers6

15

These type of enclosed hard drives conform to the USB specification 2.0 specification, even though it's USB 3.0 it must be able to fall-back. USB 3.0 provides lots more power, but since it falls back it must conform to the USB 2.0 500 mA maximum current. The hard drive itself might use more power, but the built-in electronics will detect when to use staggered spin up (takes longer to spin up basically)

The inrush current must not exceed 500 mA either; this is when you plug it in, and it spins up. The 3.5" versions draw much more current on spin up since they always need a dedicated power supply and do not need to conform to the USB specification. That is why it's important to use at least a 1.5 A power supply. The Raspberry Pi can use 800 mA at peak times on its own. So if you have Wi-Fi maybe it's good to use 2 A or 3 A power supplies.

The Raspberry Pi was built to the USB 2.0 specification, but unfortunately due to hardware problems the Raspberry Pi resets itself (brown out) when it needs to provide the 500 mA inrush current because of poly fuse and voltage regulator problems or rubbish power supplies that cannot provide the peak current in time. The newest Revision 3, B+ or 2 do not have this problem and this USB hard disk drive will run without any problem.

To get it working on older Raspberry Pi's you either have to bridge the polyfuse or solder +5 directly to the +5 V USB pins.

I have used a few USB hard disk drives on older revisions using the workaround and it's stable.

The hard disk drive used in that enclosure is WDBUZG0010BBK.

Peter Mortensen
  • 2,004
  • 2
  • 15
  • 18
Piotr Kula
  • 17,307
  • 6
  • 65
  • 104
7

From my personal experience, WD Blue HDD (WD10JPVT/WD10JPVX with 0.55A average current) might work more or less reliably (== require about 1 reboot / month) connected directly to RPi without any powered hub.

Your particular HDD requires much higher currents, so it's very unlikely you'll be able to do anything reasonable without an external power.

lenik
  • 11,541
  • 1
  • 30
  • 37
  • Good catch that this actually isn't a Blue. I could not find any power specs for this online, but it should say on the box or the unit itself. – goldilocks Dec 07 '14 at 11:17
  • Maybe the HDD it self requires more power but it doesn't mean that it draws that much from the USB port. These enclosures have embedded electronics to help peak power used during spin up – Piotr Kula Dec 07 '14 at 18:42
4

If your HDD does not have its own power source (excluding USB), it will generate a problem.

For a RPi B, all power that will be drawn by USB port will pass through the main regulator. It is a linear regulator, this part will heat and might overheat when working. RPi B USB ports are not intended/designed to power high-load devices.

Andrei Rînea
  • 413
  • 1
  • 4
  • 11
jlandercy
  • 446
  • 2
  • 9
2

The Raspberry Pi delivers power to the USB ports directly from its input jack, not via any circuitry inside the computer. Therefore, providing you can find a 5 V power adapter that can supply enough current to run the combination of the drive and the Raspberry Pi, you should have no issues.

I powered a Raspberry Pi with a gaming grade keyboard rated for 1.0 A with a 2.1 A Nexus Charger without any negative side effects.

It is also worth considering that if the drive has a dual USB connector (a second connector just for power) it may be possible to power the Raspberry Pi and drive from two power adapters.

goobering
  • 10,730
  • 4
  • 39
  • 64
Segfault
  • 21
  • 1
  • However there is a polyfuse in-line with the microUSB power socket. I think it's about 1.1 amps for the model B and 2 amps for the model B+. Of course you can bypass the fuse if you provide 5V via the expansion header. – joan Dec 07 '14 at 15:12
0

I've found this article very interesting. The hint from it works well in rpi 2b+ with 5v & 2a support.

Alex Antonov
  • 205
  • 3
  • 13
  • 1
    Could you clarify what hint you imply? If it is max_usb_current=1 in config.txt, it is necessary but not enough. I have usb hdd that draws 0.85A I still have to find the way to power it via pi2. – mlt Oct 28 '15 at 16:13
0

My solution to power a WD Elements Portable 3TB drive, is to connect power directly to the GPIO port. In other cases the voltage drop due to a current of about 1A was too much, causing instability. So, use a proper rated wire to connect to the port, a micro USB cable won't do.

  • I think it would be more accurate to say some micro USB cables will not do. I have at least one that cannot provide enough current to the pi with an HD attached to the USB, but half a dozen or so others that do. Powering the pi directly through the 5V pins (if this is what you mean here) bypasses the regulator and polyfuse, a risk that probably should not be recommended to most users. – goldilocks Jun 14 '16 at 13:05