claudiu.l93
Posts: 1
Joined: Thu Apr 09, 2015 8:12 pm

Power for external HDD on Raspberry PI

Thu Nov 05, 2015 12:25 pm

Hello,

I want to build a home server with Raspberry PI and I want to attach a 500 gb external HDD.

My question is : The hdd has not a dedicated power supply, just the usb cable. If I will connect it directly to Raspberry PI, do I need a dedicated power supply just for the HDD ?

If yes, which power supply should I use ?

Thank you!

gkreidl
Posts: 6307
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Power for external HDD on Raspberry PI

Thu Nov 05, 2015 1:56 pm

Yes, if you have a B+ or RPi2. You need a really good 5V2A power supply (get one of those with a cable attached directly).
In /boot/config.txt you have to add:
max_usb_current=1
Don't add other high power (>100mA) USB peripherals.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Power for external HDD on Raspberry PI

Thu Nov 05, 2015 1:58 pm

gkreidl wrote:Yes, if you have a B+ or RPi2. You need a really good 5V2A power supply (get one of those with a cable attached directly).
In /boot/config.txt you have to add:
max_usb_current=1
Don't add other high power (>100mA) USB peripherals.
This is a good quality PSU

https://www.raspberrypi.org/products/un ... wer-supply
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

AxelStone
Posts: 3
Joined: Thu May 21, 2015 6:02 am

Re: Power for external HDD on Raspberry PI

Thu Nov 05, 2015 6:55 pm

gkreidl wrote:Don't add other high power (>100mA) USB peripherals.
Why? Power Supply will not support it? Perhaps if exists some power supply of 3A, could it be?

gkreidl
Posts: 6307
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Power for external HDD on Raspberry PI

Fri Nov 06, 2015 2:02 am

AxelStone wrote:
gkreidl wrote:Don't add other high power (>100mA) USB peripherals.
Why? Power Supply will not support it? Perhaps if exists some power supply of 3A, could it be?
No,the maximum USB current for all 4 ports together is either 0.6 A (default) or 1.2 A (if the config option is set). A HDD may draw between 600-900 mA when the motor when is spinning up.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Power for external HDD on Raspberry PI

Fri Nov 06, 2015 7:03 am

Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
carriba
Posts: 140
Joined: Tue Nov 18, 2014 5:55 pm
Contact: ICQ

Re: Power for external HDD on Raspberry PI

Fri Nov 06, 2015 8:04 am

Prefer the use of an active USB hub, meaning, a USB hub that is powered by an external power supply. Do not rely on the RPi to provide suficient juice to your USB HDD when connected to ist USB port.

JMK8
Posts: 42
Joined: Tue Apr 28, 2015 10:00 am

Re: Power for external HDD on Raspberry PI

Fri Nov 06, 2015 1:41 pm

I have an internet gateway/fileserver/firewall... box with two Pi's and disk drive all powered via a generic 5V 5A PSU. So as to not draw the drive current through the Pis USB port I carefully removed the sleeving of the drive USB cable and cut the 5V wire. The 5V feed to the drive I then fed direct from the 5V power supply. I also feed the Pis direct from the 5V 5A PSU. With a bit of soldering it works for me :)

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Power for external HDD on Raspberry PI

Fri Nov 06, 2015 1:52 pm

Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

gkreidl
Posts: 6307
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Power for external HDD on Raspberry PI

Fri Nov 06, 2015 6:55 pm

carriba wrote:Prefer the use of an active USB hub, meaning, a USB hub that is powered by an external power supply. Do not rely on the RPi to provide suficient juice to your USB HDD when connected to ist USB port.
I'm running two RPis from HDDs, directly connected to USB. Rock solid. No need to have another 5V2A power supply for the hub running.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

asdbimbaj
Posts: 8
Joined: Mon Mar 11, 2013 8:17 pm

Re: Power for external HDD on Raspberry PI

Sat Nov 07, 2015 1:52 pm

If you want to power your hdd just add too your /boot/config.txt configuration directive max_usb_current=1

Setting max_usb_current=1 sets the available current over USB to 1.2A (default is 600mA)

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Power for external HDD on Raspberry PI

Sat Nov 07, 2015 2:26 pm

asdbimbaj wrote:If you want to power your hdd just add too your /boot/config.txt configuration directive max_usb_current=1

Setting max_usb_current=1 sets the available current over USB to 1.2A (default is 600mA)
Very strange that information was already posted :(

viewtopic.php?f=28&t=125176#p839250
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Return to “Troubleshooting”