Raspberry Pi Project Help


A 5-port SATA board for a Raspberry Pi 4 Model B is possible, but not through the 40-pin HAT connector alone—the Pi 4 does not expose PCIe or USB 3 on that header.
The practical architecture is:

Text


Pi 4 USB 3 Type-A port
        │ short USB 3 cable
        ▼
USB 3 hub controller
   ├── USB-to-SATA bridge → SATA 1
   ├── USB-to-SATA bridge → SATA 2
   ├── USB-to-SATA bridge → SATA 3
   ├── USB-to-SATA bridge → SATA 4
   └── USB-to-SATA bridge → SATA 5
Important constraints
  • All five drives share one Pi USB 3 link, so aggregate throughput is limited to roughly 300–400 MB/s in practice, not five independent SATA-speed channels.
  • The board needs an external power supply. The Pi header cannot power five drives.
  • Five 2.5-inch drives can require substantial 5V startup current; 3.5-inch drives additionally require 12V.
  • Each SATA port needs power control/protection, decoupling, and correctly routed high-speed differential pairs.
  • A USB 3 cable must connect the board to one of the Pi’s blue USB-A ports; GPIO can optionally handle drive-power control and status.
  • Linux compatibility depends on choosing USB-to-SATA bridges with reliable UASP, SMART, and unique serial-number support.
A cleaner high-performance product would use a Compute Module 4 carrier, where exposed PCIe can feed a PCIe switch and SATA controllers. For an Amazon Pi 4 Model B, however, the USB-hub architecture is the realistic option.
To design it, I need two decisions:
  1. 2.5-inch SATA drives, 3.5-inch drives, or both?
  2. Should the board also power the Pi from the same external supply?
Component selection, datasheet verification, schematic capture, and PCB layout require Agent mode.
Choose 2.5-inch drives
Use 2.5-inch only
Power Pi separately
Size for both drive types

Name
Pin #
Type
Current
Max Current
Part Type
Pin Orientation
Section
3V3
1
Power Out
0.65A
3A
Terminal
Top
POWER
5V
2
Power Out
0.65A
3A
Terminal
Top
POWER
SDA/GPIO2
3
Bi-Directional
0.65A
3A
Terminal
Left
I2C
5V
4
Power Out
0.65A
3A
Terminal
Top
POWER
SCL/GPIO3
5
Bi-Directional
0.65A
3A
Terminal
Left
I2C
GND
6
Power Out
0.65A
3A
Terminal
Bottom
GND
GCLK0/GPIO4
7
Bi-Directional
0.65A
3A
Terminal
Right
GPIO
GPIO14/TXD
8
Bi-Directional
0.65A
3A
Terminal
Left
UART
GND
9
Power Out
0.65A
3A
Terminal
Bottom
GND
GPIO15/RXD
10
Bi-Directional
0.65A
3A
Terminal
Left
UART
GPIO17
11
Bi-Directional
0.65A
3A
Terminal
Right
GPIO
GPIO18/PWM0
12
Bi-Directional
0.65A
3A
Terminal
Left
PWM
GPIO27
13
Bi-Directional
0.65A
3A
Terminal
Left
GPIO
GND
14
Power Out
0.65A
3A
Terminal
Bottom
GND
GPIO22
15
Bi-Directional
0.65A
3A
Terminal
Left
GPIO
GPIO23
16
Bi-Directional
0.65A
3A
Terminal
Left
GPIO
3V3
17
Power Out
0.65A
3A
Terminal
Top
POWER
GPIO24
18
Bi-Directional
0.65A
3A
Terminal
Left
GPIO
MOSI0/GPIO10
19
Bi-Directional
0.65A
3A
Terminal
Left
SPI 0/1
GND
20
Power Out
0.65A
3A
Terminal
Bottom
GND
MISO0/GPIO9
21
Bi-Directional
0.65A
3A
Terminal
Left
SPI 0/1
GPIO25
22
Bi-Directional
0.65A
3A
Terminal
Left
GPIO
SCLK0/GPIO11
23
Bi-Directional
0.65A
3A
Terminal
Left
SPI 0/1

Raspberry Pi 2 3 4 5 Model B