I. Hardware
II. Software
Download these 4 items:
- Teensy Loader (https://www.pjrc.com/teensy/loader_linux.html) (32bit or 64bits are based from host pc)
- Linux udev rules or 49-teensy.rules (https://www.pjrc.com/teensy/loader_linux.html)
- Teensydruino (https://www.pjrc.com/teensy/td_download.html)
- Arduino IDE (https://www.arduino.cc/en/Main/Software?)
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
———————
*** Disclosure: As an Amazon Associate I earn from qualifying purchases. ***
Thank you for visiting. I love to keep my website efficient with useful content. I personally use and test all hardware items mentioned in this website. You can feel free to drop a comment if having questions.
When i go to download the rules I just see a bunch of text on a html document. How do I download it as a .rules file?
Right click on the hyperlink > Save link as