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 Joystick Hookup Guide

February 21, 2019

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

February 6, 2019

Use computer vision to detect faces and project images on top of them.

Introduction to MQTT

November 7, 2018

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

September 18, 2018

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

August 13, 2018

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.

Using the A111 Pulsed Radar Sensor with a Raspberry Pi

July 30, 2018

Learn how to download, build, and use 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!

Graph Sensor Data with Python and Matplotlib

July 23, 2018

Use matplotlib to create a real-time plot of temperature data collected from a TMP102 sensor connected to a Raspberry Pi.

How to Use Remote Desktop on the Raspberry Pi with VNC

July 9, 2018

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

June 27, 2018

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

April 23, 2018

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

April 23, 2018

Configure a Raspberry Pi without a keyboard, mouse, or monitor.

Raspberry Pi Stand-Alone Programmer

March 8, 2018

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

March 8, 2018

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

February 15, 2018

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

February 1, 2018

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

December 14, 2017

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

November 30, 2017

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

November 9, 2017

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

October 12, 2017

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

September 14, 2017

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

September 14, 2017

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

July 13, 2017

Learn how to setup, configure and use the smallest Raspberry Pi yet, the Raspberry Pi Zero - Wireless.

Bark Back Interactive Pet Monitor

March 8, 2017

Monitor and interact with pets through this dog bark detector project based on the Raspberry Pi!

PiRetrocade Assembly Guide

October 28, 2016

Build your very own retro gaming controller with a Raspberry Pi using the SparkFun PiRetrocade Kit!

Raspberry Pi 3 Starter Kit Hookup Guide

April 11, 2016

Guide for getting going with the Raspberry Pi 3 Model B and Raspberry Pi 3 Model B+ starter kit.

Raspberry gPIo

October 29, 2015

How to use either Python or C++ to drive the I/O lines on a Raspberry Pi.

Preassembled 40-pin Pi Wedge Hookup Guide

October 29, 2015

Using the Preassembled Pi Wedge to prototype with the Raspberry Pi B+.

Raspberry Pi SPI and I2C Tutorial

October 29, 2015

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

July 31, 2015

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

July 28, 2015

Tutorial on setting up and using the Pi Block for Intel Edison.

Building Large LED Installations

July 16, 2015

Learn what it takes to build large LED installations from planning to power requirements to execution.

SD Cards and Writing Images

June 4, 2015

How to upload images to an SD card for Raspberry Pi, PCDuino, or your favorite SBC.

Hackers in Residence: The Sound Visualizer Pt. 2

May 7, 2015

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

March 26, 2015

See the invisible world of infrared radiation using the FLIR Dev Kit and Raspberry Pi.

Hackers in Residence: The Sound Visualizer

March 23, 2015

A fun project that uses a Raspberry Pi and a custom Java app to create your own sound visualizer using a RGB LED matrix.

Getting Started with the BrickPi

February 20, 2014

How to connect Lego Mindstorms to the Raspberry Pi using the BrickPi.

Setting up Raspbian (and DOOM!)

December 19, 2013

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

November 19, 2013

How to use a Raspberry Pi to monitor Twitter for hashtags and blink an LED.

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.