Raspberry Pi 5 Guide

Last Update: 4/26/2024

Video: Raspberry Pi 5 Setup: Getting Started Guide (Step By Step)

On September 28, 2023, the Raspberry Pi Foundation announced the imminent release of their new single-board computer, the Raspberry Pi 5. The 4GB variant is priced at $60 USD, while the 8GB model is available for $80 USD. I didn’t hesitate to place an order and it arrived in early November. Having created an extensive library of content for the Raspberry Pi 4 over the years (examples here), I anticipate a similar trend for the Raspberry Pi 5.

At the time of this writing, several operating systems are not yet ready or available, but this is certain to change in the coming weeks/months. As they get further along, especially when it comes to Retro Gaming, I’ll be covering it on the channel. In the following sections, we’ll delve into what you can currently do with the Raspberry Pi 5!

Jon

How-To link to a specific section on this Guide: go to the Table of Contents (below) and click a section to reference. Copy the URL from the address-bar of your browser and paste in your video description/post/blog. This will direct a viewer to a specific section in any of the guides you find on this site.

Helpful Resources

Below are links and resources that will be helpful for learning more about the Raspberry Pi 5:

  • Raspberry Pi Imager [ Software Download Page ] – The Raspberry Pi Imager has been updated with support for the Raspberry Pi 5. I recommend using this application to image an operating system (such as PiOS Desktop) to your microSD or SSD.
  • Raspberry Pi News – News and updates from the Raspberry Pi foundation.
  • Raspberry Pi Hardware – Hardware information for the Raspberry Pi 5 and other Pi models.
  • Raspberry Pi Subreddit – A great resource on Reddit for asking questions for finding answers regarding the Raspberry Pi.
  • Raspberry Pi Projects Hub Subreddit – Another great resource on Reddit for the Raspberry Pi.

Q&A

Below are some common questions and answers that you may find helpful.

  1. Can I install Windows 10/11 on the Raspberry Pi 5? Not at the present time. Sometime ago, I released a video on how to install Windows 10/11 to the Raspberry Pi 4 (video here). The CPU is not the same on the Pi 5 as it was on the Pi 4 and therefore it won’t currently work, I did test this to verify. An error was encountered when creating the Windows 11 image, then after rebooting and setting the config.txt with os_check=0, the Pi 5 would just boot to a black screen and Windows 11 would not start. If support is added in the future, I’ll revisit but wanted to let you know the current status. For now, Raspberry Pi Desktop is what I’d recommend installing, you can find full instructions on how to set it up here.
  2. What Retro Gaming Platforms are available for the Pi 5? At present, both Recalbox is in an experimental release and the Batocera team recently released v39 (on 3/8/2024). Coverage of both on this channel will occur very soon, starting with Recalbox.
  3. How can I create a microSD/SSD/USB image with Raspberry Pi Desktop for my Pi 5? Please see here.
  4. I have an previously used microSD card and want to erase everything that’s on it with an empty FAT32 partition, how do I do it? Please see here.

Specifications

Below are the key features of the Raspberry Pi 5:

FeatureDetails
CPU• Quad Arm Cortex-A76 @ 2.4GHz
• Cryptographic Extension support (AES on hardware)
• 512KB per-core L2 caches
• 2MB L3 cache
GPUVideoCore VII graphics, with OpenGL-ES 3.1, Vulkan 1.2
4/8GB RAMLPDDR4X-4267 SDRAM
Display Ports (micro HDMI)• Dual 4kp60 HDMI display output with HDR support
• 4kp60 HEVC decoder
PCIe Port (PCI express)Raspberry Pi connector for PCIe (1 x 2.0 port, additional HAT required)
WiFi802.11ac dual-band Wi-Fi
BluetoothBluetooth 5.0 (with BLE support)
LAN ConnectionGigabit Ethernet
USB Ports• 2x USB 3.0 (capable of simultaneous full throughput)
• 2x USB 2.0
PoEPoE support (additional HAT required)
Dual 4-lane MIPI CSI/DSI transceiversDual 4-lane MIPI CSI/DSI transceivers, supporting:
– 2x display; or
– 2x camera; or
– 1x display + 1x camera
GPIORaspberry Pi 40-pin GPIO header
OtherFan connector; Real Time Clock (RTC); Power button

Feature Breakdown

