Teensy 3.2

Teensy® 3.2 Development Board

$35
Quantity

 

Shipment insurance!

 

48h worldwide delivery!

 

14 days for return goods!

Photos

Back Side:

Specifications

  • ARM Cortex-M4 at 72 MHz
  • 256K Flash, 64K RAM, 2K EEPROM
  • USB device 12 Mbit/sec
  • 34 digital input/output pins, 12 PWM output pins
  • 21 analog input pins, 1 analog output pin, 12 capacitive sense pins
  • 3 serial, 1 SPI, 2 I2C ports
  • 1 I2S/TDM digital audio port
  • 1 CAN bus
  • 16 general purpose DMA channels
  • RTC for date/time

Compare detailed specifications of all Teensy models.

Software

Arduino IDE + Teensyduino
Arduino's IDE software with the Teensyduino add-on is the primary programming environment for Teensy. On Windows, Linux and old Macs, Arduino is installed first and then the Teensyduino installer adds Teensy support to the Arduino IDE. On newer Macs, an all-in-one download is provided. Teensyduino includes a large collection of libraries which are tested and optimized for Teensy. Other libraries may be installed manually or by Arduino's library manager.
Visual Micro
Visual Micro allows use of Microsoft Visual Studio to program Arduino compatible boards, including Teensy. Only Windows is supported. Visual Micro is commercial paid software.
PlatformIO
PlatformIO IDE is a cross platform development environment with many advanced features. Windows, Linux and Macintosh are supported.
Command Line with Makefile
Makefiles for non-graphical use are provided with the Teensyduino installer.
  • Teensy 4.x: {Arduino}/hardware/teensy/avr/cores/teensy4/Makefile
  • Teensy LC & 3.x: {Arduino}/hardware/teensy/avr/cores/teensy3/Makefile

Processor

Performance
(info here)
Memory Interface
Dual 32 bit buses allow the processor to simultaneously fetch instructions and transfer data.
Digital Signal Processing
DSP extension instructions accelerate signal processing, filters and Fourier transform. The Audio library automatically makes uses of these DSP instructions.

Pins

Teensy 3.2 has a total of 34 input/output signal pins. 24 are easily accessible when used with a solderless breadboard.

This pinout reference card comes with Teensy 3.2.

 
Pinout Card Files: Front Side (PDF) / Back Side (PDF)

Digital Pins

Digital Input Pins
Digital pins may be used to receive signals. Teensy 3.2 pins default to a low power disabled state. The pinMode function with INPUT must be used to configure these pins to input mode. Then the input may be read with digitalRead. Teensy 3.2 pins accept 0 to 5V signals. The pins are 5V tolerant. Do not drive any digital pin higher than 5V.
Input Pullup & Pulldown Resistors
All digital pins have optional pullup and pulldown resistors. These are used to keep the pin at logic HIGH or logic LOW when it is not being actively driven by external circuity. Normally these resistors are used with pushbuttons & switches. The pinMode function with INPUT_PULLUP or INPUT_PULLDOWN must be used to configure these pins to input mode with the built-in resistor.
Pin Change Interrupts
All digital pins can detect changes. Use attachInterrupt to cause a function to be run automatically. Interrupts should only be used for clean signals. The Bounce library is recommended for detecting changes on pushbuttons, switches, and signals with noise or mechanical chatter.
Digital Output Pins
All digital pins can act at output. The pinMode function with OUTPUT or OUTPUT_OPENDRAIN must be used to configure these pins to output mode. The digitalWrite and digitalToggle functions are used to control the pin while in output mode. Output HIGH is 3.3V. The recommended maximum output current is 10mA.
Pulse Width Modulation (PWM)
12 of the digital pins support Pulse Width Modulation (PWM), which can be used to control motor speed, dim lights & LEDs, or other uses where rapid pulsing can control average power. PWM is controlled by the analogWrite function. 3 groups of PWM can have distinct frequencies, controlled by the analogWriteFrequency function.
Slew Rate Limiting
This optional feature greatly reduces high frequency noise when long wires are connected to digital output pins. The rate of voltage change on the pin is slowed. The extra time is only nanoseconds, which is enough to lower undesirable high frequency effects which can cause trouble with long wires.
LED Pin
Pin 13 has an orange LED connected. The LED can be very convenient to show status info. When pin 13 is used as an input, the external signal must be able to drive the LED when logic HIGH. pinMode INPUT_PULLUP should not be used with pin 13.

Analog Pins

