- Olimex AVR board ($12 from SparkFun)
- attiny13 ($2 from SparkFun)
- Wall adapter (optional) ($6 from SparkFun)
- USBTiny AVR programmer ($22 from Adafruit)
- LED and ~1k resistor
Next, hook up the USB Tiny ISP to the ICSP header on the Olimex board. I found the silk screening on the Olimex board to be a little confusing, when trying to orient the USB Tiny connector. Take a look the first photo. It is not necessary to power the Olimex board at this point. The USB Tiny ISP will supply the power for programming, but the power jumper must be in place.
At this point, the host computer should be able to communicate with the attiny using the following command:
avrdude -p attiny13 -P usb -c usbtiny -n
You should see the device signature:
avrdude: Device signature = 0x1e9007
And assorted status.
Next, compile and a simple blink program (I found this one on the net and modified the makefile for the attiny13). Run the make command and if everything looks successful, "make install". (Both the source and makefile are attached).
Finally, hookup an LED and power. The attiny can be driven from the USB Tiny ISP, but this used all of the pin in the ICSP header, and I haven't added any components to the prototyping area, yet. So, I used a nine-volt wall power supply. And to be really kludgy, I used alligator clips to connect ground and pin 0 to my bread board. Noticed the silk screening on the Olimex board labels the holes for pin 0 (PB0), but this pin is not the neighboring pin in the ICSP header.