Teensy 434599 2.0 USB Development Board User Manual

June 9, 2024
Teensy

Teensy 434599 2.0 USB Development Board

INSTALLATION

Step #1: Teensy First Use
The first step is to plug your new Teensy in using the USB cable.

Teensy-434599-2.0-USB-Development-Board-1

Simply plug the Teensy board in to a USB port to get started.

All brand new Teensy boards come with the LED blink program pre-loaded. You should see the Orange LED blink slowly, 1 second on, 1 second off.

If your Teensy is not brand new, it will run whatever program the previous owner loaded, perhaps causing your computer to recognize new hardware and require drivers. Just cancel any driver setup. In the next step you will load the LED blink program.

If your Teensy should blink but does not, please check the USB cable to make sure it is properly connected. Your computer must be on so it provides power to the USB port. If you still experience problems, try a different USB port or different computer.

HalfKay Bootloader Mode

Your Teensy contains 2 programs, the LED blink (user program) and the HalfKay bootloader. HalfKay, together with the Teensy Loader software, allows you to easily load new programs. Normally, the user program will run. To run HalfKay, press and release the tiny pushbutton.

Press and release the pushbutton to enter HalfKay bootloader mode.

The LED blinking will stop, because HalfKay never lights the LED.

Your computer may briefly display a message or beep to indicate new hardware. Windows, MacOS-X and Linux have built-in drivers that are automatically used, so you never need to install drivers for HalfKay!

Understanding When Each Program Runs

User Program Runs When… HalfKay Runs When… Nothing Runs When…

·  Power is applied

·  Reboot button clicked in Teensy Loader

·  (In Auto mode) Immediately after download

| · Pushbutton is pressed (and released)

· If user program jumps to Teensy code

| __

· Pushbutton held down

Loading New Programs
The next step is to install and use the Teensy Loader application to download different programs to your Teensy board.

Downloading Teensyduino

Install Step 1: Download & Extract Arduino
First, you must download the Arduino Software. Remember the location where you extracted the files.

Install Step 2: (Linux only) Install udev Rules
The udev rule file gives non-root users permission to use the Teensy devices (serial, HID, etc). More Linux tips below. sudo cp 49-teensy.rules/etc/udev/rules.d/

Install Step 2: (Macintosh only) Pass Internet Download Question
You must run Arduino at least once before adding Teensyduino, to confirm you wish to run a program downloaded from the Internet.

If Teensyduino modifies your copy of Arduino before you confirm, recent versions of OS-X may not allow you to run Arduino, or even tell you Arduino will damange your computer. Simply run Arduino first to clear the question about running a program downloaded from the Internet, before adding Teensyduino!

Install Step 2: (Windows Only) Anti-Virus/Malware Exception
Windows Defender, McAfee and other anti-virus or anti-malware program can interfere with installation. They also can cause horribly slow performance when Arduino compiles code, if “Real Time Scanning” is enabled.

Install Step 3: Run Teensyduino Installer
The Teensyduino installer adds the necessary support files to Arduino. Your copy of Arduino must be one of the supported versions listed on this first screen.

On Windows, this driver allows to you access the serial device type. This step is not necessary and does not appear on Mac OS-X and Linux. Windows 10 has the proper driver, which is automatically detected.

Select the location where you extracted the Arduino Software. On Windows, the location will default to the location where Arduino’s installer places the software.

The Next button will only activate when a supported version of the Arduino Software is found.

If the Next button will not activate, click the “?” button for more information.

Teensyduino can automatically install many libraries that are tested and verified to work with Teensy. Usually it’s best to allow the installer to add them all.

The installer will copy all the necessary files into your Arduino Software, when you click the “Install” button.

When installation is finished, you will see this final screen. Just click Done to quit the installer.

When using Arduino, be sure to select Teensy in the Tools > Boards menu. Arduino’s File > Examples menu automatically changes to show the libraries and examples for the selected board.

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.

Teensy-434599-2.0-USB-Development-Board-11

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 Arduino: 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 2.0 Compare With Arduino?

On May 19, 2012, Arduino Leonardo was released, using the same ATMEGA32U4 chip as Teensy 2.0. Currently no Arduino board offers hardware similar to Teensy++ 2.0. Both Teensy 2.0 and Arduino Leonardo support USB Serial, Keyboard and Mouse. Both have similar compatibility with all Arduino-based code. But there are several differences:

Teensy 2.0

  • USB MIDI, Disk, Joystick, RawHID & Flight SimControls.
  • Optimized digitalWrite, digitalRead, pinMode, etc.
  • 3.5K extra program memory (smaller bootloader)
  • International (non-US) keyboard support.
  • Small form factor.
  • 3.3 volt option & Tools > CPU Speed menu.
  • Non-Serial USB (no driver install message on Windows).
  • Uno reset emulation, Serial.print() in setup() works.

Arduino Leonardo

  • 9V unregulated power input, for easieruse of external power.
  • USB vs 9V automatic power selection.
  • Arduino shield form factor (check compatibility, some only support Arduino Uno).
  • Hardware cloning is allowed.
  • Arduino brand name

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals