Maker.io main logo

Getting Started with NVMe Base Duo for Raspberry Pi 5

2024-06-27 | By Pimoroni

License: See Original Project Raspberry Pi

Courtesy of Pimoroni

Guide by Pimoroni

About NVMe Base Duo

NVMe Base Duo lets you connect up two large NVMe solid state drives (SSD) ‎to the PCIe (that's 'Peripheral Component Interconnect Express') connector ‎on Raspberry Pi 5 for oodles of fast storage.‎

You could use one drive to store your data and one to store incremental ‎backups, or you could get really fancy and use both drives to set up a RAID ‎array. Read on to find out how to put it together!‎

What You'll Need

If you're planning on sourcing your own NVMe SSD, then bear in mind the ‎following:‎

  • The SSD needs to be NVMe M.2. Don't get this confused with SATA ‎M.2 drives which sometimes look similar but are not compatible. NVMe ‎and SATA refer to the interface communications standards, and M.2 to ‎the form factor.‎
  • Duo can take SSDs of physical sizes between 2230 and 2280 (the ‎numbers refer to the size of the board - i.e., 22mm wide by 30mm to ‎‎80mm long).‎

There is a list of SSDs that we've tested with Duo on the shop page.‎

Note that currently you cannot boot from NVMe drives installed on NVMe ‎Base Duo. We hope the Raspberry Pi firmware will support this in the future, ‎but for now, it can only boot from drives that are the root device on the PCIe ‎Bus. i.e., not behind a packet switcher/multiplexer.‎

Putting It Together

The kit contains the following:‎

kit_1

  • A NVMe Base Duo PCB.
  • A flexible ribbon cable with writing on one side.
  • Four sticks on rubber feet.
  • A standoff set.‎

If you purchased a bundle that includes SSDs then you will also have:‎

• Two 250GB or 500GB NVMe drives.‎

ATTACHING THE STANDOFFS TO THE DUO

Inside the standoff set, you will find:‎

  • Four long M2.5 hex standoffs, for attaching the base to your Pi
  • Eight short M2.5 screws
  • Four long M2.5 screws
  • Two short M2 hex standoffs for mounting the drives
  • Four teeny tiny M2 screws

‎(You may also have a few spares!)‎

If you're missing anything, drop support a line (please do double check the ‎bag before you do though, the ribbon cables in particular like to hide in the ‎corners).‎

STANDARD BASE ASSEMBLY

Attach the long standoffs to the top of the base with four of the short M2.5 ‎screws.

Base Assembly

 

ALTERNATE BASE ASSEMBLY (WITH HAT)‎

If you are planning on mounting a HAT (or other hardware) on top of your Pi 5, ‎you might find it useful to use the longer screws.‎

Attach the long standoffs to the top of the base with four of the long M2.5 ‎screws. The screw thread will poke out of the top of the standoff, providing ‎some handy mounting points that you can attach your HAT's standoffs to.

Base Assembly

THE RIBBON CABLE

We suggest connecting the ribbon cable to the base next before you attach ‎anything else to it.‎

One end of the cable is wider and is labelled ADDON - this is the end which ‎goes into the connector on the base. The other end (labelled RPI 5) goes into ‎the Raspberry Pi 5's PCIe connector.

cable_4

When the Base is in its final position, the writing and Pirate logo will face ‎outwards.‎

ATTACHING THE RIBBON CABLE TO THE BASE

The ribbon cable connectors have small plastic clips which you have to 'open' ‎to put the ribbon in, and close again to secure it in place. These clips require ‎very little pressure to move and are quite fragile, so it's worth being careful ‎with them.‎

Note that the clips on the base and the Raspberry Pi work slightly ‎differently from each other!‎

Using tweezers or a fingernail, flip the grey clip of the one of the sockets on ‎the base upwards. It will swivel into an upright position.

Attaching Ribbon Cable

Now gently push the ADDON end of the ribbon cable into the socket, ensuring ‎the side with the writing is pointing downwards. You should see the cable go ‎underneath the line of silver prongs.‎

Attaching Ribbon Cable

Gently rotate the clip back down into its original position. Check that this end ‎of the cable is nice and square in the connector, it will be tricky to adjust it ‎later when the drives are in place.

Attaching Ribbon Cable

ATTACHING THE SSDS

Next, we'll attach the small standoffs that hold the drives in place. Take one ‎of the tiny M2 screws and post it through one of the small holes running ‎down the middle of the board, from the bottom. Use the hole which ‎corresponds to the length of your SSD (2280 if you're using one of our SSDs). ‎Secure it in place with one of the short standoffs.‎

Repeat this process for the second small standoff.

Attaching the SSDS

Unpack your SSD, being careful to avoid touching any of the gold connectors ‎on the end.‎

You will notice a notch breaking up the connectors on one end of the SSD. ‎This is the end which fits into the socket on the base.‎

ssd_9

There is a round semicircular cutout in the middle of the other end. This will ‎sit on top of the short standoff and is where you will secure the SSD to the ‎base.‎

Now carefully push the SSD into the socket. It will only go in one direction ‎and doesn't need much effort.

socket_10

Gently push the SSD down at the other end and secure it in place by ‎screwing another tiny M2 screw into the short standoff.‎

ATTACHING THE SSDS

If you have a second drive to attach, repeat this process!‎

ATTACHING THE RIBBON CABLE TO THE RASPBERRY PI 5‎

Ensure your Raspberry Pi 5 is not powered on!‎

Locate the Raspberry Pi 5 PCIe connector - it is located next to the Pi's on/off ‎switch. It has a brown clip which slides up and down, at right angles to the ‎Raspberry Pi board.‎

switch_12

Carefully lift the clip up by about 1mm.‎

With the Raspberry Pi on your desk, hold your base directly above the Pi's ‎PCIe connector with the SSD pointing away from the Pi.‎

place_13

Gently lower the Base, posting the ribbon into the PCIe connector until you ‎feel that it has gone as far as it can. With your thumb nail or tweezers, push ‎the brown clip down and back in place.‎

FINAL ASSEMBLY

Now is a good time to plug in the SD card to your Pi, before the ribbon cable ‎gets in the way of the slot. If you don't already have a microSD card with ‎Raspberry Pi OS written to it, you can create one using Raspberry Pi ‎Imager (it's available for Windows, macOS and Linux).‎

Now that the two boards are connected, fold the base down under the ‎Raspberry Pi as though the ribbon cable is a hinge. Make sure you don't put ‎the ribbon under any strain.‎

With the Raspberry Pi sitting on top of the base, use the four remaining short ‎screws to secure the Raspberry Pi 5 on top of the base's spacers.‎

spacers_14

If you used the long screws to attach the standoffs, post the long screws ‎through the four mounting holes of the Pi, and then screw the HAT's spacers ‎onto the threads.‎

Finally (and optionally) stick the four rubber feet onto the bottom of the base, ‎one near each corner.‎

Updating Everything

If you're working with NVMe drives, you'll want to be using the most recent ‎version of Raspberry Pi OS (and the bootloader firmware) on your Pi 5.‎

You can update both by opening up a terminal (Ctrl-Alt-T, or find it in the Pi ‎OS menus) and typing the following:‎

Copy Code
sudo apt update
sudo apt upgrade

Once you've finished updating and upgrading, you should then reboot your Pi:‎

Copy Code
sudo reboot

For NVMe drives to play nicely with Pi 5, your bootloader firmware should be ‎dated newer than December 2023. The commands above should have ‎updated it for you, but if you'd like to double check you can enter:‎

Copy Code
sudo rpi-eeprom-update

If it is not post-December 2023, you can update it using the Raspberry Pi ‎Configuration utility (sudo raspi-config > Advanced Options > Bootloader Version).‎

Checking Base Installation

To check that the ribbon cable has been connected correctly and the SSD ‎installed properly, open a Terminal window and type:‎

lsblk

This will show you a list of all the drives available on your Pi - if your drives ‎are successfully connected, there should be entries ‎under nvme0n1 and/or nvme1n1.‎

devices_15

If your drives aren't showing up, turn off your Raspberry Pi and recheck the ‎ribbon cable connections and the SSD installation. Remember that the clips ‎on the base and on your Raspberry Pi 5 both need to be folded/pressed back ‎in place for the connections to work.‎

Next Steps

You should now have a Raspberry Pi 5 with lots of extra capacity to store all ‎your lovely data!‎

We love to see what you're making - drop us a line on Twitter/X (@pimoroni), ‎Bluesky (@pimoroni.com) or other social media and let us know what you are ‎getting up to with Duo.‎

That's all folks!

制造商零件编号 SC1112
SBC 2.4GHZ 4 CORE 8GB RAM
Raspberry Pi
制造商零件编号 SC1153
27W USB-C PSU UL(US), WHITE
Raspberry Pi
制造商零件编号 SC1148
ACTIVE COOLER
Raspberry Pi
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum