Skip to content

Teensy 4.0

paradajz edited this page Apr 21, 2026 · 1 revision

Quick overview

  • OpenDeck target name: teensy4
  • Power: Micro USB
  • MCU: MIMXRT1062
  • MIDI: USB, DIN
  • OSC: No
  • Traffic indicators: 1
  • Digital inputs: 11
  • Outputs: 11 (PWM / level control)
  • Analog inputs: 10
  • Board docs: Teensy 4.0
  • Buy links:

Connections

Pinout to use as an reference to pins in later sections:

Switches

Switch # Pin 1 Pin 2
0 2 GND
1 3 GND
2 4 GND
3 5 GND
4 6 GND
5 9 GND
6 10 GND
7 11 GND
8 12 GND
9 36 GND
10 37 GND

Analog inputs

Switch # Pin 1 Pin 1 Pin 2
11 14 GND with 10k resistor 3V
12 15 GND with 10k resistor 3V
13 16 GND with 10k resistor 3V
14 17 GND with 10k resistor 3V
15 18 GND with 10k resistor 3V
16 19 GND with 10k resistor 3V
17 20 GND with 10k resistor 3V
18 21 GND with 10k resistor 3V
19 22 GND with 10k resistor 3V
20 23 GND with 10k resistor 3V

Rotary encoders

Encoder # Pin 1 Pin 2 Pin 3
0 2 GND 3
1 4 GND 5
2 6 GND 9
3 10 GND 11
4 12 GND 36

Potentiometers

Potentiometer # Pin 1 Pin 2 Pin 3
0 3V 14 GND
1 3V 15 GND
2 3V 16 GND
3 3V 17 GND
4 3V 18 GND
5 3V 19 GND
6 3V 20 GND
7 3V 21 GND
8 3V 22 GND
9 3V 23 GND

FSRs

FSR # Pin 1 Pin 2 Pin 2
0 3V 14 GND with 1k resistor
1 3V 15 GND with 1k resistor
2 3V 16 GND with 1k resistor
3 3V 17 GND with 1k resistor
4 3V 18 GND with 1k resistor
5 3V 19 GND with 1k resistor
6 3V 20 GND with 1k resistor
7 3V 21 GND with 1k resistor
8 3V 22 GND with 1k resistor
9 3V 23 GND with 1k resistor

PWM outputs

Note: current-limiting resistors for LEDs are required in order to avoid damage to the board.

Output # Anode Cathode
0 26 GND
1 27 GND
2 28 GND
3 29 GND
4 30 GND
5 31 GND
6 32 GND
7 33 GND
8 34 GND
9 35 GND
10 38 GND

Traffic indicators

Indicator LED
USB input 13
USB output 13
DIN input 13
DIN output 13

I2C

Signal Pin
Vcc 3V
GND GND
SDA 25
SCL 24

DIN MIDI

This board doesn't have DIN MIDI connectors, so they have to be added to the board with the corresponding circuitry. Use this schematic:

MIDI In MIDI out
7 8

Touchscreen

Screen Pin
Vcc 5V
GND GND
Rx 8
Tx 7

Bootloader switch

Hold OpenDeck switch 0 / 2 low while resetting or powering the board to enter the OpenDeck bootloader.

Flashing

To flash this board with the OpenDeck firmware, go to the OpenDeck configurator and follow the instructions.

Notes

The teensy4 target uses several underside-only pads on Teensy 4.0: 34, 35, 36, 37, and 38.

DIN MIDI and touchscreen use the same UART pins on this board, so only one of them can be enabled at a time.

Clone this wiki locally