Raspberry Pi at Home 🥧 (2024-07-22)

Let's Take a Trip To Pie Country

What is an SBC?

A SBC or single board computer is a computer...on a single board. All the components, CPU, RAM, flash, i/o, on a single PCB or printed circuit board. They're usually really small and relatively inexpensive. They're commonly used for small hobbyist projects because they often have buses one can just shove raw wires into, they're small enough to cram into whatever you want, and have relatively low power usages. They are commonly associated with edge computing and IoT or internet of things. These are two interrelated concepts involving smart fridges and toasters. Thermostats, air quality sensors, and home security systems. Washers and dryers. Even soldering irons and your girlfriend's hair iron. Devices containing tiny computers connected to the internet, sometimes storing information and doing computations on a user's local infrastructure.

Buying Options

There are many brands to choose from:

ManufacturerFlagship BoardProcessorArchitectureRAM OptionsStorage OptionsConnectivityPrice Range
Raspberry PiRaspberry Pi 5Broadcom BCM2712ARM Cortex-A764GB, 8GBmicroSD, USB 3.0Wi-Fi 6, Bluetooth 5.0, Gigabit Ethernet$60 - $80
ASUSTinker Board 2SRockchip RK3399ARM Cortex-A72/A532GB, 4GB16GB eMMC, microSDWi-Fi 5, Bluetooth 4.2, Gigabit Ethernet$85 - $100
NVIDIAJetson Nano 2GBNVIDIA Maxwell GPUARM Cortex-A572GBmicroSDWi-Fi (with USB adapter), Bluetooth (with USB)$59
ODROIDODROID-N2+Amlogic S922XARM Cortex-A73/A532GB, 4GBmicroSD, eMMCGigabit Ethernet, Wi-Fi (with adapter), Bluetooth$79 - $90
Rock PiRock Pi 4C+Rockchip RK3399ARM Cortex-A72/A534GBmicroSD, eMMCWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet$69.99
Banana PiBanana Pi M5Amlogic S905X3ARM Cortex-A554GBmicroSD, eMMCWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet$64 - $75
Pine64Pine A64+Allwinner A64ARM Cortex-A532GB, 4GBmicroSDWi-Fi (with USB adapter), Bluetooth (with USB)$29.99 - $39.99
BeagleBoardBeagleBone AI-64TI AM5729ARM Cortex-A154GBmicroSD, eMMCWi-Fi, Bluetooth, Gigabit Ethernet$100 - $125
UDOOUDOO Bolt V8AMD Ryzen V1605Bx86-648GB, 16GBM.2 NVMe, SATAWi-Fi, Bluetooth, Gigabit Ethernet$389 - $409
KhadasKhadas VIM3 ProAmlogic A311DARM Cortex-A73/A534GBeMMC, microSDWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet$139.99
Libre ComputerAML-S905X-CC (Le Potato)Amlogic S905XARM Cortex-A531GB, 2GB, 4GBmicroSDWi-Fi (with USB adapter), Bluetooth (with USB)$35 - $55
FriendlyARMNanoPi M4V2Rockchip RK3399ARM Cortex-A72/A532GB, 4GBmicroSD, eMMCWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet$65 - $75
RadxaRock Pi 3 Model ARockchip RK3588ARM Cortex-A76/A552GB, 4GB, 8GBeMMC, microSDWi-Fi 6, Bluetooth 5.0, Gigabit Ethernet$99 - $150
Orange PiOrange Pi 5BRockchip RK3588SARM Cortex-A76/A554GB, 8GB, 16GBeMMC, microSDWi-Fi 6, Bluetooth 5.0, Gigabit Ethernet$89 - $129

However, the market is dominated by the Raspberry Pi. It is the de facto option and is synonymous with the term SBC. There are a number of models to choose from:

ModelRelease DateProcessorArchitectureRAM OptionsStorage OptionsConnectivityPrice Range
Raspberry Pi Model B2012Broadcom BCM2835ARM11256MBSD Card100 Mbps Ethernet, 2x USB 2.0$25 - $35
Raspberry Pi Model A2013Broadcom BCM2835ARM11256MB, 512MBSD Card1x USB 2.0$20 - $25
Raspberry Pi Model B+2014Broadcom BCM2835ARM11512MBmicroSD100 Mbps Ethernet, 4x USB 2.0$25 - $35
Raspberry Pi Model A+2014Broadcom BCM2835ARM11256MB, 512MBmicroSD1x USB 2.0$20 - $25
Raspberry Pi 2 Model B2015Broadcom BCM2836ARM Cortex-A71GBmicroSD100 Mbps Ethernet, 4x USB 2.0$35
Raspberry Pi Zero2015Broadcom BCM2835ARM11512MBmicroSD1x mini HDMI, 1x micro USB$5
Raspberry Pi 3 Model B2016Broadcom BCM2837ARM Cortex-A531GBmicroSDWi-Fi 4, Bluetooth 4.1, 100 Mbps Ethernet, 4x USB 2.0$35
Raspberry Pi Zero W2017Broadcom BCM2835ARM11512MBmicroSDWi-Fi 4, Bluetooth 4.1, 1x mini HDMI, 1x micro USB$10
Raspberry Pi 3 Model A+2018Broadcom BCM2837B0ARM Cortex-A53512MBmicroSDWi-Fi 4, Bluetooth 4.2, 1x USB 2.0$25
Raspberry Pi 3 Model B+2018Broadcom BCM2837B0ARM Cortex-A531GBmicroSDWi-Fi 4, Bluetooth 4.2, Gigabit Ethernet (300 Mbps), 4x USB 2.0$35
Raspberry Pi 4 Model B2019Broadcom BCM2711ARM Cortex-A721GB, 2GB, 4GB, 8GBmicroSDWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet, 2x USB 3.0, 2x USB 2.0$35 - $75
Raspberry Pi 4002020Broadcom BCM2711ARM Cortex-A724GBmicroSDWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet, 3x USB 3.0, 1x USB 2.0$70
Raspberry Pi Pico2021RP2040ARM Cortex-M0+264KB SRAM2MB Flash26x GPIO, 2x SPI, 2x I2C, 2x UART, 3x ADC$4
Raspberry Pi Pico W2022RP2040ARM Cortex-M0+264KB SRAM2MB FlashWi-Fi 4, 26x GPIO, 2x SPI, 2x I2C, 2x UART, 3x ADC$6
Raspberry Pi 4 Model A2022Broadcom BCM2711ARM Cortex-A722GBmicroSDWi-Fi 5, Bluetooth 5.0, Gigabit Ethernet, 1x USB 3.0, 1x USB 2.0$25
Raspberry Pi Zero 2 W2021Broadcom BCM2710A1ARM Cortex-A53512MBmicroSDWi-Fi 4, Bluetooth 4.2, 1x mini HDMI, 1x micro USB$15
Raspberry Pi 52023Broadcom BCM2712ARM Cortex-A764GB, 8GBmicroSD, USB 3.0Wi-Fi 6, Bluetooth 5.0, Gigabit Ethernet, 2x USB 3.0, 2x USB 2.0$60 - $80

Why Raspberry Pi?

It being the de facto option it has the most support. The Pi project has: a Linux distribution, hardware /software support, devices such as sensors and monitors, and forums. And the massive slice of the market Pi has means third party support is substantial as well. There are countless add on boards or HATs and enclosures that can be had. No matter the fact that competing SBCs may have comparable or even surpassing performance capabilities, many will choose Raspberry Pi due the overwhelming support. The greatest con is the availability. Raspberry Pis have historically been extremely difficult to come by. Especially considering memory shortages, and global pandemic, and a chip shortage over the last few years, the 4th model was essentially impossible to get, especially at retail. There are entire databases dedicated to tracking retailer stocks. However, the release of the 5th model placated most and made obtaining at a reasonable price possible.

What I Use Them For

Again there are a plethora of way to utilize a Pi due to the sheer amount of openness and attachable boards and devices. I personally use them in my homelab. I use them to host a variety of services, usually through containerization such as Docker. My Raspberry Pi 4s and 5s serve:

pi box

A freshly arrived piKVM

That piKVM running booted off of a USB

I've used containers to run things like this as often as possible. Many utilities are available as container images on Dockerhub, however mileage may vary as ARM image are less common. I prefer containers due to the contained nature of the binaries and configurations. Everything can be contained in a single docker-compose file, which is very convenient. In the past I've even had my Pis clustered using Kubernetes, but that was more for educational purposes. I've also experimented with different Linux distributions on Pis. There is of course Pi OS, the officially supported one. However,the major distributions have ARM versions that run on Pis and there are others specifically designed for Pis:

DistributionDescriptionWebsite
Raspberry Pi OSOfficial operating system for Raspberry Pi, based on Debian. Includes a range of educational tools.raspberrypi.org
UbuntuPopular Linux distribution with an official version for Raspberry Pi.ubuntu.com
Manjaro ARMArch-based distribution optimized for ARM devices, including Raspberry Pi.manjaro.org
Kali LinuxSecurity-focused distribution with a version for Raspberry Pi.kali.org
RetroPieDistribution focused on retro gaming emulation for Raspberry Pi.retropie.org.uk
LibreELECMinimalist distribution for running Kodi media center on Raspberry Pi.libreelec.tv
Pi-holeNetwork-wide ad blocker that runs on Raspberry Pi.pi-hole.net
OSMCOpen Source Media Center based on Debian, designed for Raspberry Pi.osmc.tv
RISC OSLightweight operating system originally developed by Acorn Computers, available for Raspberry Pi.riscosopen.org
GentooHighly customizable distribution with an ARM version for Raspberry Pi.gentoo.org
Arch Linux ARMLightweight and flexible distribution for ARM devices, including Raspberry Pi.archlinuxarm.org
DietPiExtremely lightweight Debian-based distribution with a small footprint for Raspberry Pi.dietpi.com
Twister OSDistribution that aims to provide a true desktop computing experience on Raspberry Pi.twisteros.com
Raspbian XP, Raspbian 95Custom distributions based on Raspberry Pi OS with themes mimicking Windows XP and Windows 95.pi-apps.io
BalenaOSContainer-based distribution optimized for IoT devices, including Raspberry Pi.balena.io
LineageOSAndroid-based distribution available for Raspberry Pi.konstakang.com
RecalboxDistribution focused on retro gaming emulation, similar to RetroPie.recalbox.com
LakkaLightweight distribution focused on retro gaming, using RetroArch emulator.lakka.tv
MotionEyeOSDistribution focused on turning Raspberry Pi into a video surveillance system.motioneyeos.org

For instance installing and running Gentoo on one was... an experience.

All in all, Pis are a great way to learn and an even better way to run services at home at a low monetary cost and low power cost.