I Have an Arduino UNO, Which I need to get working with Ubuntu.
Can somebody explain to me the steps required to install the IDE on Ubuntu?
This is from notes I took when installing an Arduino. It was very helpful when I had to go through the same thing with other computers.
Install Sketch which is used to program Arduinos.
$ sudo apt-get install arduino
Set up the vendor ID.
Again with Arduino plugged in.
Look at the addition line.
$ sudo modprobe usbserial vendor=0x2341 product=0x0043
Let's get the serial port to work
$ cd /dev
Now we know which port it is trying to use.
The following is used to log the serial input from the Arduino. You may not need it.
It is on ttyACM0. When I looked at the directory /dev I found that ttyACM0 would come and go when the Ardunio was plugged in or taken out.
Install kst //This program will take a your ascii file and put it on chart.
Configure GtkTerm to the port which Arduino is connected to. The Arduino needs to be plugged in and the serial reader in Sketch can't be on.
You should be seeing the ascii numbers schrolling on GtkTerm.
Configure the GtkTerm to log the information to a text file.
If you open the text file now you should see the data in the file. I can't remember if GtkTerm needs to be pause to read this.
Use Data wizzard to connect to the data text file with ascii.
Is this not what you're looking for? Is universe not enabled in your software update prefs? From Precise.
$ apt-cache show arduino Package: arduino Priority: optional Section: universe/electronics Installed-Size: 881 Maintainer: Ubuntu Developers Original-Maintainer: Scott Howard Architecture: all Version: 1:1.0+dfsg-5 Depends: default-jre | java6-runtime, libjna-java, librxtx-java (>= 2.2pre2-3), arduino-core (= 1:1.0+dfsg-5) Recommends: extra-xdg-menus, policykit-1 Filename: pool/universe/a/arduino/arduino_1.0+dfsg-5_all.deb Size: 684106 MD5sum: 5dd5fe5e36013a8cab1d47a1f62734cc SHA1: c86f2453bb4b41f9bf1dade070fd0b2da140467c SHA256: 7e9aaf51bf6b69214ba47ff7d077aa668da5b2b38c616e94ffca68b5564e8cc8 Description-en: AVR development board IDE and built-in libraries Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. . This package will install the integrated development environment that allows for program writing, code verfication, compiling, and uploading to the Arduino development board. Libraries and example code will also be installed. Homepage: http://www.arduino.cc Description-md5: 60f8f72e8783c6b5a72254120b680cdb Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu
$ sudo apt-get install arduino Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: arduino-core avr-libc avrdude binutils-avr ca-certificates-java default-jre default-jre-headless extra-xdg-menus gcc-avr icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx icedtea-netx-common java-common libatk-wrapper-java libatk-wrapper-java-jni libftdi1 libgif4 libjna-java librxtx-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra tzdata-java Suggested packages: avrdude-doc binutils task-c-devel gcc-doc gcc-4.2 equivs libjna-java-doc icedtea-plugin libnss-mdns sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho ttf-wqy-microhei ttf-wqy-zenhei ttf-indic-fonts-core ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts Recommended packages: policykit-1 The following NEW packages will be installed: arduino arduino-core avr-libc avrdude binutils-avr ca-certificates-java default-jre default-jre-headless extra-xdg-menus gcc-avr icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx icedtea-netx-common java-common libatk-wrapper-java libatk-wrapper-java-jni libftdi1 libgif4 libjna-java librxtx-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra tzdata-java 0 upgraded, 26 newly installed, 0 to remove and 315 not upgraded. Need to get 56.6 MB of archives. After this operation, 175 MB of additional disk space will be used. Do you want to continue [Y/n]?
To get your Arduino working in ubuntu, just search "Arduino IDE" in the software center. Find it, and click install. You should then be able to get your Arduino working. Hope this helps!
(Adding to the other responses:)
If you have some other programming experience, I strongly suggest you have a look at the Arduino toolchain for Eclipse. In my opinion it provides a fantastic development experience.
First, you need to go to http://arduino.cc/hu/Main/Software. Then, download the Linux version of Arduino 1.0 for Linux. Next, extract the folder arduino-1.0 from the downloaded archive. Now, you just need to double click on the arduino file, choose Run from the dialog box that opens, and you're done! Arduino should now open.
If after extracting it is not working then Goto arduino 1.0 folder from your terminal and write
it should now open.