The Raspberry Pi 5 maintains the smaller credit card-sized form factor as prior models, with much improved performance. That is, the Pi 5 is 2-3 times faster than the Pi 4! The Pi 5 also sports more interfaces, faster bandwidth and the ability to support devices such as SSDs, M.2 and NVMe drives.

  • Faster Processor – The Raspberry Pi 5 features and ARM Cortex-A76 quad core CPU making the Pi 5 2-3 times faster than the Pi 4 (the previous generation Pi). The A76 is clocked at 2.5Ghz but can be overclocked up to 3.3Ghz. However, this is something we’ll have to experiment with in a future video.
  • Faster RAM – The RAM used with the Pi 5 is LPDDR4X-4267 SDRAM which is again much faster than the RAM on the Pi 4 and offers increased bandwidth.
  • Faster USB 3.0 Ports – The USB 3.0 ports on the Pi 5 are also faster and support simultaneous 5Gbps operation.
  • Faster MicroSD – The microSD port on the back of the Pi 5 is also faster and allows using UHS-1 microSD cards.
  • PCIe (PCI Express) Port – A new port was added to the Pi 5, the inclusion of PCI Express 2.0 x1. The PCIe port on the Pi 5 has a maximum supported bandwidth of 500MBps. However, the USB 3.0 ports may be ideal for connecting external storage devices as those ports support 5Gbps/625MBps.
  • Display / Camera Ports – There are two Display/Camera ports on the Pi 5. That is, each port can function as either a Display or a Camera port allowing you to connect two additional displays, two cameras or one display and one camera. The ports are two-lane MIPI DSI display/camera ports and each have a bandwidth of up to 1.5Gbps and is backward compatible with earlier Pi cameras.
  • No 3.5mm Audio Jack – The 3.5mm Audio Jack has been removed on the Pi5. However, you can use Bluetooth speakers or perhaps a USB Audio connector that includes a 3.5mm jack (something I’ll test at a later time).
  • Real-Time Clock – The Pi 5 has a built-in Real Time clock, however for the time to be retained when powered off, it will be necessary to add an external battery.
  • Power Button – The Pi 5 now includes a power button, this is a great feature that was missing in all prior generations of Pi’s.

Where to Buy a Pi

Below are locations that sell the Raspberry Pi 5 (NOTE: The Raspberry Pi 5 is either not yet available on Amazon or overpriced due to high demand, I will update these links as availability improves):

  • Raspberry Pi 5 8GB Model [ Amazon | CanaKit | PiShop.us | VILROS | Other ] – The Pi 5 single board computer (SBC) may be purchased from any of these locations. These links are for the 8GB model.
  • Raspberry Pi 5 4GB Model [ Amazon | CanaKit | PiShop.us | Other ] – The Pi 5 single board computer (SBC) may be purchased from any of these locations. These links are for the 4GB model.

Accessories

Below are some accessories that you may want to consider when purchasing a Raspberry Pi 5 (*NOTE – not all accessories are available on Amazon and will be updated here once they are):

Official

  • Raspbery Pi 5 Power Supply [ Amazon | CanaKit | PiShop.us | VILROS | Other ] – The power supply for the Raspberry Pi 5 is 27 watts and recommended for use with the Raspberry Pi 5.
  • Raspberry Pi Active Cooler [ Amazon | CanaKit | PiShop.us | VILROS | Other] – Without proper cooling, during intensive CPU operations the Pi will get hot and may enter what is called thermal throttling. That is when the Pi slows down to prevent the device from overheating. The Official RPi Active Cooler provides both passive (heatsinks with thermal tape) and active cooling (fan) to keep the Pi running smoothly.
  • Raspberry Pi Case for Raspberry Pi 5 [ CanaKit | PiShop.us | VILROS | Other ] – While a case isn’t required to use the Raspberry Pi 5, it is a good idea to get one to keep it protected.
  • Raspberry Pi Keyboard and Mouse [ Amazon | CanaKit ] – You can use any keyboard and mouse that you may already have available. However, this is the one sold by the Raspberry Pi foundation and one I often use when working with the Pi. The mouse can be plugged directly into the keyboard which means the keyboard and mouse will only use a single USB port on the Pi 5.