Analog Inputs
21 pins can be used an analog inputs, for reading sensors or other analog signals. Basic analog input is done with the analogRead function. The default resolution is 10 bits (input range 0 to 1023), but can be adjusted with analogReadResolution. The hardware allows up to 16 bits of resolution, but in practice only up to 13 bits are normally usable due to noise. More advanced use is possible with the ADC library. Analog inputs can also receive audio signals with the Audio library, but the sound quality is lower than using the Audio shield.
Analog Range & Reference Voltage
The AREF pin is used to set the analog input range. By default, AREF is 3.3V due to a resistor. External shunt-type reference chips may be connected for lower reference voltage. Or analogReference(INTERNAL) may be used to set the analog range to 1.2V.
5 Volt Tolerance
Analog input pins which have digital capability are 5 volt tolerant, even when the digitial features are not used. When driven higher than AREF, these pins measure the maximum reading. Analog input pins without digitial (A10, A11, A12, A13, A14) are not 5V tolerant. Do not drive analog-only pins higher than 3.3V.
Differential & Programming Gain Amplifiers
Pins A10 & A11 and A12 & A13 have a differential amplifiers.
Analog Comparators
These comparators allow an analog signal to be converted to digital, with a precisely defined voltage threshold for logic low versus high.
Analog Outputs / Digital To Analog (DAC)
One true analog output DAC is present on pins A14. This may be used with analogWrite, or the Audio library.
Capacitive Touch Sensing
12 pins can measure ground-coupled capacitance. The touchRead(pin) function is used. When Teensy GND is connected to earth ground, or to a conductive enclosure the user holds, these pins may be connected to electrodes to for a touch sensitive user interface. Touch sensing can also be done on other pins with the CapacitiveSensor library, but the built in hardware on these 12 pins is more accurate and much faster.

Communication


Tools > USB Type menu configures the type of USB device Teensy will implement.

USB Device
Teensy's primary communication is its main USB port, which operatates in USB device / peripheral mode at 12 Mbit/sec speed. The Teensyduino software supports many different types of USB communication to your PC or Mac, selected by the Tools > USB Type menu. Several of these devices types may be used simultaneously.
  • Serial - Seen by your computer as a COM port (Windows) or serial device (Mac, Linux), Serial is the default and most commonly used communication type. Bytes are transfered in both directions at maximum USB speed (baud rate settings are ignored). Teensyduino has highly optimized code to allow fast USB serial data transfer. While normally used with the Arduino Serial Monitor, Teensy's USB Serial mode is compatible with software designed for serial ports, like CoolTerm. On Teensy, the seraild devices is accessed as "Serial". In the Dual & Triple Serial modes, the additional serial devices are "SerialUSB1" and "SerialUSB2".
  • Emulated Serial - The USB Type settings lacking Serial use a HID interface to emulate serial. In these modes, your PC or Mac will not detect a COM port or serial device, but you can still use Serial.print() to send text to the Arduino Serial Monitor.
  • MIDI - Musical Instrument Device. MIDI is often used to interface knobs, sliders and buttons to music & sound control software. MIDI messages may be sent in both directions. Teensyduino's MIDI is "class compliant" for compatibility with Macintosh, Linux, and Windows using only built-in drivers. The MIDIx4 & MIDIx16 modes provide 4 or 16 virtual MIDI ports / cables. The MIDI device name seen by your computer may be customized.
  • Audio - Bi-directional stereo audio streaming, seen by your computer as a USB sound card. Using your computer's sound preferences, programs which play sound can stream to Teensy, and programs which record or process sound can receive, as if you were using a USB microphone. USB Audio is meant to be used together with the Teensy Audio Library, allowing your computer's sound to integrate with any audio processing system you design on Teensy.
  • Keyboard - Standard 104 key USB keyboard. Programs can transmit keystrokes to your computer, allowing control of nearly any software. Media control keys (play, pause, volume, etc) may also be used. Many non-US keyboard layouts are supported, using the Tools > Keyboard Layout menu.
  • Mouse - A special USB mouse is emulated. Both relative motion of a normal mouse, and absolute screen position similar to a digitizer pen can be sent to your computer. Mouse buttons and scroll wheel are also supported.
  • Joystick - A joystick / game controller with 6 axes (X, Y, Z, Zr, Slider1, Slider2), 32 buttons, and 1 hat switch are supported. The Joystick type is useful for controlling games or other software which responds to a joystick.
  • Touchscreen - Emulates a touchscreen capable of detecting up to 10 finger positions.
  • MTP Disk - Media Transfer, seen by your computer as a phone or camera which shares files.
  • Flight Sim - Allows integration with the X-Plane flight simulator software. Variables and controls within the simulator are linked to variables in your code running on Teensy.
  • Raw HID - Allows communicating 64 byte messages with custom written software on your computer.
