# Source: setting-up.adoc

*Note: This file could not be automatically converted from AsciiDoc.*

[[setting-up-your-raspberry-pi]]
== Getting started with your Raspberry Pi

video::CQtliTJ41ZE[youtube,width=80%,height=400px]

To get started with your Raspberry Pi, you'll need the following:

* a xref:raspberry-pi.adoc#power-supply[power supply]
* boot media (e.g. a xref:getting-started.adoc#recommended-sd-cards[microSD card with ample storage and speed])

You can set up your Raspberry Pi as an interactive computer with a desktop, or as a _headless_ computer accessible only over the network. To set your Raspberry Pi up headless, you don't need any additional peripherals: you can preconfigure a hostname, user account, network connection, and SSH when you xref:getting-started.adoc#installing-the-operating-system[install an operating system]. If you want to use your Raspberry Pi directly, you'll need the following additional accessories:

* a display
* a cable to connect your Raspberry Pi to your display
* a keyboard
* a mouse

=== Power supply

The following table shows the USB-PD power mode required to power various Raspberry Pi models.
You can use any high-quality power supply that provides the correct power mode.

[%header,cols="1,1,1"]
|===
|Model
|Recommended power supply (voltage/current)
|Raspberry Pi power supply

|Raspberry Pi 500+
|5V/5A
|https://www.raspberrypi.com/products/27w-power-supply/[27 W USB-C power supply]

|Raspberry Pi 5 and Raspberry Pi 500
|5V/5A, 5V/3A limits peripherals to 600mA
|https://www.raspberrypi.com/products/27w-power-supply/[27 W USB-C power supply]

|Raspberry Pi 4 Model B and Raspberry Pi 400
|5V/3A
|https://www.raspberrypi.com/products/type-c-power-supply/[15 W USB-C power supply]

|Raspberry Pi 3 (all models)
|5V/2.5A
|https://www.raspberrypi.com/products/micro-usb-power-supply/[12.5 W Micro USB power supply]

|Raspberry Pi 2 Model B
|5V/2.5A
|https://www.raspberrypi.com/products/micro-usb-power-supply/[12.5 W Micro USB power supply]

|Raspberry Pi 1 (all models)
|5V/2.5A
|https://www.raspberrypi.com/products/micro-usb-power-supply/[12.5 W Micro USB power supply]

|Raspberry Pi Zero (all models)
|5V/2.5A
|https://www.raspberrypi.com/products/micro-usb-power-supply/[12.5 W Micro USB power supply]
|===

image::images/peripherals/cable-power.png[alt="Plugging a power supply into a Raspberry Pi.",width="80%"]

Plug your power supply into the port marked "POWER IN", "PWR IN", or "PWR". Some Raspberry Pi models, such as the Zero series, have output USB ports with the same form factor as the power port. Be sure to use the correct port on your Raspberry Pi!

[[sd-cards]]
=== Boot media

Raspberry Pi models lack onboard storage, so you have to supply it. You can boot your Raspberry Pi from an operating system image installed on any supported media: microSD cards are used commonly, but USB storage, network storage, and storage connected via a PCIe HAT are also available. However, only recent Raspberry Pi models support all of these media types.

All Raspberry Pi consumer models since the Raspberry Pi 1 Model A+ feature a microSD slot. Your Raspberry Pi automatically boots from the microSD slot when the slot contains a card.

image::images/peripherals/sd-card.png[alt="Inserting a microSD card into a Raspberry Pi.",width="80%"]

==== Recommended SD cards

[[recommended-capacity]]

We recommend using an SD card with at least 32 GB of storage for Raspberry Pi OS installations. For Raspberry Pi OS Lite, we recommend at least 16 GB. You can use any SD card with a capacity of less than 2 TB. Capacities above 2 TB are currently not supported due to limitations in the https://en.wikipedia.org/wiki/Master_boot_record[MBR]. As with any other boot media, you'll see improved performance on SD cards with faster read and write speeds.

If you're unsure which SD card to buy, consider xref:../accessories/sd-cards.adoc[Raspberry Pi's official SD cards].

