Programming

New!

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.
New!

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.
New!

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.

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.

LilyPad USB Plus Hookup Guide

June 7, 2018

The LilyPad USB Plus is a sewable microcontroller that you can use with Arduino.

Adapting LilyPad Development Board Projects to the LilyPad ProtoSnap Plus

May 24, 2018

An overview of the updates made in the redesign of the LilyPad Development Board to the LilyPad ProtoSnap Plus and how to adapt code written for the old board to the new one.

Papa Soundie Audio Player Hookup Guide

April 26, 2018

Add sound effects to your project, prop or costume with Papa Soundie Audio Player.

Getting Started with Chibi Chip and Clip

March 22, 2018

This tutorial goes over the how to assemble the Chibitronics' Chibi Chip programmable microcontroller with the Chibi Clip to add more functionality to your paper circuits! Start programming your Chibi Chip by writing code (block-based and text-based) in a browser-based code editor and then transmit code through sound to your board!

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.

LilyPad Temperature Sensor Hookup Guide

January 23, 2018

How to hook up the LilyPad Temperature Sensor as well as some project ideas and example code.

LilyPad Development Board Activity Guide

December 7, 2017

Learn how to program in Arduino with the LilyPad Development Board. This guide includes 11 example activities that use the pre-wired LilyPad boards on the LilyPad Development Board.

LilyPad ProtoSnap Plus Activity Guide

December 7, 2017

Learn how to program in Arduino with the LilyPad ProtoSnap Plus. This guide includes 10 example activities that use the pre-wired LilyPad boards on the LilyPad ProtoSnap Plus.

Endless Runner Game

November 28, 2017

We make a simple side-scrolling endless runner game using parts from the SparkFun Inventor's Kit v4.0.

Light-Seeking Robot

November 28, 2017

We use parts from the SparkFun Inventor's Kit v4.0 to create a light-seeking robot that mimics the behavior of single-celled organisms.

Clap On Lamp

November 28, 2017

Modify a simple desk lamp to respond to a double clap (or other sharp noise) using parts from the SparkFun Inventor's Kit v4.0.

LilyPad ProtoSnap Plus Hookup Guide

October 5, 2017

The LilyPad ProtoSnap Plus is a sewable electronics prototyping board that you can use to learn circuits and programming with Arduino, then break apart to make an interactive fabric or wearable project.

Pyboard Hookup Guide

September 7, 2017

Getting started with the Pyboard using MicroPython.

Hack Your Roshamglo Badge

March 12, 2017

Learn how to customize and program your Roshamglo badge.

How to Install an ATtiny Bootloader With Virtual USB

February 14, 2017

With this, you will be able to upload Arduino sketches directly to the ATtiny84 over USB without needing to use a programming device (such as another Arduino or FTDI chip).

Lessons in Algorithms

December 21, 2016

Learn techniques on how to use Finite Impulse Response (FIR) filters and other data-processing tools to turn data into information.

PiRetrocade Assembly Guide

October 28, 2016

Build your very own retro gaming controller using the SparkFun PiRetrocade Kit.

ADXL345 Hookup Guide

September 13, 2016

Get started with the ADXL345 Accelerometer.

Experiment Guide for the Johnny-Five Inventor's Kit

June 28, 2016

Use the Tessel 2 and the Johnny Five Inventors kit to explore the world of JavaScript enabled hardware through 14 awesome experiments!

ASCII

June 13, 2016

A brief history of how ASCII came to be, how it's useful to computers, and some helpful tables to convert numbers to characters.

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.