Wiring & Teensy Setup

Wiring

  • Barrel Jack + to Teensy Vin and Dotstar 5v
  • Barrel Jack - to Teensy G and Dotstar G
  • Teensy 0 to Dotstar Data In
  • Teensy 1 to Dotstar Clock In

With the bump on the IR sensor facing you:

  • IR Pin 1 to Teensy 3v
  • IR Pin 2 to Teensy G
  • IR Pin 3 to Teensy 12

Teensy Setup

To get the code running on the Teensy you'll need:

  1. Arduino IDE (1.6.5 or newer preferred)
  2. Teensyduino Installer
  3. FastLED Library

1. Arduino IDE

If you’re not using a recent version of the Arduino IDE (1.6.5 or newer), this would be a good time to upgrade.

2. Teensyduino Installer

Once you have that software installed and working, download and run the Teensyduino installer, which adds support for the full line of Teensy microcontroller boards in the Arduino IDE.

In the Arduino IDE, from the Tools menu, select Board→Teensy 3.2 and CPU Speed→72 MHz (Optimized). Confirm that you can compile and upload the classic “blink” sketch to the Teensy board.  Be sure you can blink the light before continuing.

3. FastLED Library

Use the Library Manager in the Arduino IDE to install this (Sketch→Include Library→Manage Libraries…).

Search for the FastLED library and install it

We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

This guide was first published on Apr 21, 2016. It was last updated on Apr 21, 2016.
This page (Wiring & Teensy Setup) was last updated on Aug 06, 2020.