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, $18
Teensy Pins, $21
Teensy++, $24
Teensy++ Pins, $27
USB Cable, $5
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 IDE. It adds the ability to build and run sketches on the Teensy and Teensy++!

The Download Page has versions of Teensyduino for recent Arduino software on Linux, Macintosh and Windows.

Update: Keyboard & Mouse type are now available in Teensyduino 0.6. Select it from the Tools->Boards menu, and your sketch can type with Keyboard.print("whatever") and use the mouse with Mouse.move(x,y) and Mouse.click().

Running Sketches on the Teensy

Many type of sketches are able to run on the Teensy! The digitial I/O pins work with digitialWrite(pin,value), digitalRead(pin), and pinMode(pin,mode). The PWM pins can be used with analogWrite(pin,value). Eight (8) pins can be used as interrupts with attachInterrupt(). The Teensy++ has 8 analog inputs that can be used with analogRead().

Communication can be done using Serial.print() and other communication functions normally used for communication on the Arduino board. Unlike the Arduino, which converts 38.4 kbps serial to USB, the Teensy has direct 12 MBit/sec USB access, so communications are sent and received at full USB speed.

Direct USB access is possible, so the Teensy is not limited to being only a serial-type USB device. Your sketch can use a Keyboard/Mouse board setting, which make become a USB keyboard and mouse! Future Teensyduino releases will add more USB device types.

The Teensy also has a serial port. It is not connected the USB port and can be used separately.

How Does Teensy Compare With The Arduino Board?

SpecificationTeensyTeensy++Arduino
ProcessorATMEGA32U4AT90USB646ATMEGA328
Flash Memory3225613004830720
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. Starting with Teensyduino 0.6, Teensy can communicate as a USB keyboard and mouse, which is impossible with an Arduino board that has a fixed USB to serial converter chip.

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" due to the substantial technical differences. The Teensy hardware and Teensyduino software add-on are NOT endorsed or supported by the Arduino developer team.