Serial
3 serial ports allow you to connect serial devices, such as MIDI, GPS receivers, DMX lighting, ESP wireless modules, etc. All 3 serial port are fully independent and can transfer data simultaneously. None are shared with USB (as is done on some Arduino boards). Serial1 & Serial2 include FIFOs for better performance at high speed baud rates.
I2C
2 ports for I2C (signals SDA & SCL) allow connecting a wide variety of chips which use I2C communication. The Wire library is used for I2C. Each I2C chip connected to the same SDA/SCL wires needs a unique address. Multiple I2C ports allow you to easily use more than 1 chip with the same address. All I2C ports support 100, 400, and 1000 kbit/sec speeds.
SPI
1 port for SPI (signals MOSI, MISO, SCK) allow connecting higher speed chips, SD cards, and displays which use SPI communication. The SPI library provides software support for SPI. A FIFO for higher sustained speed transfers is included. Each SPI chip requires a chip select (CS) signal. Most libraries using SPI can use any digital pin. The SPI ports provide special hardware controlled CS pins, which are used by specially optimized libraries for higher performance.
CAN
1 port for CAN bus allow connecting to automotive & industrial control systems which use CAN communication. A CAN transceiver chip must be added to complete the electrical interface between Teensy 3.2 and the CAN bus.

Displays


ILI9341 Color TFT Display The best supported display for Teensy 3.2

ILI9341 320x240 Color TFT
These displays are the best supported on Teensy 3.2, with multiple high performance libraries for fast updates speed. ILI9341 is usually the best display to use, due to superior software support.
ST7735 Color TFT
These displays are slightly smaller and lower resolution than ILI9341. Highly optimized libaries for ST7735 & ST7789 allow these to also perform very well.
SSD1306 Monochrome OLED
These small displays are very popular and well supported.
Other Displays
Almost all displays with Arduino libraries work on Teensy 3.2.

Audio


Audio Design Tool makes it easy to create an audio processing system which streams sound while your program runs.


Audio Shield converts I2S digital audio to analog stereo input & output.

I2S / TDM
Most commonly used with the audio shield, 1 digital audio port can simultaneously transmit and receive up to 4 audio channels using I2S protocol, or up to 16 channels using TDM. Alternately, a special format used by inexpensive PT8211 DAC chips can be used.
S/PDIF
The I2S port may be used to transmit S/PDIF. Receiving S/PDIF is not supported on Teensy 3.2, but Teensy 4.0 & 4.1 can receive S/PDIF.
Analog Input (ADC)
1 or 2 analog input pins may be used for audio inputs. These may be used simultaneously with the other audio inputs & outputs.
Analog Output (DAC)
The DAC output pin can transmit audio. This may be used simultaneously with the other audio inputs & outputs.


PT8211 is the least expensive DAC for good quality stereo signal output

Lights & LEDs


OctoWS2811 Library controlling 1920 WS2812B RGB LEDs at 30 Hz refresh rate

WS2812B / NeoPixel
Two high performance non-blocking libraries support use of WS2812B LEDs. OctoWS2811 transmits 8 outputs in parallel, allowing up to 8800 LEDs to be refreshed at up to 30 Hz video rate. WS2812Serial transmits a single output, but up to 5 instances may be used. Non-blocking transmission uses DMA to transmit automatically, while your code is able to continue running. This much more allows complex animations or efficent communication than traditional blocking.
SmartMatrix & SmartLED Shield for HUB75 RGB LED Panels
SmartLED Shield (version 4) enables Teensy 3.2 to drive high-quality graphics to HUB75 RGB LED panel arrays (from 32x16 up to 64x64 pixels). The SmartMatrix library makes it easy to draw basic graphics, create scrolling and static text, draw beautiful patterns using FastLED, and play animated GIFs on the panel. SmartMatrix uses Teensy 3.2's special features to send graphics data with minimal CPU usage, so you can use the processor to do other tasks in parallel such as SPI communication, file decoding, or complex rendering.
DMX Lighting Control
Serial1 & Serial2 may be used for efficient communication with DMX lighting controllers.
RGB LEDs
Ordinary LEDs by be variable-brightness controlled by PWM, or the SoftPWM & ShiftPWM libraries.


ShiftPWM controlling 16 RGB LEDs using six 74HCT595 chips

Dimensions



Schematic

Component Locations

Specific References

Reviews

Write your review

Teensy 3.2

Teensy® 3.2 Development Board

Write your review

16 other products in the same category: