# Set up a Raspberry Pi (https://docs.palpable.technology/docs/start/raspberry-pi)

A Raspberry Pi starts from a microSD card. The app makes the setup files for you, with your Wi-Fi already inside. You copy them to the card, and the Pi does the rest.

The app sets up two Raspberry Pi boards today: the **Raspberry Pi Zero 2 W** and the **Raspberry Pi 5**.

## What you need [#what-you-need]

- The Pi and its power supply. The two boards need different ones:

<Tabs items={["Pi Zero 2 W","Pi 5"]}>
<Tab value="Pi Zero 2 W">
A 5 V, 2.5 A supply with a micro USB plug.
</Tab>

<Tab value="Pi 5">
A 5 V, 5 A supply with a USB-C plug. A 5 V, 3 A supply also works, but then USB devices on the Pi get less power.
</Tab>
</Tabs>

- A microSD card, and a way to put it in your computer. Many computers need a small card reader.
- A computer. Setup happens in the browser, but a phone can't write to a memory card.
- Your Wi-Fi name and password. The Pi Zero 2 W only uses 2.4 GHz Wi-Fi, not 5 GHz.

## Set it up [#set-it-up]

<Steps>
<Step>
### Choose the board and your Wi-Fi [#choose-the-board-and-your-wi-fi]

Start the setup from **Set up your first board**, or from **Settings → Devices → Add a device**. Choose your Raspberry Pi in the list.

Then choose your Wi-Fi network. If it isn't listed, choose **Add network**. Type its name, its password and your country. Then press **Save & Select**.
</Step>

<Step>
### Download the setup files [#download-the-setup-files]

On **Download setup files**, press **Download**. The app adds your Wi-Fi details to the files as they download. When it's done, the app shows the file, saved to your Downloads folder.

Already have files from an earlier setup on the same network? Press **I already have files for this network** instead.
</Step>

<Step>
### Copy them to the card [#copy-them-to-the-card]

Put the microSD card in your computer. Unzip the download. Then drag everything inside it onto the card.

The files must sit at the top of the card, not inside a folder.

<Callout type="info">
The card must be FAT32. Most new cards already are. If you erase the card first, choose FAT32 on Windows. On a Mac, choose **MS-DOS (FAT)** and **Master Boot Record** in Disk Utility. The Mac's default won't work.
</Callout>
</Step>

<Step>
### Eject the card [#eject-the-card]

Eject the card on your computer first. Then pull it out. Pulling it out without ejecting can damage the files.
</Step>

<Step>
### Put the card in the Pi [#put-the-card-in-the-pi]

Slide the card in, metal contacts first, until it clicks.

<Tabs items={["Pi Zero 2 W","Pi 5"]}>
<Tab value="Pi Zero 2 W">
The slot is at the short end of the board, on the top side.
</Tab>

<Tab value="Pi 5">
The slot is on the underside of the board. Push the card in until it clicks. To take it out later, push it again.
</Tab>
</Tabs>
</Step>

<Step>
### Connect power [#connect-power]

The app shows your board with one port lit, under **Connect power to the lit port**. Plug the power supply in there.

<Tabs items={["Pi Zero 2 W","Pi 5"]}>
<Tab value="Pi Zero 2 W">
The Zero 2 W has two micro USB ports that look the same. Use the one at the corner, marked **PWR IN** on the board. The other one is for data and won't start setup.
</Tab>

<Tab value="Pi 5">
The Pi 5 has one USB-C port. That is the power port.
</Tab>
</Tabs>

Then press **It's plugged in**.
</Step>

<Step>
### Wait for it to come online [#wait-for-it-to-come-online]

The app shows **Waiting for** your Pi, with a timer. It says how long setup can take, usually 5 to 20 minutes. A slow card takes longer.

Leave the Pi powered on the whole time. When it comes online, it appears in the app by itself.
</Step>
</Steps>

## What the Pi's light means [#what-the-pis-light-means]

While it sets itself up, the Pi's green light shows that it is working. The light can't tell you that setup worked. The app tells you that.

| What the light does | What it means |
|---|---|
| A double blink, over and over | Setup is working. |
| Long on, short off (about 1.5 seconds on, half a second off) | It is writing Palpable to the card. Don't unplug it. |
| A very fast blink | Something went wrong. It will try again by itself. |
| SOS: three short, three long, three short | It has stopped trying. Put the card in your computer and open the file `SETUP-FAILED-READ-ME.txt`. It says what went wrong. |

## Plug in parts [#plug-in-parts]

A Raspberry Pi has no Qwiic port of its own. Qwiic is the small four-pin plug most parts use. To add one, put a small board on the Pi's 40-pin header, such as the SparkFun Qwiic pHAT. Then plug parts into it.

You can plug parts in before or after setup. A new part shows up in the app within a few seconds.

## If something goes wrong [#if-something-goes-wrong]

- [Setup is taking a long time](/docs/help/setup-slow). After a while the app shows **Still not online?** with tips, and **Start setup again**.
- [The Pi can't join your Wi-Fi](/docs/help/wifi)
- [The Pi shows as offline](/docs/help/board-offline)
- [A part doesn't show up](/docs/help/part-not-showing)
- Or ask PAL in the app. It can see your board and what it reports.