Skip to content

RaspberryPi

Published On:
Mar 23, 2013
Last Updated:
Jul 8, 2026

The Raspberry Pi is a family of popular single-board computers (SBCs) originally designed by the Raspberry Pi Foundation.

A photo of the Raspberry Pi 5.

Child Pages

Cases

The Raspberry Pi 5 has an official case which contains a small heatsink and fan for active cooling of the CPU. The case is available in red/white or black. It snaps together easily and provides access to all the common features.

The official Raspberry Pi 5 case.1

In Sep 2025, a new M.2 hat called the “M.2 HAT+ Compact” was released which is compatible with the official enclosure. This hat is a more compact version of the original M.2 hat, which supports 2230-format (30mm long) M.2 PCI express cards.2 This hat is great for installing NVMe drives which offer better performance and reliability for the boot file system than the SD card slot or a USB thumb drive.

Photos of the official Raspberry Pi “M.2 HAT+ Compact” hat. Left is the bare hat, right is the hat in the official enclosure.3

Raspberry Pi 5

Here is my quick buy shopping list for the Raspberry Pi 5. The links are to the New Zealand Element14 store, so you might have to change the country as needed. The 5A power supply is great for providing extra power for peripherals. The adapter cable is better (in my opinion) than the rigid adapters as it is less likely to break the micro HDMI port or get in the way.

ItemQuantityElement14 Part NumberLink
Raspberry Pi 5 8GB14256000https://nz.element14.com/raspberry-pi/rpi5-8gb-single/rpi-5-board-2-4ghz-8gb-arm-cortex/dp/4256000
MicroSDXC Card, A2-Class, 64 GB14550989https://nz.element14.com/raspberry-pi/pi-os-64gb/microsdxc-card-64gb-rpi-4-5-board/dp/4550989
Power supply, 5.1V, 5A, USB-C14263037https://nz.element14.com/raspberry-pi/sc1150/power-supply-usb-c-5-1v-5a-white/dp/4263037
Raspberry Pi 5 Model B Case14263047https://nz.element14.com/raspberry-pi/sc1159/case-raspberry-pi-5-model-b-abs/dp/4263047
HDMI mini to regular adapter cable13107416https://nz.element14.com/raspberry-pi/hdmi-adapter-cable/micro-hdmi-to-std-f-hdmi-adaptor/dp/3107416

The official Raspberry Pi 5 power supply (shown below) is a great PSU not just for the Raspberry Pi but for powering all sorts of high power devices. It supports the following voltages and currents:

  • 5.1V, 5A
  • 9V, 3A
  • 12V, 2.25A
  • 15V, 1.8A
The official Raspberry Pi 5 power supply (27W, USB-C, AU/NZ plug).

SD Cards

The de-factory non-voltaile memory for the Raspberry Pi (to store the file system) is a microSD card. Although any reputable brand with good speed ratings should work, Raspberry Pi themselves makes a range of microSD cards as shown below.

A photo of a Raspberry Pi branded 64GB microSDXC card.

Quick Setup

Raspberry Pi Imager

The Raspberry Pi Imager is a desktop GUI tool that allows you to easily write operating system images from a Raspberry Pi to an SD card. It runs on Windows, macOS and Linux. As of December 2025 it is the recommended way to write OS images to an SD card and is at version 2.0.2.

A screenshot of the Raspberry Pi Imager v2.0.0 after successfully writing an OS image to an SD card.

One of the nice things about this imager is that it lets you configure a WiFi network and enable SSH and bake that into the image. If you are wanting a headless setup this means you don’t even need to do the awkward first boot setup with a monitor and keyboard.

Older Setup Methods

www.raspberrypi.com has released software called NOOBS (new out-of-the-box software), which makes it really easy to setup the RPi. Just download NOOBS (which was just over 1GB at v1.2.1), format (go here) then unpack NOOBS onto the SD card, and you’re good to plug the SD card into the RPi and power up (NOOBS will present you with various operating systems to install on start-up).

At the bare minimum, you’ll also need a USB keyboard, mouse (hard-outs may be able to forgo this) and either an HDMI or composite screen.

Default username:pi
Default password:raspberry

Longer Setups

You can also write images directly to the SD card. The recommended tool for this is the open source program Win32DiskImager.

Operating Systems

There are many operating systems that are compatible with the RPi.

A list of some of the supported operating systems and downloads for them can be found here.

Occidentalis

A port of the Raspbian OS by Adafruit industries which makes the OS more hacker friendly. It provides hardware SPI and I2C support, Realtek RTL8188CUS WiFi support (a common chipset used in USB WiFi modules).

Pidora

URL: http://pidora.ca/

Pidora is a mod of Fedora for the RPi.

Raspbian

URL: http://www.raspbian.org/

A Debian-based (Ubuntu-like) operating system optimised for running on the RPi. It is one of the most popular operating systems for the RPi. Provides a config menu the first time you boot, where you can change settings such as the password, enabling SSH, expanding the file system to use the entire SD card, and configuring the keyboard/mouse.

You can bring up the config menu at any time by typing the command sudo raspi-config.

To load up the GUI from the command-line, type startx.

To shutdown the GUI from the command-line, type sudo shutdown "now" (this also shuts down any other processes).

The nano text editor comes pre-installed, type nano to load it.

RISC OS

URL: https://www.riscosopen.org/wiki/documentation/show/Welcome%20to%20RISC%20OS%20Pi

A version of the RISC OS (an operating system dating back to 1987 for 32-bit ARM chips) for the RPi.

Music Orientated

Pi MusicBox

Supported Music Sources
  • Apple AirPlay
  • DLNA streaming from phone/tablet
  • Google Music
  • MP3/OGG/FLAC/AAC (on SD Card, USB or Network)
  • Spotify
  • Soma FM
  • SoundCloud
  • Subsonic
Supported PlatformsRaspberry Pi
StructureMopidy (which itself is MPD)
LicensingOpen Source

Volumio

Supported Music SourcesApple Airplay
Supported Platforms
  • Cubox
  • Beaglebone Black
  • Raspberry Pi
  • Udoo
LicensingOpen Source

Comments:

Volumio began as the RaspyFi project in December 2012. It then expanded to support many embedded platforms including the Udoo and BeagleBoard. IMO, Volumio looks more polished than the Pi MusicBox.

RPi Store

There is an official RPi store that offers applications and games (some cost, some are free) for the RPi.

Video Output

The RPi has two native video outputs, HDMI, and RCA/composite. You cannot use both at the same time. Converting any of these two to VGA is rather expensive.

DSI

The RaspberryPi also has a DSI output connector (the 15-pin connector that is not on the edge of the board), which is a high-speed, differential, serial point-to-point bus designed by the mobile industry to connect a host controller up to a graphics display device (normally an LCD screen). However, it is very difficult to use these on the RaspberryPi, as the pins are controlled by the GPU, which is controlled by closed software written by Broadcom. I don’t know of anyone who has managed to connect anything to this 15-pin connector!

Controlling The GPIO

Understanding Outputs explains the GPIO pins on the RaspberryPi really well.

Check out the Quick2wire Python API repo, this allows you to control the RPi’s GPIO from a python script.

There is also the pi-gpio module for controlling GPIO with nodejs. Good for when you are wanting to control the RPi GPIO from across a network (remotely).

PWM

The RPi has one hardware PWM output (yes, only one, this isn’t a microcontroller). Unfortunately this is shared with the audio system, so you can’t use the PWM and listen to audio through the 3.5mm jack at the same time. Other GPIO can be bit-bashed with software PWM.

How To Change Keyboard Layout

The default keyboard layout is British, so you might find yourself getting a pound sign when you really want a dollar sign (and other quirky differences). To change the keyboard mapping, open the file etc/default/keyboard with a text editor like nano.

Updating

Assuming you have an internet connection, run:

Terminal window
sudo apt-get update
sudo apt-get upgrade

SSH

You can log into a RaspberryPi from another computer using SSH. Type the following command into a terminal:

Terminal window
ssh 192.168.1.100 -l pi

where you replace 192.168.1.100 with the IP address of the Raspberry Pi (this is the RaspberryPi’s local address, which is only accessible via another computer on the intranet). The flag -l pi tells SSH to login with the username pi, not the default username of the calling terminal.

Raspberry Pi Connect

