2

I want to build a very small Pi case including a 2TB hard drive, with only a single power cable for both the drive and the Pi. It looks like a good option is an enclosure such as this, designed for two 3.5" SATA drives. How can I power the Pi from something like this? Ideally, the enclosure's power button would trigger a shutdown sequence.

http://www.newegg.com/Product/Product.aspx?Item=N82E16817182144

  • If you go with power from usb, I'd at least take a housing with USB3.0, which delivers sth like 1A for your device. (also use a usb3.0 host), the normal power adapters for external disks are like 12v1A, probably the better choice! – Gotschi Jan 9 '14 at 14:17
1

It depends on the internals of the enclosure. If it provides 5v power through the USB cable, this should power the Pi. (I have reservations about the wisdom of allowing the Pi to be powered through its hub, but that is the way the rev B is designed). You would need to verify the power feed, and its capacity.

The second part of your question is not feasible. You would need to initiate a Pi shutdown sequence, but need to maintain power until this is finished. Not impossible, but not really practicable.

  • I hadn't thought about back powering, I will look into that. I've already found this shutdown circuit: mausberrycircuits.com/products/…, but I'm not sure how to make the enclosure's button serve both purposes. – Elliott B Jan 9 '14 at 1:15
  • These type of circuits use software in the Pi to remove power after safely shutting down. Most computers do similar. You could possibly extend this to remove power to the disk enclosure, but the existing switch would just cut off power - leaving you with a timing problem. – Milliways Jan 9 '14 at 2:45
1

These are 3.5" drives that must use a power pack. USB power is not sufficient. As it will use a typical molex connector to power the drive you can easily tap into 5v rail.

enter image description here

Its unclear if you want to put the Pi inside there? But either way you can bring the +5 and GND out side too by splicing the cable. Usually the power pack is rated for peak plus a bit. Hard drives will only peak at spin up then it uses allot less power, leaving allot of room for the Pi.

Doing the power button is a competently different story. As it stands if you turn it off the Pi will turn off. That should be a different question because I can think of atleast 3 ways of doing it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.