Você está na página 1de 1

Title http://www.pjrc.com/teensy/teensyduino.

html

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, $19 Teensyduino
Teensy Pins, $22
Teensy++, $24
Teensyduino is a software add-on for the Arduino IDE. It adds the ability to build and run sketches on the
Teensy++ Pins, $27
Teensy and Teensy++!
USB Cable, $5
The Download Page has versions of Teensyduino for recent Arduino software on Linux, Macintosh and
Teensy Windows.

Running Sketches on the Teensy


Main Page
Getting Started
How-To Tips
Code Library
Many type of sketches are able to run on the Teensy! The digitial I/O pins work with
Teensyduino
Main
digitialWrite(pin,value), digitalRead(pin), and pinMode(pin,mode). The PWM pins can be used with
Download+Install analogWrite(pin,value). Eight (8) pins can be used as interrupts with attachInterrupt(). The Teensy++ has
Basic Usage 8 analog inputs that can be used with analogRead().
Digital I/O
USB Serial Communication can be done using Serial.print() and other communication functions normally used for
UART Serial communication on the Arduino board. Unlike the Arduino, which converts 38.4 kbps serial to USB, the
Reference
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. It can
act as HID, Mass Storage, or nearly any type of USB device. Future Teensyduino releases will provide
alternate board configurations that act as non-serial devices.

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?


Teensy uses a similar Atmel AVR processor as the Arduino board, but there are
Specification Teensy Teensy++ Arduino
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. While this allows much faster Processor AT90USB162 AT90USB646 ATMEGA168
communication, and also many types of USB communication that are impossible with a
standard Arduino, it is also a very different from a technical point of view! Some sketches Flash Memory 15872 64512 14336
may depend on the serial-based behavior in subtle ways, and thus may not work RAM Memory 512 4096 1024
properly on a Teensy with direct USB.
EEPROM Memory 512 2048 512
Teensyduino attempts to make Teensy as compatible with sketches as possible. If you
discover a bug or compatability problem, please report it to paul@pjrc.com. Digital I/O 21 38 14
Analog Inputs 0 8 6
The Teensy lacks analog inputs. Sketches that require analog input can not work on the
Teensy. The Teensy also has less RAM and fewer PWM capable pins than an Arduino. PWM (Analog Out) 4 9 6
Teensy is designed for easy use on breadboards in the smallest possible size, which is
incompatible with the form-factor used by Arduino shields. USB Port 1 1 (serial only)
Serial Port 1 1 1
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 I2C (TWI) Port 0 1 1
add-on are NOT endorsed or supported by the Arduino developer team.
Clock Speed 16 MHz 16 MHz 16 MHz

1 of 1 6/27/2009 5:16 AM

Você também pode gostar