S C O T T E R I C P E T E R S E N

Composer, electronic musician, improviser

EeePC + Ubuntu 10.04 + Arduino (Mini-Tutorial-of-Sorts)

1. I’m not good at tutorial writing. This is not because I do not have the willingness or ability to write tutorials, but because I lack the patience to write tutorials. However, because I seem to have 3x the number of difficulties that everyone else does doing anything, I have started taking copious notes whilst undertaking any dubious technological task and therefore find myself in the position of being able to at least expound in some detail the products of my activities.

2. There are better and more informative tutorials on the web than I could ever hope to write with one caveat: all tutorials approach the same subject in different ways with different levels of detail. All have a slant. The particular slant of the tutorial you find on the web may or may not suit your aims and may or may not solve your problems. Therefore, it is better to have too many than too little tuts, even if they overlap in many details.

3. A warning: all information on this post is from personal experience only, and in no way guarantees success for you, or even that following the steps listed below will not erase your hard drive and explode your Arduino. Having said that, there’s a good chance (37%) that Linux Gnomes* will erase your HD and explode your Arduino at any time anyway, so you might as well proceed!

4. Some links. (Here? Honestly? I mean, it’s like I don’t even want you to keep reading…)

ARDUINO

While I disagree with her choice of beverage (Merlot with Arduino?!?!? Really, this is a scotch project board if ever one was invented!!!) Limor has tonnes** of awesome pages on a really fun web site that will “learn you” something fierce!

LADYADA

So Here Goes

I was recently bored. While I have a perfectly working and configured Arduino workstation/setup on multiple Macs, I figured I would get one up and running on my little EeePC as a means of expending spare time as I hurtle through space.

Download

I downloaded the linux package here and just unzipped the package to my home folder.

Run

Open a shell and navigate to the arduino-0018 folder and run the arduino script (./arduino.)

Setup

You must set your board type and serial port in the Arduino application itself under the Tools menu. If you’ve forgotten what board you have, the model is printed on the board itself, and the IC type is printed on the IC itself (ATMEGA 168, for example.)

I had two little problems:

1.) On the Linux installation page here, one is instructed to install the avr library (avr-gcc avr-g++.) I’m using Ubuntu 10.04 and the looking to install avr-g* failed, so I installed gcc-avr. (The same thing, right?) Nope. You need to install the avr-libc package or you will get the error (error: avr/io.h: No such file or directory) on compile that is mentioned on the arduino page.

2.) The second little problem that gave me a little pause was that I didn’t seem to have the File, Edit, Tools, and other menu items that I know exist and are necessary to configure Arduino to work with your board. The problem was so silly I hate to even mention it, but it was that the color of the font for these items perfectly matches my system theme, so they were effectively invisible (see pic.) Clicking in the ether, however, proved they did exist. :P

Aside from these, getting my arduino up and running was easy-peasy. Yours will be too!***

____________________________________________________________________
* Yes, they are real! linux gnomes!
** a British measurement equivalent to 2.798 metric tons and spelled “tonne”
*** This is not a true statement! Yours may not and probably will not be as easy…

Advertisements

Filed under: Miscellany, Phase 1, , , , ,

4 Responses

  1. I’ve followed this instructions http://www.arduino.cc/playground/Linux/Ubuntu using the PPA repository, more user friendly ;)

  2. scacinto says:

    Well, if it’s user friendliness you’re after… there are also instructions for other distros. Many, but not all are accounted for.

    Thanks for the comment Nuno ;)

  3. Oh Gaahwd, why!?!? Garghlrgarlgd!!!! *fit of rage* Why is this so difficult. Have an Asus eeePC with Ubuntu 10.10 and I can just barely get the bloody software working (the old software, NOT the new one that supports the ard-UNO I just bought) and I have yet to see this mysterious comport!!!! GAAAAHHH!!!!! BLOODY MURDER!!!

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

My Other Awesome Sites [•_•]

Assault! 375 Aural Assaults!
About me! About me!
MySpace! MySpace!
Google+! Google+!
My (soon-to-be) Company! My (soon-to-be) Company!

Enter your email address to subscribe to this awesome blog and receive notifications of new posts by email!

Join 78 other followers

-

P O S T E R S !

Artspace

-

Artspace

-

Artspace

Featured

INI new haven

Handmade instruments by Scott Petersen and Brian Kane at Artspace New Haven

%d bloggers like this: