Arduino IDE installation

What is Arduino IDE?

Arduino IDE is an open-source software which makes it easy to write and upload the code to Croduino or some other Arduino board. It is written in Java and it's based on Processing. It is supported on Windows, Mac and Linux operating systems and the current version, while I'm writing this, is 1.6.0, so the tutorial will be based on it. Below is an installation tutorial, if you want more basic options and functions of Arduino IDE, you can check out this link.

How to install it?

All you need is to download installation from the official Arduino website and follow the installation steps. It is possible to encounter some issues regarding some operating systems, that's why we separated them(regarding OS) in next sections. To complete the installation, click on the OS which you are using and double click on a downloaded application after.Screen Shot 2015-03-03 at 21.57.45 copy

Windows

There won't be any problems during the installation with Windows XP and Windows 7. A possible problem can occur when using Windows 8 operating system and it's about "driver signature". If that happens, follow this tutorial.Screen Shot 2015-03-03 at 21.57.45 copy

Mac OSX

What is Win8's "driver signature" problem, it's called "Unidentified Development Error" on OS X. Follow this tutorial, step 6.Screen Shot 2015-03-03 at 21.57.45 copy

Linux

1. Choose Linux 32 bits or Linux 64 bits, depending on the system you are using. If you know that information, skip the step 2.Screen Shot 2015-03-03 at 21.57.45 copy2. To find out which operating system you are using, open Terminal and execute next command:

uname -m

This will show us is our operating system 32-bits ("i686" or "i386") or 64-bits ("x86_64"). Picture below shows that we are working with 32-bit operating system.

Screen Shot 2015-03-04 at 18.07.09
3. Choose "Save file", then "OK" which will save installation to Download folder.

Screen Shot 2015-03-04 at 18.06.52
4. Once again, run Terminal and execute next commands:

cd ~/Downloads npr. cd /home/imeUsera/Downloads
tar --xz -xvf arduino-1.6.0-linux32.tar.xz
sudo mv arduino-1.6.0 /opt

Commands you need to use can differ from shown. "ime usera" represents username. After you type "cd /home/" and press "Tab" on your keyboard, it will show required location. Depending on which Arduino IDE version you download, the name of the file may differ as well. I suggest using "Tab" key once again.

5. These commands will extract downloaded file and move it to /opt file. In case you didn't, install "Java Runtime Environment" :

sudo apt-get install openjdk-7-jre

6. It is required to set USB port to "read & write":

sudo chmod a+rw /dev/ttyUSB0

If you are using multiple Croduino boards, you can use the same method, depending on port number, e.g.  sudo chmod a+rw /dev/ttyACM1 and so on.

7. You can set Arduino IDE desktop shortcut on the next way:

cd /home/imeUsera/Desktop
ln /opt/arduino-1.6.0/arduino

Ubuntu creates a new file on desktop and links it with Arduino. If we would try to run it by using double click, the editor would open. That's why you should right click on Arduino and left click on "Properties" before trying to run it. Choose "Permissions" tab and check "Allow executing file as program".Screen Shot 2015-03-04 at 18.07.43

Using double click, run an application from the desktop. A small window will pop-up. Choose "Run" and that will start Arduino IDE.

Screen Shot 2015-03-04 at 18.07.54

You can start Arduino IDE even from Terminal. In that case, do not close the Terminal.

What next?

Now, it would be a great idea to install FTDI drivers. Use direct links, depending on which OS you are using:
WinXP
Win7
Win8
Linux
Mac OSX
Once you installed Arduino IDE and FTDI drivers it is time to check out basic parts and functions of Arduino IDE or you need to install the matching library for your project.

Leave a Reply