General

  • UGREEN Micro HDMI to HDMI Cable [ Amazon ] – you’ll need at least one, two if you want to connect two separate displays to your Pi 4. You’ll connect the first micro HDMI end to the port nearest the USB-C power input. Then 2nd, to the right of that (optional).
  • Beikell Memory Card Reader [ Amazon ] – This is the same USB-A/USB-C card reader shown in this video. I’ve purchased two of these earlier this year and they work great. Keep in mind, there is no storage on this stick, you’ll need to add a microSD or SD card to the adapter. However, it will easily allow you to transfer files between most any device with USB-A/USB-C ports.
  • MicroSD Cards [ Gigastone-256GB | Gigastone 5-Pack 128GB | Lexar 1TB] – You’re likely going to need a microSD card for your Raspberry Pi 5. I’ve selected a few here that I’ve used in the past that I recommend.
  • 10 Slot Micro SD Case/Holder [ Amazon ] – I’ve purchased about 4 of these so far. They are very handy for keeping your microSD cards organized when working with multiple cards. I use them with the Pi 5, Steam Deck and for various other projects.

3rd Party

As compatible products are revealed, they will be added here.


Complete Pi 5 Kits

If you prefer to pickup a single kit that has everything you need, including the Raspberry Pi 5, you might consider getting a kit. Below are the kits I’ve had an opportunity to use and have worked very well:

CanaKit Raspberry Pi 5 Starter Kit

In the video below, we’ll setup the CanaKit Raspberry Pi 5 8GB Starter Kit [Turbine Black Edition]! We’ll setup the kit from unboxing to PiOS Desktop.

Video: CanaKit Raspberry Pi 5 8GB Starter Kit [Turbine] – Setup Guide
  • CanaKit Raspberry Pi 5 8GB Starter Kit [ 8GB Amazon | 4GB Amazon | 8GB/4GB CanaKit website ] – Available in 4GB/8GB options, this kit includes everything you’ll need to get started with the Raspberry Pi 5. The kit includes:
    • Raspberry Pi 5
    • Samsung EVO+ 128GB MicroSD card with Pi OS pre-installed
    • CanaKit Turbine Case (black) for the Pi 5
    • CanaKit MEGA Heat Sink for the Pi 5
    • CanaKit Low-Noise Fan
    • USB-C PD Power Supply (45W)
    • Two Micro HDMI to HDMI cables (ea. 6-foot)
    • USB-A to microSD card reader


Retro Gaming Emulation

As the Raspberry Pi 5 is still relatively new, there are a handful of retro gaming options available for the Pi 5. In the sections below, we’ll check them out as they become available.

Recalbox

Video: Raspberry Pi 5 Retro Gaming with Recalbox: Setup Guide

This video guide will step you through the installation of recalbox on your Raspberrry Pi 5. We’ll cover the entire setup from beginning to end, including writing the image to the microSD card, how to copy your games & BIOS files, scraping artwork, some advanced setup and more.

Helpful Links

  • Raspberry Pi Imager – Tool used for writing the recalbox image to the Raspberry Pi 5.
  • Disk Genius – Utility for allowing a Windows PC to read-write the exFat partition. Coupon code for 30% off the Pro version: DG30-YUTE-STPR

Recalbox with Legends Ultimate (Arcade)

You can use the Raspberry Pi 5 running recalbox on the AtGames Legends Ultimate and it works well. In the section below, we’ll map the buttons for Player 1 & 2. I did test that the trackball and spinner was working in MAME, Player 1&2 on various consoles (SNES, Atari 2600, etc.) Below we’ll discuss what is needed and how to set it up.

*NOTE – You can swap A/B during mapping if you prefer A=A and B=B.

Items needed
  • You’ll need a Raspberry Pi 5 (I used the CanaKit Pi 5 Starter Kit, it included the power supply, microHDMI to HDMI cable, heatsink, fan, etc.) with recalbox and your games installed as discussed here. A 4GB Pi 5 is plenty of RAM for use with recalbox, you don’t need an 8GB Pi. Also, the Pi 5 is cheaper and much smaller than most mini-PC’s though typically not as powerful. Depending on the type of games you want to play on your ALU, the Pi 5 may be a good option for expanding your game library.
  • You’ll need an AtGames Legends Ultimate Arcade or (future) Legends Ultimate 4KP.
  • You’ll need a microHDMI to HDMI cable (the CanaKit includes two).
  • You’ll need a USB-A to USB-A cable (male to male, also referred to as OTG) to go between the Pi5 USB 2.0 port and the Legends Ultimate Arcade machine.
  • I’d also recommend not having another controller connected and using a USB keyboard for the initial setup. The reason for this is because a controller physically connected to the Pi will typically be recognized as Player 1 and make the button mapping unnecessarily confusing.
