Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

How To Install the Arduino IDE for Teensy on Ubuntu 16.04

  1. Home
  2. DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction

By Khalid on 2017/10/18 - 11:40, last updated 2022/11/17 - 12:10

In my quest to build a full featured and open telescope controller, I settled on OnStep by Howard Dutton. This is built using Teensy, which is a board similar to Arduino.

One of the challenges was building a development environment for Teensy on my Linux desktop, running Xubuntu 16.04. Although there is a version of the Arduino IDE in Ubuntu's repositories, it is version 1.05. The Teensyduino extension to the IDE requires specific versions, and the minimum is 1.06.

So, I had to install the Arduino IDE and Teensy's extensions manually, as follows:

I am assuming you will be using a 64bit version of Linux.

Installing Dependencies

First, install the dependencies:

$ sudo aptitude install gcc gcc-avr avrdude avr-libc default-jre libjna-java librxtx-java 

Installing the Arduino IDE

Then, download the Arduino IDE, version 1.8.5.

You then have to decide where you will have the IDE installed, I used ~/arduino.

cd ~

tar -xJvf arduino-1.8.5-linux64.tar.xz

mv arduino-1.8.5/ arduino

Installing Teensyduino

Download the TeensyDuino package for Linux 64bit.

Next, run the Teensyduino package. When prompted, select the arduino directory above.

chmod +x TeensyduinoInstall.linux64 
./TeensyduinoInstall.linux64

You are now done with the Arduino IDE, and can use any Teensy board.

You can point to the directory that has your Arduino/Teensy project, and open it in the IDE, and click 'Verify'. This should compile the package for you, and prompt you to download on the board.

Installing Additional Libraries

Only for the simplest of projects one would use an Ardunio or Teensy by itself. For most projects, one would use additional hardware components.

For these additional components, you need the library for the specific hardware that you are using.

For example, if you want WiFi in your project, you will probably use a generic ESP8266 WiFi adapter. In this case, you need to do the following:

  • Start the Arduino IDE.
  • From the menu, go to 'File' then 'Preferences'.
  • Under 'Additional Board Manager URLs', copy and paste the following URL:
    http://arduino.esp8266.com/staging/package_esp8266com_index.json
  • Then go to 'Sketch', 'Include Library', 'Manage Libraries'
  • From there, find and install the "Generic ESP8266" library.
  • Then in the IDE again, load your project's sketch then select 'Tools', 'Board', 'Generic ESP8266 Module'.
  • Click on the 'Verify' button, and it should compile your project with ESP8266 support.

Enjoy ...

Linux
Astronomy

Book Navigation

  • ‹ AstroEQ: Telescope Controller With EQMOD Emulation
  • up
  • OnStep: A Full Featured Open Telescope Controller ›
  • Add comment

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
    • AstroEQ: Telescope Controller With EQMOD Emulation
    • How To Install the Arduino IDE for Teensy on Ubuntu 16.04
    • OnStep: A Full Featured Open Telescope Controller
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.