Because of a hardware limitation, the following devices will only boot from a boot partition of 256 GB or less:

* Raspberry Pi Zero
* Raspberry Pi 1
* early Raspberry Pi 2 models with the BCM2836 SoC

Other operating systems have different requirements. Check the documentation for your operating system for capacity requirements.

=== Keyboard

You can use any of the USB ports on your Raspberry Pi to connect a https://www.raspberrypi.com/products/raspberry-pi-keyboard-and-hub/[wired keyboard] or USB Bluetooth receiver.

image:images/peripherals/cable-key.png[alt="Plugging a keyboard into a Raspberry Pi.",width="80%"]

=== Mouse

You can use any of the USB ports on your Raspberry Pi to connect a https://www.raspberrypi.com/products/raspberry-pi-mouse/[wired mouse] or USB Bluetooth receiver.

image:images/peripherals/cable-mouse.png[alt="Plugging a mouse into a Raspberry Pi.",width="80%"]

=== Display

Raspberry Pi models have the following display connectivity:

[%header,cols="1,1"]
|===
|Model
|Display outputs

|Raspberry Pi 5, Raspberry Pi 400, Raspberry Pi 500, and Raspberry Pi 500+
|2× micro HDMI

|Raspberry Pi 4 Model B
|2× micro HDMI, audio and composite out via 3.5 mm http://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_standards[TRRS] jack

|Raspberry Pi 3 (all models)
|HDMI, audio and composite out via 3.5 mm http://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_standards[TRRS] jack

|Raspberry Pi 2 Model B
|HDMI, audio and composite out via 3.5 mm http://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_standards[TRRS] jack

|Raspberry Pi 1 Model A+ and Model B+
|HDMI, audio and composite out via 3.5 mm http://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_standards[TRRS] jack

|Raspberry Pi 1 Model A and Model B
|HDMI, audio out via 3.5 mm http://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_standards[TRRS] jack, composite out via https://en.wikipedia.org/wiki/RCA_connector[phono] jack

|Raspberry Pi Zero (all models)
|mini HDMI, composite out via solder-pads
|===

NOTE: No Raspberry Pi models support video over USB-C (DisplayPort alt mode).

If your Raspberry Pi has more than one HDMI port, plug your primary monitor into the port marked `HDMI0`.

Most displays don't have micro or mini HDMI ports. However, you can use a https://www.raspberrypi.com/products/micro-hdmi-to-standard-hdmi-a-cable/[micro-HDMI-to-HDMI cable] or https://www.raspberrypi.com/products/standard-hdmi-a-male-to-mini-hdmi-c-male-cable/[mini-HDMI-to-HDMI cable] to connect those ports on your Raspberry Pi to any HDMI display. For displays that don't support HDMI, consider an adapter that translates display output from HDMI to a port supported by your display.

image::images/peripherals/cable-hdmi.png[alt="Plugging a micro HDMI cable into a Raspberry Pi.",width="80%"]

=== Audio

All Raspberry Pi models with HDMI, micro HDMI, or mini HDMI support audio output over HDMI.
All Raspberry Pi models support audio over USB. All Raspberry Pi models equipped with Bluetooth support Bluetooth audio.
All variants of the Raspberry Pi 1, 2, 3, and 4 include a 3.5 mm auxiliary http://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_standards[TRRS] jack, which may require amplification for sufficient output volume.

=== Networking

The following Raspberry Pi models come with Wi-Fi and Bluetooth connectivity:

* Flagship models since Raspberry Pi 3 Model B
* All Keyboard models
* All Zero W models
* All Pico W models
* Compute Modules configured with wireless (available since CM4)

The "Model B" suffix indicates variants with an Ethernet port; "Model A" indicates no Ethernet port. The Keyboard models also include an Ethernet port. If your Raspberry Pi doesn't have an Ethernet port, you can still connect to a wired internet connection using a USB-to-Ethernet adapter.

image::images/peripherals/cable-net.png[alt="Plugging an Ethernet cable into a Raspberry Pi.",width="80%"]