Skip to content

Introduction to Raspberry Pi: Plan Your First Setup

A Raspberry Pi computer runs an operating system, stores files and runs programs like a larger computer. Its GPIO header also lets software interact with suitable electronic circuits. Your first goal is a working login, not a complicated electronics project.

Before you start

By the end of this lesson, you should be able to identify your board, choose a way to use it, and list the equipment needed for the next lesson. No commands or purchases are required to understand the lesson.

This course primarily uses Raspberry Pi 4 Model B and Pi 5 with Raspberry Pi OS. If you already own a working Pi, start with it; do not buy a new board simply to follow the terminal or C++ lessons.

What is Raspberry Pi?

Think of the setup as four parts:

Part Role Example
Board Runs the CPU and connects devices Pi 4 Model B
Boot storage Holds the OS, programs and your files A microSD card
Operating system Manages hardware and provides applications Raspberry Pi OS
Access method Lets you interact with the running system A local desktop or SSH

A new bare board does not contain a ready-to-use Linux installation. Connecting power without prepared boot media is not the same as starting a configured computer.

An SSH connection provides a terminal on the Pi from another computer. It is not a remote graphical desktop, and closing SSH does not power off the Pi.

A Pi computer is not a Pico

Raspberry Pi Pico and Pico 2 are microcontroller boards. You flash a program onto them rather than install Raspberry Pi OS. They are useful for electronics and tightly controlled timing, but are not replacements for a Pi computer in these Linux lessons. See the official hardware overview for the different product families.

Choose hardware for the lessons

The following is a course-fit comparison, not a complete product catalogue or a price list.

Board What matters for this course
Pi 4 Model B Suitable for terminal, C++ and the introductory GPIO lessons; USB-C power and micro-HDMI display connectors
Pi 5 Suitable for the Linux lessons; different GPIO/PWM hardware means chip and overlay instructions must be checked rather than copied from Pi 4
Zero 2 W Can run Linux but has less memory, different connectors and no built-in Ethernet; some boards need a soldered header
Older Pi computers May work for terminal practice; select an OS supported by the exact device in Imager
Pico / Pico 2 Does not run these Linux tutorials

For an existing board, read the name printed on it. Once it is running, the initial setup lesson shows how to inspect its model from the terminal.

Memory capacity, software requirements and peripheral compatibility depend on the intended project. A server needing only a terminal does not need the same desktop applications as a browsing workstation. Avoid choosing hardware solely from a promised speed multiplier.

Decide how you will access it

Local desktop

Choose this if you want to see a graphical desktop or would prefer a monitor while learning.

You need a monitor, a matching cable, a keyboard and usually a mouse. Raspberry Pi 4 and 5 use micro-HDMI, not mini-HDMI. Your monitor must be switched to the connected input.

Headless terminal

Choose this if you will operate the Pi from another computer over SSH.

You need a reachable local network and a client computer. Configure the username, Wi-Fi if needed, and SSH in Imager before the first boot. Ethernet can simplify network diagnosis when the board and router have suitable ports.

Headless does not mean no operating system: the Pi still boots and runs independently. Do not rely on an unconfigured board becoming remotely accessible merely because it has power.

Choose Raspberry Pi OS Desktop or Lite

Both are Raspberry Pi OS. Desktop includes a graphical environment; Lite is a terminal-only installation. Choose the current supported image from Imager's device-filtered list.

Your first task Starting choice
Learn using a local graphical desktop Raspberry Pi OS with desktop
Use only SSH for files, compilation or a small server Raspberry Pi OS Lite
Use graphical applications remotely later Desktop; establish a working login first

For Pi 4 and 5, the course uses the current 64-bit Raspberry Pi OS. For another board, let Imager filter compatible images. Do not assume every older model supports the same image, or that selecting a different architecture solves every application problem.

The official OS documentation explains the available images. This course does not require switching to Ubuntu, a media-centre image or a specialist appliance OS.

Prepare a realistic equipment list

Write down the following before assembly:

  • Exact board model.
  • Board-appropriate power supply.
  • microSD card and a reader for the computer that writes the image.
  • Another computer for Raspberry Pi Imager.
  • Desktop accessories or a known way to reach the Pi over the network.
  • A stable, non-conductive location for the board, with room for cooling.

Storage needs depend on the chosen image and future files. Use the hardware lesson to match connectors and supplies; the installation lesson explains card preparation. A case, SSD, camera and electronics kit are not prerequisites for the first terminal lesson.

What the GPIO header can and cannot do

GPIO signals are digital inputs and outputs. Other header pins provide power or ground; they are not programmable outputs. Physical header position and GPIO number are different numbering systems.

The Pi's normal GPIO signals use 3.3 V logic. Do not connect 5 V to a GPIO signal, power a motor from a signal pin, or connect a bare LED without a resistor. The later circuit lessons start with wiring checks, not code copied onto arbitrary pins.

Linux schedules many activities at once. A C++ program can request GPIO changes, but a userspace sleep loop is not a guarantee of precise pulse timing. The PWM lessons explain hardware-generated pulses separately from slow LED blinking.

Check your understanding

Before moving on, answer these in your own words:

  1. Where will the OS and your files live?
  2. Will you sign in locally or from another computer?
  3. What is the difference between Desktop and Lite?
  4. Why should electronics wiring wait until the computer itself works?

If your kit already boots, keep that installation and continue with its login checks rather than erasing it.

If your equipment does not match

A cable that fits the monitor may still be wrong for the board. Compare connector names and the exact model with the official getting-started reference. For Compute Modules, custom carrier boards and Pico kits, use their specific setup instructions rather than improvising from a Pi 4 diagram.

Next step

Continue with Hardware Setup. After assembly and OS preparation, follow First Login, then Basic Operations.

Donate