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
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!
Qwiic Distance Sensor (VL53L1X, VL53L4CD) Hookup Guide
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
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
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
Get started measuring indoor air quality with the SparkFun Air Quality Sensor - SGP40 (Qwiic) Hookup Guide.
2D Barcode Scanner Breakout Hookup Guide
A quick Hookup Guide to get you started with the SparkFun 2D Barcode Scanner Breakout.
SparkFun PIR Breakout Hookup Guide
Get started with these Panasonic EKM-Series PIR breakouts following this Hookup Guide.
Qwiic PIR Hookup Guide
Get started passively monitoring motion using the Panasonic EKMC and EKMB sensors with the SparkFun Qwiic PIR.
Qwiic SHIM Kit for Raspberry Pi Hookup Guide
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.
MicroMod RP2040 Processor Board Hookup Guide
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!
RP2040 Thing Plus Hookup Guide
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++.
Pro Micro RP2040 Hookup Guide
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!
Introduction to the Raspberry Pi GPIO and Physical Computing
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
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
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
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
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
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
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
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
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 Auto pHAT Hookup Guide
The pHAT to get your projects moving. This guide will help you get started using the Auto pHAT.
SparkFun Top pHAT Hookup Guide
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.
Raspberry Pi 4 Kit Hookup Guide
Guide for hooking up your Raspberry Pi 4 Model B basic, desktop, or hardware starter kit together.
Basic Servo Control for Beginners
An introductory tutorial demonstrating several ways to use and interact with servo motors!
Getting Started with the Autonomous Kit for the Sphero RVR
Want to get started in robotics? Look no further than the SparkFun autonomous kit for the Sphero RVR! Whether you purchased the Basic or Advanced kit, this tutorial will get you rolling...
Basic Autonomous Kit for Sphero RVR Assembly Guide
Get your Basic Autonomous Kit for Sphero RVR all hooked up with this guide!
Advanced Autonomous Kit for Sphero RVR Assembly Guide
Get your Advanced Autonomous Kit for the Sphero RVR built up with this hookup guide!
Qwiic SHIM for Raspberry Pi Hookup Guide
Ever wanted to prototype I2C components on a Pi? Now you can!
Getting Started with the A111 Pulsed Radar Sensor
Get started with the Acconeer A111 SDK with a Raspberry Pi! The tiny A111 pulsed coherent radar (PCR) adds high-precision, cutting-edge distance measurement for speed-, material-, motion-, or gesture-sensing projects! We’re not talking about simple ultrasonic, or even infrared sensors here, but 60GHz radar!
Qwiic Atmospheric Sensor (BME280) Hookup Guide
Measure temperature, humidity, barometric pressure with the SparkFun Atmospheric Sensor Breakout BME280 (Qwiic).
How to Install CH340 Drivers
How to install CH340 drivers (if you need them) on Windows, Mac OS X, and Linux.
Pi Servo pHAT (v2) Hookup Guide
This hookup guide will get you started with connecting and using the Pi Servo pHAT on a Raspberry Pi.
Qwiic pHAT for Raspberry Pi Hookup Guide
Get started interfacing your Qwiic enabled boards with your Raspberry Pi. The Qwiic pHAT connects the I2C bus (GND, 3.3V, SDA, and SCL) on your Raspberry Pi to an array of Qwiic connectors.
Using Home Assistant to Expand Your Home Automations
An introduction to Home Assistant, an open source home automation hub.
Qwiic Joystick Hookup Guide
Looking for an easy way to implement a joystick to your next Arduino or Raspberry Pi project? This hookup guide will walk you through using the Qwiic Joystick with the Arduino IDE on a RedBoard Qwiic and in Python on a Raspberry Pi.
Computer Vision and Projection Mapping in Python
Use computer vision to detect faces and project images on top of them.
Introduction to MQTT
An introduction to MQTT, one of the main communication protocols used with the Internet of Things (IoT).
How to Run a Raspberry Pi Program on Startup
In this tutorial, we look at various methods for running a script or program automatically whenever your Raspberry Pi (or other Linux computer) boots up.
Python GUI Guide: Introduction to Tkinter
Tkinter is the standard graphical user interface package that comes with Python. This tutorial will show you how to create basic windowed applications as well as complete full-screen dashboard examples complete with live graph updates from matplotlib.
Pi AVR Programmer HAT Hookup Guide
In this tutorial, we will use a Raspberry Pi 3 and the Pi AVR Programmer HAT to program an ATMega328P target. We are going to first program the Arduino bootloader over SPI, and then upload an Arduino sketch over a USB serial COM port.
Graph Sensor Data with Python and Matplotlib
Use matplotlib to create a real-time plot of temperature data collected from a TMP102 sensor connected to a Raspberry Pi.
Qwiic MUX Hookup Guide
Have a bunch of sensors with the same I2C address? Put them on the Qwiic MUX (TCA9548A) to get them all talking on the same bus!
How to Use Remote Desktop on the Raspberry Pi with VNC
Use RealVNC to connect to your Raspberry Pi to control the graphical desktop remotely across the network.
Python Programming Tutorial: Getting Started with the Raspberry Pi
This guide will show you how to write programs on your Raspberry Pi using Python to control hardware.
Setting up a Raspberry Pi 3 as an Access Point
This guide will show you how to configure a Raspberry Pi as an access point and connect it to your local Ethernet network to share Internet to other WiFi devices.
Headless Raspberry Pi Setup
Configure a Raspberry Pi without a keyboard, mouse, or monitor.
Raspberry Pi Stand-Alone Programmer
This tutorial will show you how to use a headless Raspberry Pi to flash hex files onto AVR microcontrollers as a stand-alone programmer. It also tells the story about production programming challenges, how SparkFun came to this solution, and all the lessons learned along the way.
Raspberry Pi Zero Helmet Impact Force Monitor
How much impact can the human body handle? This tutorial will teach you how to build your very own impact force monitor using a helmet, Raspberry Pi Zero, and accelerometer!
Getting Started with Walabot
See through walls, track objects, monitor breathing patterns, and more using the power of radio frequency with the Walabot! In this tutorial, we will explore Walabot’s features using the Software Demo Kit (SDK) on Windows and the Application Programming Interface (API) on Linux-based distributions for embedded projects.
Using the PSoC 6 Pioneer Board with the Pioneer IoT Add-on Shield
Cypress's PSoC 6 Pioneer Board is a development tool for the powerful PSoC 6 processor. In this tutorial, we'll show you how to use the PSoC 6 Pioneer Board along with the SparkFun/Digi-Key Pioneer IoT Add-on Shield to send data to a Raspberry Pi via BLE or WiFi.
Getting Started with TJBot
This post will walk you through setting up your TJBot and getting started with the first three recipe examples provided by IBM.
Qwiic HAT for Raspberry Pi Hookup Guide
Get started interfacing your Qwiic enabled boards with your Raspberry Pi. This Qwiic connects the I2C bus (GND, 3.3V, SDA, and SCL) on your Raspberry Pi to an array of Qwiic connectors.
Using Flask to Send Data to a Raspberry Pi
In this tutorial, we'll show you how to use the Flask framework for Python to send data from ESP8266 WiFi nodes to a Raspberry Pi over an internal WiFi network.
Lumenati Hookup Guide
Lumenati is our line of APA102c-based addressable LED boards. We'll show you how to bring the sparkle to your projects!
Pi Servo Hat Hookup Guide
This hookup guide will show you how to connect and use the Pi Servo Hat in a project.
Setting Up the Pi Zero Wireless Pan-Tilt Camera
This tutorial will show you how to assemble, program, and access the Raspberry Pi Zero as a headless wireless pan-tilt camera.
Getting Started with the Raspberry Pi Zero Wireless
Learn how to setup, configure and use the smallest Raspberry Pi yet, the Raspberry Pi Zero - Wireless.
Bark Back Interactive Pet Monitor
Monitor and interact with pets through this dog bark detector project based on the Raspberry Pi!
PiRetrocade Assembly Guide
Build your very own retro gaming controller with a Raspberry Pi using the SparkFun PiRetrocade Kit!
Raspberry Pi 3 Starter Kit Hookup Guide
Guide for getting going with the Raspberry Pi 3 Model B and Raspberry Pi 3 Model B+ starter kit.
Raspberry gPIo
How to use either Python or C++ to drive the I/O lines on a Raspberry Pi.
Preassembled 40-pin Pi Wedge Hookup Guide
Using the Preassembled Pi Wedge to prototype with the Raspberry Pi B+.
Raspberry Pi SPI and I2C Tutorial
Learn how to use serial I2C and SPI buses on your Raspberry Pi using the wiringPi I/O library for C/C++ and spidev/smbus for Python.
Single Board Computer Benchmarks
How to set up different benchmarking programs on single board computers or computing modules and run them. The results for various generations are shown on the subsequent pages.
SparkFun Blocks for Intel® Edison - Pi Block
Tutorial on setting up and using the Pi Block for Intel Edison.
Building Large LED Installations
Learn what it takes to build large LED installations from planning to power requirements to execution.
SD Cards and Writing Images
How to upload images to an SD card for Raspberry Pi, PCDuino, or your favorite SBC.
Hackers in Residence: The Sound Visualizer Pt. 2
An addition to a previous project, this time using a PC and a custom Java app to create your own music visualizer using a RGB LED matrix.
FLIR Lepton Hookup Guide
See the invisible world of infrared radiation using the FLIR Dev Kit and Raspberry Pi.
Hackers in Residence: The Sound Visualizer
A fun project that uses a Raspberry Pi and a custom Java app to create your own sound visualizer using a RGB LED matrix.
Setting up Raspbian (and DOOM!)
How to load a Raspberry Pi up with Raspbian -- the most popular Pi Linux distribution. Then download, compile, install and run the classic: Doom.
Raspberry Pi Twitter Monitor
How to use a Raspberry Pi to monitor Twitter for hashtags and blink an LED.
Serial Terminal Basics
This tutorial will show you how to communicate with your serial devices using a variety of terminal emulator applications.
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.