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:
- Arduino IDE (1.6.5 or newer preferred)
- Teensyduino Installer
- 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
Page last edited March 08, 2024
Text editor powered by tinymce.