20100207

Salute the Eagle


Ahh, just finished the 3 Eagle tutorials, and all it took was a trip to Starbucks, about 3-4 hours, and Kid Cudi in the headphones. They are easily worth paying for! So, to pay hommage, I will list them here, in case you havent found them already.



  1. Eagle Basics: Schematics

  2. Eagle Basics: PCB Layout

  3. Eagle Basics: Creating a Part

Take these with a grain of salt. There will be small stuff they don't cover, so feel free to get your hands dirty! Also, if your a fan of command line commands, Eagle has a text box at the top where you can enter text commands for things like changing colors of layers, refreshing windows, etc. (I don't know all the possibilities) and I found these useful from time to time. Now, before I go to church this morning, I will meditate on my next project. Deuces.



**NOTE**


Eagle also comes with a 71 page pdf tutorial also. I will be checking this out for myself in the future.

20100206

New Shipment


My shipment from Sparkfun came last night. Priority shipping was worth the extra $3, only 2 days to ship! It may not look like much, but this holds a great deal of power.

As you can see, this is worth celebrating! First things first though. Before I delve in, I'm going to finally learn this thing called Eagle. Most circuit/schematic programs seem to operate off of the SPICE Engine, but from what I'm told, Eagle is somewhat of a standard, and who doesn't love a good standard? So, It's off to the #2 Google result for 'Eagle Tutorial'. At least it's number 2 today. I'll be in touch.

20100201

Getting The Dev Machine Up And Running

Any 'good' developer needs a machine to develop on. I got this old Compaq Evo that has a gig of RAM and I haven't used since I got a MacBook from work. Thing is, MacBooks do not come w/ serial ports. lol At least this one didn't. Not a total downfall considering it's a great machine, but neways:

Right now I'm working w/ the Atmel ATMega168, and am a newbie to this hardware, but I know C and plenty of object oriented languages, so the learning curve isn't too steep. Before I worked with the BASIC Stamp, and, although a great microcontroller, I wanted something a litte bit lower level, to get my hands dirty with :-)

Since some(maybe all) Atmel processors have support for embedded linux, and that's my longterm goal is an embedded linux box from scratch, I see it best to develop for the AVR on a linux distro. Enough intro, time for work!


The specs of the Evo are below:
  1. Factory Compaq Evo N610c, with the exception of a replaced hard drive that went bad, and 1 gig of RAM instead of 256.
  2. Ubuntu 9.04, patched and fully up to date
  3. Java 6
  4. Eclipse IDE
  5. AVR Plugin for Eclipse
  6. I also installed VNC for remoting into the machine and developing from anywhere
  7. SSH, a must have for any linux distro.

There wasn't much up-to-date info for getting starting with developing for AVR on linux, so call this my giving back.

  • The Ubuntu install was standard, nothing fancy was done on this part.

  • (After an hour) Okay, time for apps!

Time for updates, safety first!


After that, lucky me that java, ssh, and vnc can be installed from the shell. The packages are

sun-java6-jre

ssh

tightvncserver

While writing this, I discovered that there is a version of Eclipse in the repository also. Not sure if it's the latest, but since I already have it installed then it won't matter, try it for yourself! Next, I downloaded Eclipse for Linux as a tarball, and unpacked it into /usr with the rest of the apps, and created a shortcut on my dock for it. Avr-gcc is what's needed next, and this can be downloaded from with apt-get also, package name gcc-avr. You'll also want these two as well, avr-libc, and binutils-avr. I also installed the packages that were recommended by the package manager. Next, the AVR Plugin for Eclipse. Documentation can be found in that link and this one. That also installed w/out a hitch.

If you open Eclipse and start a new project, there should be an option for an 'AVR Cross Target Application', using the 'AVR-GCC Toolchain' toolchain.

Now, time for some developing!