Python
Python is a programming language that lets you write code quickly and effectively. With a design philosophy that focuses on code readability, Python is easy to learn and use. Thanks to the advances in single board computers and powerful microcontrollers, Python can now be used to control hardware. Check out some of the tutorials below to get started graphing, charting and GUI design in Python.
nRF52840 Development with Arduino and CircuitPython
November 29, 2018
How to use Arduino or CircuitPython to develop applications for the nRF52840 Cortex-M4 Bluetooth SoC.
Pi AVR Programmer HAT Hookup Guide
July 26, 2018
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.
Pi Servo pHAT (v2) Hookup Guide
July 11, 2019
This hookup guide will get you started with connecting and using the Pi Servo pHAT on a Raspberry Pi.
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!
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.
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.
Qwiic Atmospheric Sensor (BME280) Hookup Guide
August 21, 2019
Measure temperature, humidity, barometric pressure with the SparkFun Atmospheric Sensor Breakout BME280 (Qwiic).
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.
Qwiic EEPROM Hookup Guide
July 29, 2021
Running out of memory? Don't forget to check out the Qwiic EEPROM!
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.
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!
Qwiic MUX Hookup Guide
July 19, 2018
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!
Qwiic PIR Hookup Guide
March 25, 2021
Get started passively monitoring motion using the Panasonic EKMC and EKMB sensors with the SparkFun Qwiic PIR.
Qwiic SHIM for Raspberry Pi Hookup Guide
December 5, 2019
Ever wanted to prototype I2C components on a Pi? Now you can!
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.
Raspberry gPIo
October 29, 2015
How to use either Python or C++ to drive the I/O lines on a Raspberry Pi.
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!
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.
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 Twitter Monitor
November 19, 2013
How to use a Raspberry Pi to monitor Twitter for hashtags and blink an LED.
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!
RedBoard Turbo Hookup Guide
January 24, 2019
An introduction to the RedBoard Turbo. Level up your Arduino-skills with the powerful SAMD21 ARM Cortex M0+ processor!
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.
SAMD51 Thing Plus Hookup Guide
May 24, 2019
This tutorial covers the basic functionality of the SAMD51 Thing Plus and highlights the features of the new ARM Cortex-M4F development board.
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.