Raspberry Pi

The Raspberry Pi is a popular single-board computer, especially for those interested in programming with Scratch or Python. We recommend checking out Getting Started with Raspberry Pi to get started before exploring the tutorials tagged with Raspberry Pi.

Qwiic Kit for Raspberry Pi V2 Hookup Guide

December 29, 2022

Get started with the SGP40, BME280, VCNL4040, and microOLED via I2C using the Qwiic system and Python on a Raspberry Pi! Measure VOC Index, light, temperature, humidity, and pressure from the environment. Then display them on the microOLED, serial terminal, or the cloud with Cayenne!

RP2040 mikroBUS™ Development Board Hookup Guide

March 4, 2022

The RP2040 is the first microcontroller from the Raspberry Pi Foundation. Updated with the new mikroBUS™ socket, the RP2040 development board expands its horizons with a growing ecosystem of +1100 drop-in Click boards™. Click to learn more.

Qwiic Distance Sensor (VL53L1X, VL53L4CD) Hookup Guide

February 10, 2022

The Qwiic Distance Sensor - VL53L1X is a time of flight sensor that is capable of several modes, as well as having a range of 4M. It's cousin VL53L4CD is also a time of flight sensor with similar characteristics but it has a range of about 1.3M. Let's hook it up and find out just how far away that thing over there is.

Getting Started with the Raspberry Pi Zero 2 W

December 22, 2021

Learn how to setup, configure and use the latest version of the smallest Raspberry Pi out there, the Raspberry Pi Zero 2 W.

Digital Temperature Sensor Breakout - AS6212 (Qwiic) Hookup Guide

September 9, 2021

Get started measuring highly accurate temperatures at extremely low power with the AS6212 temperature sensor on the SparkFun Digital Temperature Sensor Breakout - AS6212 (Qwiic).

Air Quality Sensor - SGP40 (Qwiic) Hookup Guide

June 24, 2021

Get started measuring indoor air quality with the SparkFun Air Quality Sensor - SGP40 (Qwiic) Hookup Guide.

2D Barcode Scanner Breakout Hookup Guide

May 27, 2021

A quick Hookup Guide to get you started with the SparkFun 2D Barcode Scanner Breakout.

Qwiic PIR Hookup Guide

March 25, 2021

Get started passively monitoring motion using the Panasonic EKMC and EKMB sensors with the SparkFun Qwiic PIR.

SparkFun PIR Breakout Hookup Guide

March 25, 2021

Get started with these Panasonic EKM-Series PIR breakouts following this Hookup Guide.

Qwiic SHIM Kit for Raspberry Pi Hookup Guide

February 16, 2021

Get started with the Serial LCD with RGB backlight and 9DoF IMU (ICM-20948) via I2C using the Qwiic system and Python on a Raspberry Pi! Take sensor readings and display them in the serial terminal or SerLCD.

Pro Micro RP2040 Hookup Guide

January 21, 2021

This tutorial covers the basic functionality of the Pro Micro RP2040 and highlights the features of the dual-core ARM Cortex-M0+ processors development board. Get started with the first microcontroller from the Raspberry Pi Foundation!

RP2040 Thing Plus Hookup Guide

January 21, 2021

Want to take a stab at advancing your programming skills? Check out the Thing Plus - RP2040, with the first microcontroller from the Raspberry Pi Foundation. This guide will get you started working with the RP2040 and programming in MicroPython and C/C++.

MicroMod RP2040 Processor Board Hookup Guide

January 21, 2021

This tutorial covers the basic functionality of the MicroMod RP2040 Processor Board and highlights the features of the dual-core ARM Cortex-M0+ processors development board. Get started with the first microcontroller from the Raspberry Pi Foundation!

Introduction to the Raspberry Pi GPIO and Physical Computing

January 20, 2021

This tutorial will teach you how to set up your Raspberry Pi as a full desktop computer and read in sensor data through the GPIO using SparkFun hardware.

Qwiic pHAT Extension for Raspberry Pi 400 Hookup Guide

December 17, 2020

Get started interfacing your Qwiic enabled boards with your Raspberry Pi 400! SparkFun Qwiic pHAT Extension for the Raspberry Pi 400 provides you with a quick and easy solution to access all of the 400's GPIO, stack your favorite HAT right-side up, or connect a Qwiic-enabled device to the I2C bus (GND, 3.3V, SDA, and SCL).

SparkFun Qwiic 3-Axis Accelerometer (ADXL313) Hookup Guide

November 5, 2020

Let's get moving with the SparkFun Triple Axis Digital Accelerometer Breakout - ADXL313 (Qwiic), a low cost, low power, up to 13-bit resolution, 3-axis accelerometer with a 32-level FIFO stack capable of measuring up to ±4g. This hookup guide will get users started reading measurements from the ADXL313, by Analog Devices, with an Arduino microcontroller, Jetson Nano, or Raspberry Pi.

SparkFun Qwiic Quad Solid State Relay Kit Hookup Guide

July 16, 2020

A Hookup Guide to get you started with the SparkFun Qwiic Quad Solid State Relay Kit (say that five times fast!).

SparkFun GPS-RTK Dead Reckoning ZED-F9R Hookup Guide

July 9, 2020

The u-blox ZED-F9R is a powerful GPS-RTK unit that uses a fusion of IMU, wheel ticks, a vehicle dynamics model, correction data, and GNSS measurements to provide highly accurate and continuous position for navigation in the difficult conditions. We will quickly get you set up using the Qwiic ecosystem through Arduino and Python so that you can start reading the output!

Nintendo Switch Macro Recording on the Raspberry Pi

July 8, 2020

Learn how to record and playback controller 'macros' for your Nintendo Switch using a Raspberry Pi, SparkFun Top pHAT, and Joycontrol.

SparkFun Photodetector (MAX30101) Hookup Guide

June 25, 2020

The SparkFun Photodetector - MAX30101 (Qwiic) is the successor to the MAX30105 particle sensor, a highly sensitive optical sensor. This tutorial will get you started on retrieving the raw data from the MAX30101 sensor.

How to Make a Magic Mirror with Raspberry Pi

June 17, 2020

Need a great project for your Raspberry Pi 4 kit? Use it to create a command center to display the weather, clock, your calendar, or even a news feed!

Raspberry Pi Safe Reboot and Shutdown Button

April 20, 2020

Safely reboot or shutdown your Raspberry Pi to avoid corrupting the microSD card using the built-in general purpose button on the Qwiic pHAT v2.0!

SparkFun Top pHAT Hookup Guide

April 16, 2020

The pHAT to sit above your other HATs. Does that make it the "king" of the pHATs? This guide will help you get started using the Top pHAT with the Raspberry Pi.

SparkFun Auto pHAT Hookup Guide

April 16, 2020

The pHAT to get your projects moving. This guide will help you get started using the Auto pHAT.
Viewing 75 Raspberry Pi Tutorials. View All Tutorials.

Old Tutorials

Looking for the old, archived tutorials? Head on over to the archived tutorials on the main SparkFun site.
Please be aware that the tutorials you find there are no longer actively maintained.