[Please note: this tutorial is now 4+ years old.]
Program an AVR microcontroller with an Arduino! You can use almost any Arduino/AVR combination for this tutorial (I'm using an ATtiny2313 and Arduino Duemilanove). Follow along with the datasheet of your chip. Tutorial for Windows, Mac, and Linux.
Steps:
0. Introduction 0:06
1. Upload Arduino ISP to Arduino 1:26
2. Connect AVR 1:47
3. Install AVR toolchain 4:03
4. Configure Makefile 4:52
5. Write main.c 6:25
6. Upload code to AVR 8:39
7. Write more code 9:14
Code templates:
Makefile: https://gist.github.com/3304890
main.c: https://gist.github.com/3304608
AVR toolchain install links:
Windows: http://sourceforge.net/projects/winavr/files/WinAVR/
Mac: http://obdev.at/products/crosspack
Linux: http://ladyada.net/learn/avr/setup-unix.html
Fuse calculator: http://engbedded.com/fusecalc/