How to Set Up Teensy 3.2 or later Software on Ubuntu Linux

I. Hardware

  • Teensy 3.2
  • USB Micro B cable

II. Software

Download these 4 items:

III. Installation

Add rule and Teensy loader

Add rule into Linux computer with the udev rules file.  For example, I downloaded the 49-teensy.rules into my Downloads folder.

cd ~/Downloads
sudo cp 49-teensy.rules /etc/udev/rules.d/

I have Linux 64 bit, so I downloaded the ​teensy_linux64.tar.gz and extract all the files into ~/Downloads/teensy folder. Next, still at the Downloads folder, I run:

cd teensy
./teensy &

Connect your Teensy to PC with USB cable. Teensy LED light should be flashing by default. Load the Teensy loader file, you will see the “Press Button…” message, press the button and Teensy board would show up on the loader if everything was installed correctly. If it’s not, it could be because the udev rules were not properly set.

Arduino IDE

Can follow the instruction here:

https://www.arduino.cc/en/Guide/Linux

Teensyduino

After download the correct Teensyduino version for your computer:

Right click on the file > Properties > Permission > check Allow executing file as program > Click X to close

Double click on the file and follow installation instruction.

When being asked to “Select Arduino Folder”, select the Arduino folder that you previously installed your Arduino IDE. Teensy will install all of its libraries here for Arduino IDE to recognize.

IV. Test Installation

Close Teensy loader and Arduino IDE if you have them opened. Re-open Arduino IDE.

Go to Tools > Boards and you would see the option to choose Teensy Board 3.2, select this.

Click on the “check mark” to verify on first run, then Press the button on Teensy again. Arduino IDE should recognize the Teensy without error.

Upload sample Blink codes:

Files > Examples > 01. Basics > Blink

Click Verify > Upload

If the codes are uploaded successfully, you will see Pin 13 LED blinking.

Reference sources:

1. https://www.pjrc.com/teensy/loader_linux.html

2. https://www.pjrc.com/teensy/td_download.html

3. https://www.pjrc.com/teensy/tutorial.html

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s