Attach Cables
  • Turn on the power to the Legends Ultimate, if it isn’t already powered on.
  • Make sure the Pi 5 is powered off. Otherwise, the sound may not work without restarting the Pi5.
  • Plug in one end of the USB-A (male) cable into the Pi 5 and a USB keyboard.
  • Plug in the standard HDMI end into the Legends Ultimate and the microHDMI end into the port nearest the power on the Pi 5.
  • Power on the Pi5.
  • Proceed to the next section.
Configure Recalbox
Control Panel on the Legends Ultimate
  • On the Legends Ultimate, navigate to Settings and select the OTG Mode tile.
  • Press the Channel button on the top panel of the Legends Ultimate.
  • Using a keyboard connected to the Pi 5:
    • Press ENTER to bring up the Main Menu.
    • Highlight CONROLLER SETTINGS and press A (on the keyboard)
  • Player 2 Controlsfrom the controls on the right-hand side:
    • Press and hold the A button until the controls are recognized
    • Press UP / DOWN / LEFT / RIGHT on the joystick.
    • Press the Joystick down to skip over JOYSTICK 1UP/1LEFT/2UP/2LEFT.
    • Press the A/B/X/Y buttons.
    • Press the P2 button for START.
    • Using the keyboard, press the down arrow to skip over the SELECT button mapping (we’ll use the left Player-1controls for the select button later).
    • Press Z for L1 and C for R1.
    • Using the joystick, skip over all remaining buttons. Move the joystick to the right on HOTKEY to select OK.
    • Press the B button, then the A button to go back.
  • Using a keyboard connected to the Pi 5:
    • Press ENTER to bring up the Main Menu.
    • Highlight CONROLLER SETTINGS and press A (on the keyboard)
  • Player 1 Controlsfrom the controls on the left-hand side:
    • Press and hold the A button until the controls are recognized
    • Press UP / DOWN / LEFT / RIGHT on the joystick.
    • Press the Joystick down to skip over JOYSTICK 1UP/1LEFT/2UP/2LEFT.
    • Press the A/B/X/Y buttons.
    • Press the P1 button for START.
    • Press the Rewind button (<<) button for SELECT.
    • Press Z for L1 and C for R1.
    • Using the joystick, skip over all remaining buttons until you reach the HOTKEY button.
    • Press the Rewind button (<<) button for HOTKEY.
    • Press B on OK and A to back out (twice).
  • All buttons should now be mapped and ready, you can disconnect the keyboard.

Below is a reference of how the buttons were mapped:

FunctionButton(s)
Bring up the Main Menu in RecalboxPress P1/P2 Start
Navigate the menuJoystick 1/2
Select an option / gameB (from either side)
Go back (Menu)A (from either side)
Exit a gameRewind button (<<) + P1
Insert a credit (Arcade)Rewind button (<<)
Start a 1/2 player gameP1/P2
In-game buttons/controlsJoystick 1&2, A/B/X/Y/Z/C, trackball & spinner

Using the Raspberry Pi 5

This section will contain different ways you can use the Raspberry Pi 5. Individual videos and guides will be created and referenced below to assist you in exploring new ways of using the Pi 5. At this point, the list is small but will grow over time so please check back for the latest or subscribe to the channel.


Touch Screen

The CrowVision by Elecrow is an 11.6″ Touch Display panel that can be used with most any single-board computer, such as various Raspberry Pi models, LattePanda, Beaglebone, Jetson Nano and more! This kit is great for use in your own custom projects. In this video, we’ll use the CrowVision with the Raspberry Pi 5, Pi 4 and a Windows 11 PC.

Video: CrowVision 11.6″ Raspberry Pi Touch Screen and most other SBC’s

Pi Desktop

Raspberry Pi Desktop is the official operating system supported by the Raspberry Pi foundation and was developed in 2012. It is a variant of the Debian Linux distribution and designed for the Raspberry Pi family of single-board computers, or SBC’s. This section provides information that you may find helpful.

Quick How-To’s

Below are various quick how-to mini-tutorials that will assist you with specific Raspberry Pi Desktop activities:

Update from Terminal

To update the installed software (operating system and applications), please see the following:

Terminal
  • Click the Terminal icon in the upper-left (see image to the right).
  • Copy/paste the following command into the terminal (press enter once done):
sudo apt update
  • After the above command completes, enter the following to perform a full-upgrade (press enter once done):
sudo apt full-upgrade
  • Once the upgrade completes, you can type ‘sudo reboot’ to reboot the Pi or follow these steps to shutdown/restart.

Add Software

Video: See How

You can easily download and install additional applications within PiOS Desktop, below are some quick steps to help get you started:

  1. Click the Raspberry Icon.
  2. Select Preferences Recommended Software.
  3. Click the checkbox beside the software you’d like to download (i.e. Office LibreOffice or Programming Visual Studio Code). Repeat for any software you wish to download.
  4. Click the Apply button. If prompted to enter your password, use the password you assigned when you first setup your Pi 5.
  5. The selected software application(s) will now be downloaded and installed to your Raspberry Pi 5!

Change Screen Resolution

Video: See How

When PiOS Desktop first starts up, the display resolution is 720p. However, you can change it to 1080p (HD), or 4k (UHD) with the following steps:

  1. Click the Raspberry Icon.
  2. Select Preferences Screen Configuration.
  3. Within the Screen Layout Editor application, select the menu option Layout Screens HDMI-A-2 (or other display) → Resolution → the resolution you prefer (i.e. 1920×1080 or HD).
  4. Click the Apply button.
  5. That’s it!

Safely Shutdown the Pi 5

There are 3 different ways you might typically safely shutdown the Pi, please see below:

Method 1

  • Double-press the power button on the Pi 5.
  • The Pi 5 will shutdown.

Method 2

  • Press the power button once on the Pi 5.
  • Click the Shutdown button.
  • The Pi 5 will shutdown.

Method 3

  • Click the Raspberry icon.
  • Select Logout.
  • Select Shutdown.
  • The Pi 5 will shutdown.

Force Shutdown (Unsafe Method)

A forced shutdown is not recommended. This won’t properly close any open files before powering off and may lead to file corruption. That said, here’s how:

  • Press and hold the power button for ~10 seconds.
  • The Pi 5 will power off.

Stress Test

Video: See How

This section will show you how to perform a simple stress test to check that your fan will come on. This is the same test that was performed in the above video.

  • Open a terminal by clicking the icon on the taskbar.
  • Issue the following command to download stress:
sudo apt-get install stress
  • Within the same terminal window, issue the following command to run stress and report temperature readings to the terminal window:
while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; sleep 10; done& stress -c 4 -t 900s

Helpful Terminal Commands

Video: See How

Below are commands that you can enter into the terminal:

  • Open a Terminal window using the icon on the taskbar.
  • Enter the command(s) from the table below and press ENTER to perform the function.
Function to PerformCommand in TerminalDescription
Install Gimp (Photo Editor)sudo apt install gimp• Installs the Gimp photo editor.
• Follow the prompts during installation. • Once installed, click the Raspberry Pi icon, select Graphics and launch GNU Image Manipulation Program.
Install Pi Raspberry Pi Imagersudo apt install rpi-imagerInstalls the Pi Imager utility which will allow you to download and write images directly to external media (microSD, USB stick, SSD, etc.)
Reboot the Pi 5sudo rebootReboots the Pi

Accessibility

  • On-Screen virtual keyboard for a touch screen – I haven’t found a good virtual touch-screen keyboard for PiOS Desktop. Once I do, I’ll update this section.

Ubuntu Desktop

Video: Ubuntu for the Raspberry Pi 5 – Setup Guide (Step By Step)

You can also easily setup Ubuntu Desktop on your Raspberry Pi 5. Ubuntu provides a very nice open-source desktop operating system that performs very well. There are two versions available, Ubuntu Desktop and Ubuntu Server. In the sections below, we’ll focus on Ubuntu Desktop.

Quick How-To’s

The sections below provide some quick how-to or mini tutorials on how to perform very specific functions within the Ubuntu operating system for use with the Raspberry Pi 5:

Pin Applications to the Toolbar

To pin an application to the toolbar, see the following:

  • Launch the application you wish to pin.
  • Locate the associated icon on the toolbar and right-click it.
  • Select Pin to Dash.

Add Software

To download and install new software to your Ubuntu installation, see the following:

  • Click the App Center icon on the toolbar
  • Type in the application you wish to install into the Search for apps area or browse the list of applications from the options on the left.
  • Select the application to install and click the Install button. If prompted for a password, enter the password you created when you installed Ubuntu.
  • The application will then be downloaded and installed.
  • To locate the application, please see here.

Locate Applications

Show Apps

You can locate installed applications easily by:

  • In the lower-left, click the multi-square icon, Show Apps.
  • A list of applications will become visible. Notice the two dots in the middle of the screen. The brighter dot indicates what page you’re on. If there are more than one dot, you can click the left/right arrow, click the unhighlighted dot or the mouse scroll wheel to switch application pages.

How to Update Ubuntu

Below are steps on how to update Ubuntu:

  • Click the Show Apps icon in the lower-left.
  • Scroll to the second page.
  • Select Software Updater.
  • Wait until the Software Updater dialog completes.
  • If there are applications to be updated, click the Details of updates section to expand it. *NOTE – If there are updates you don’t wish to apply, you can uncheck them from the list.
  • To download+install the selected updates, click the Install Now button.
  • If prompted, enter the password you created during the Ubuntu account creation process, then click Authenticate.
  • The updates will then be downloaded and installed.
  • Once the update completes, you may be prompted to restart. If so, click the Restart Now button.

Change Screen Resolution

You can change the screen resolution by performing the following steps:

  • Click the Show Apps icon in the lower-left.
  • Select the Settings icon.
  • On the left, select Displays.
  • Click the Resolution option on the right and select the resolution you want to use (i.e. 1920×1080 16:9).
  • Click the Apply button.
  • If the display appears properly and is the resolution that you prefer, click the Keep Changes button.
  • The new resolution will be applied

Safely Shutdown the Pi 5

See below on how to safely shutdown the Pi 5 within Ubuntu:

  • In the upper-right, click the small power icon.
  • When the dialog appears, click the grey power icon.
  • Select the option Power Off…
  • Click the Power Off button.
  • The Pi 5 will now properly shutdown.

Troubleshooting

Below are some issues that you may run into. Below I’ll add issues that I’ve found as well as any that are mentioned to me in the video comments.

  1. PiOS (Desktop) isn’t booting Answer: make sure that you don’t have any other devices on your network with the hostname ‘raspberrypi’. I initially had a Pi 4 powered on with the same hostname used for the Pi 5 and the Pi wouldn’t boot. As soon as I changed the hostname on the Pi 5, it started up just fine.
  2. I received the following error in PiOS (Desktop) when attempting to update my Pi 5, how can I fix it? Error is: Error installing packages – The following packages have unmet dependencies raspi-utils: Breaks: libraspberrypi-bin (<= 1:2+git20231018~131943+3c97f76-1)? Answer: You can apply the updates using the Terminal instead, please see here.

Change Log

  • 2024-04-26 – Minor formatting updates.
  • 2024-03-14 – Added a new section for setting up Recalbox on the AtGames Legends Ultimate Arcade.
  • 2024-03-09 – Added Recalbox section.
  • 2024-03-04 – Various edits.
  • 2024-01-07 – Added a new section for Touch Screens, featuring the CrowVision.
  • 2023-12-21 – Added Complete Pi Kits section.
  • 2023-12-19 – Added how to update the Pi 5 from the terminal. Added additional troubleshooting.
  • 2023-12-15 – Added a 10 slot microSD holder to the accessories section. Started on the Ubuntu section of the guide.
  • 2023-12-11 – Tested Windows 11 on the Pi 5 and added those results in the Q&A section (along with some additional questions). Additional edits.
  • 2023-12-09 – Added some additional How To’s to coincide with the video, including: Add Software, Change Screen Resolution and Safely Shutdown the Pi 5. Added See How sections to show the video at that the relevant point.
  • 2023-12-08 – Updated the guide with the Getting Started with the Raspberry Pi video.
  • 2023-12-02 – 2023-12-07 – Start to this guide.