Raspberry Pi Connect is a remote control tool for the Raspberry Pi that allows you to control the Raspberry Pi from another computer using a web browser. It supports both screen sharing and terminal access. It is provided by the Raspberry Pi Foundation and is free for personal use (you can also setup Organisations which give you unlimited users for US$0.50 per device per month as of December 2025). You can setup Raspberry Pi Connect when you create an image using the Raspberry Pi Imager. This will create an auth key that will be used for authentication.

A screenshot of the Raspberry Pi Connect screen share feature.

If you only want terminal access, SSH from a local terminal is usually a better option than Raspberry Pi Connect because the native terminal experience is better than using a web browser terminal. But Raspberry Pi Connect is still a great tool for quick terminal access (as it doesn’t require you to remember any credentials except your login to Raspberry Pi Connect).

Zoho Unattended Access

Zoho Unattended Access supports remote access to Raspberry Pi devices from a web browser.

If you navigate to Deployment -> Manage Devices -> +Add, you can then select “Raspberry” and it will give you a custom download link that looks similar to this:

Terminal window
wget "https://assist.zoho.com/api/v2/install_urs?type=2&encapiKey=...

Once that is downloaded onto the Raspberry Pi, you can run it with:

Terminal window
sudo dpkg -i zohoassist_1.0.0.1.deb

Because the download is custom to your Zoho account, no sign-in is required once the package is installed.

A screenshot of logging into a Raspberry Pi via Zoho Unattended Access.

Useful Packages To Install

Terminal window
# git to manage git repositories
sudo apt-get install git
## Advanced make-like compiler
sudo apt-get install scons
## GCC/G++ compilers and additional tools
sudo apt-get install build-essential
## C++ wrapper for the perl-compatible regex engine (PCRE)
sudo apt-get install libpcre++-dev
## API for XUL embedders and Gecko applications (the main engine for Mozilla
# programs such as Firefox)
sudo apt-get install xulrunner-dev
## The boost library
sudo apt-get install libboost-dev libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev

Node.js

Node.js will work with the hard-float version of Raspbian Wheezy. It takes aggggeeeesss to compile from the source code, but luckily, there is a pre-compiled binary available for the ARM processor which will work on the RaspberryPi.

You can install Node.js on Wheezy by just typing sudo apt-get install nodejs. See below for the harder way.

Terminal window
sudo mkdir /opt/node
wget http://nodejs.org/dist/v0.10.2/node-v0.10.2-linux-arm-pi.tar.gz
tar xvzf node-v0.10.2-linux-arm-pi.tar.gz
sudo cp -r node-v0.10.2-linux-arm-pi/* /opt/node

Then Node.js has to be added to your PATH variable, to do this, type

Terminal window
nano /etc/profile

And add the following lines before the export variable

Terminal window
...
NODE_JS_HOME="/opt/node"
PATH="$PATH:$NODE_JS_HOME/bin"
export PATH
...

This great tutorial on the Kitware blog easily explains how to remotely access the RPi using nodejs. Once you have installed Node.js, it also pays to install npm (node package manager), by typing:

Terminal window
sudo apt-get install npm

Playing An MP3 Through The Audio Jack

You can use the omxplayer program to play mp3’s from the RaspberryPi:

Terminal window
omxplayer -o local path_to_sound.mp3

If you want to loop a single sound file, you can add the option --loop:

Terminal window
omxplayer -o local --loop path_to_sound.mp3

Uses

Education

The RPi is great for educating people about computers, as it is cheap and readily available.

Home Automation

QW Home Automation

Website: http://qwhomeautomation.com/ Works with Insteon products.

Footnotes

  1. The Pi Hut. Raspberry Pi 5 Case [product page]. Retrieved 2025-12-19, from https://thepihut.com/products/raspberry-pi-5-case.

  2. Eben Upton (2025, Sep 22). News > M.2 HAT+ Compact on sale now at $15 [news]. Raspberry Pi. Retrieved 2025-12-19, from https://www.raspberrypi.com/news/m-2-hat-compact-on-sale-now-at-15/.

  3. The Pi Hut. Raspberry Pi M.2 HAT+ Compact [product page]. Retrieved 2025-12-19, from https://thepihut.com/products/raspberry-pi-m-2-hat-compact.