skip navigational linksPJRC
Shopping Cart Checkout Shipping Cost Download Website
Home MP3 Player 8051 Tools All Projects PJRC Store Site Map
You are here: Teensy Teensyduino Main Search PJRC

PJRC Store
Teensy, $16
Teensy Pins, $19
Teensy++, $24
Teensy++ Pins, $27
USB Cable, $4
Teensy
Main Page
Getting Started
How-To Tips
Code Library
Projects
Teensyduino
Reference

Teensyduino


older pinout diagram
Teensyduino is a software add-on for the Arduino, to run sketches on the Teensy and Teensy++!

Running Sketches on the Teensy

Most programs written for Arduino work on Teensy. All of the standard Arduino functions (digitalWrite, pinMode, analogRead, etc) all work on Teensy. Teensyduino is also compatible with many Arduino libraries.

Teensy is not limited to only serial device type. The Tools > USB Type menu can select the type of device Teensy will become when it runs your sketch.

All communication is performed at full native 12 Mbit/sec USB speed. Serial includes built-in flow control, so the effective speed will be as fast as your code can read, but unlike Arduino, you will not lose incoming data if your sketch does not use Serial.read() quickly. When implementing Serial mode, maximum speeds of approximately 1 Mbit/sec are commonly achievable.

Teensy has the same built-in peripherals as Arduio: analog inputs, SPI, I2C, PWM, and a real serial port. For applications that need the serial port (MIDI, GPS modules, etc), Teensy is very easy to use, because uploading takes place on the USB port, which is not shared with serial.

How Does Teensy Compare With Arduino?

SpecificationTeensyTeensy++Arduino Uno
ProcessorATMEGA32U4AT90USB1286ATMEGA328
Flash Memory3225613004832256
RAM Memory256081922048
EEPROM Memory102440961024
Total I/O254620
Analog Inputs1286
PWM (Analog Out)796
USB Port11(serial only)
Teensy uses a similar Atmel AVR processor as the Arduino board, but there are differences. The most important is direct, built-in USB on the Teensy compared to serial converted to USB by a separate chip on the Arduino. Teensy communications MUCH faster than Arduino, and can implement many types of devices.

Teensy is designed for easy use on breadboards in the smallest possible size, which is incompatible with the form-factor used by Arduino shields.

While many types of sketches can run, Teensy is NOT an "Arduino clone". The Teensy hardware and Teensyduino software add-on are NOT endorsed or supported by the Arduino developer team.