Getting started with the Atmel AVR

by tomthewombat. 9 Comments

There are two major microcontrollers in the hobby domain, the popular PIC and Atmel’s AVR line. PICs are tried and true in both commercial and hobby implementations, but the Atmel AVR offers affordable programming solutions, a free development environment, a free assembler and a stable gcc toolkit that work across the entire AVR line.

Various AVR microcontrollers

Affordable Programmers

The AVR is well known for how simple it is to program. To start, you only need a few resistors and a parallel port. This will burn your code onto the microchip, but if you plan on pursuing larger projects you will need a more complex programmer with ISP support. This will enable the extra features and debugging support.

  1. The ultra low-cost AVR programmer uses an LPT port and a few resistors, but requires special software.
  2. A simple serial programmer for Linux uses several resistors and two LEDs. Programming is done with uisp.
  3. More complex schematics for ISP programmers that can be programmed via AVR Studio or AVR-Dude.
  4. A usb programmer that supports ISP.

A simple serial programmer

A free development environment

AVR Studio is available directly from Atmel at no cost. It has an integrated simulator and programming software. However, there is only an assembler available. You will have to purchase more software for high level languages.

The gcc-toolkit

If you want to use C/C++, then the gcc-toolkit is available for the AVR, free. WinAVR comes loaded with a gcc, binutils, the avrdude programmer, simulavr, and more. On Linux, you will need to download the packages for your specific distribution or compile your own cross-compiler.

A great community

AVR Freaks is a site dedicated to the AVR line of microcontrollers. There is a large archive of tutorials and a very helpful forum.

9 Responses to Getting started with the Atmel AVR

  1. Matthew says:

    No harsh feelings. I have been walking around all day saying, “Atmel, Atmel.” People are going to think I’m nuts.

  2. Matthew says:

    That’s what I get for pushing things out the door! Honestly, calling the company Amtel is a serial habit of mine. It started years ago and I have never been able to shake it.

  3. rodbotic says:

    winAVR is a free C compiler for the avr atmels.

    AVRLIB is a great free example C. to do just about everything on the atmel.

  4. Lucas says:

    I forgot to mention: I love superpositioned and really appreciate your work! no reason to throw the towel ;)

  5. asfsdv says:

    This is the best glasses online article I have ever found on the Internet.
    Great article, it’s helpful to me, and I also like the useful info about glasses.
    I like your ideas about optical and I hope in the future there can be more bright articles like this from you.
    I really like this eyeglasses article, and hope there can be more great resources like this.
    This sunglasses article is definitely eye-opening and inspiring.
    I love this prescription eyeglasses article since it is one of those which truly convey useful ideas.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>