Getting Started with the Teensy

Pages
Contributors: Toni_K, MTaylor
Favorited Favorite 6

Introduction

The Teensy line is a collection of microcontrollers from PJRC based around several different powerful ICs. This basic getting started guide will help you start using the Teensy that's best for your project.

Teensy Family

The Teensy 3.1, the Teensy++ 2.0, and the Teensy LC.

Required Materials

To follow along with this tutorial, you will need the following materials. You may not need everything though depending on what you have. Add it to your cart, read through the guide, and adjust the cart as necessary. You will need the appropriate USB cable for the Teensy board with which you are working. The following boards work with the micro-USB cable:

Teensy 4.1

Teensy 4.1

DEV-16771
$26.95
2
Teensy 3.2

Teensy 3.2

DEV-13736
$19.80
66
Teensy LC

Teensy LC

DEV-13305
$12.95
16
Teensy 4.0

Teensy 4.0

DEV-15583
$19.95
6
Teensy 3.6

Teensy 3.6

DEV-14057
$29.25
15
Teensy 3.5

Teensy 3.5

DEV-14055
$24.95
7
USB micro-B Cable - 6 Foot

USB micro-B Cable - 6 Foot

CAB-10215
$4.95
13

The Teensy++ 2.0 works with the mini-USB cable:

SparkFun USB Mini-B Cable - 6 Foot

SparkFun USB Mini-B Cable - 6 Foot

CAB-11301
$3.95
2
Teensy++ 2.0

Teensy++ 2.0

DEV-11781
$24.95
3

You will also need the appropriate headers for your project. There are several different options available. Below are a few common headers used with the boards.

Break Away Headers - Straight

Break Away Headers - Straight

PRT-00116
$1.50
20
Female Headers

Female Headers

PRT-00115
$1.50
7
Teensy Header Kit

Teensy Header Kit

PRT-13925
$1.50

Tools

You will need a soldering iron, solder, and general soldering accessories. We recommend the beginner Tool Kit for soldering any of the Teensy boards.

SparkFun Beginner Tool Kit

SparkFun Beginner Tool Kit

TOL-14681
$54.95

Alternatively, if you are planning on doing a lot of intense soldering, you can also use the following wishlist as a guide.

Suggested Reading

If you aren't familiar with the following concepts, we recommend reading these articles first before continuing with this getting started guide.

How to Solder: Through-Hole Soldering

This tutorial covers everything you need to know about through-hole soldering.

Serial Communication

Asynchronous serial communication concepts: packets, signal levels, baud rates, UARTs and more!

Installing an Arduino Library

How do I install a custom Arduino library? It's easy! This tutorial will go over how to install an Arduino library using the Arduino Library Manager. For libraries not linked with the Arduino IDE, we will also go over manually installing an Arduino library.

Serial Peripheral Interface (SPI)

SPI is commonly used to connect microcontrollers to peripherals such as sensors, shift registers, and SD cards.

Installing Arduino IDE

A step-by-step guide to installing and testing the Arduino software on Windows, Mac, and Linux.

Logic Levels

Learn the difference between 3.3V and 5V devices and logic levels.

I2C

An introduction to I2C, one of the main embedded communications protocols in use today.

Suggested Viewing

Check out some of the related videos.