Skip to content

Teensy Compatibility

MichaelMeissner edited this page Mar 23, 2020 · 12 revisions

Teensy Compatibility

While there are differences between the various ARM Teensys there is also a lot of commonality. This can allow you to lay out a basic breadboard or prototype board, and move between different Teensys.

The areas where ARM Teensys (LC, 3.0, 3.1, 3.2, 3.5, 3.6, and 4.0) are compatible are:

  • The first 28 pins are laid out in a 2x14 grid, with the Teensy being 0.7" wide;
  • All ARM Teensys use a micro-USB connector;
  • The main ground, VIN, and 3.3v pins are in the same location;
  • The analog ground pin in the Teensy 3.0, 3.1, 3.2, 3.5, and 3.6 is in the same location as the secondary ground pin in the Teensy LC and 4.0. Thus you should use this ground pin for the analog pins;
  • The inner pin VUSB that gives the USB voltage is in the same spot in all Teensys;
  • All Teensys have a solder pad that normally connects VIN and VUSB to power the Teensy, but you can cut the solder pad if you want to separate the USB from the normal power pin;
  • Pins 0/1 are connected to the first serial port (Serial1);
  • Pins 7/8 are also connected to a serial port, though it is Serial2 in the Teensy 4.0 and Serial3 in the Teensy 3.x and LC boards;
  • Pins 11/12/13 are the first SPI bus common ports (MOSI, MISO, and SCLK respectively). Pin 10 is commonly used for the CS pin;
  • Pin 13 is connected to a LED to allow simple blinking scripts;
  • The USB connection is known as just Serial.
  • Pins 18/19 are the first I2C port (SDA, SCL). Note, that on all Teensys you must have hardware pullup resistors between each of the pins and 3.3v if the i2c devices on the i2c bus don't provide one;
  • Analog inputs can be done on pins 14-23. These pins have the alternate names of A0..A9;
  • Pins 3, 4, 6, 22, and 23 are the common PWM (pulse-width modulation) pins across all Teensys.
Clone this wiki locally